Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

CGNS / CGNS Public

Fortran - CGNS Parallel Output in Polyhedral Mesh #366

SpirosZafeiris started this conversation in CGNStalk Nov 15, 2022 · 4 comments · 1 reply Something went wrong. Quote reply SpirosZafeiris Nov 15, 2022

I am trying to write a Parallel CGNS output routine for an in-house Fortran90 - MPI solver. I have already implemented a routine for fixed size elements which works.

Now, I would like to extend to polyhedral meshes and it seems that CGNS supports only fixed-size elements (again only in parallel).

Is there a way to circumvent this problem or will there be any CGNS poly-element support in the future?

Beta Was this translation helpful? Give feedback.

1 You must be logged in to vote

All reactions

Replies: 4 comments · 1 reply

Something went wrong. Quote reply Nov 15, 2022

Since release 4.3.0 there are the functions

cgp_poly_section_write cgp_poly_elements_write_data 

that allow writing of polygonal and polyhedral sections in parallel. Reading is, I think, not possible in parallel though.

Beta Was this translation helpful? Give feedback.

1 You must be logged in to vote

All reactions Something went wrong. Quote reply

Thank you for your quick response.

I run the latest version of the library which was git-cloned and compiled. However, I get an undefined reference to cgp_poly_section_write_f function call (the cgp_poly_elements_write_data_f call is recognized by the compiler).

Additionally, in the function call list of the following documentation site https://cgns.github.io/cgns-modern.github.io/standard/MLL/CGNS_PMLL_library.html#element (element connectivity section), this particular routine is only mentioned for C (and not for Fortran).

Thank you again.

Beta Was this translation helpful? Give feedback.