Error during reading a CGNS Mesh

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
sofenkumarjena
Posts: 35
Joined: Thu May 19, 2022 4:37 pm

Error during reading a CGNS Mesh

Post by sofenkumarjena »

Hi I am reading a CGNS mesh in code saturne. The listing file shows the following
..................................................................................................................................................................................
Reading file: mesh_input
Finished reading: mesh_input

Before insertion of user-defined boundary
Number of cells: 1413441
Number of interior faces: 3757307
Number of boundary faces: 95602
Number of vertices: 1067901

After insertion of user-defined boundary
Number of cells: 1413441
Number of interior faces: 0
Number of boundary faces: 7610216
Number of vertices: 9555581

Number of cells: 1413441

----------------------------------------------------------
Number of cells + halo cells: 1413441


----------------------------------------------------------
Number of interior faces: 0

----------------------------------------------------------
Number of boundary faces: 7610216

----------------------------------------------------------
Histogram of the number of interior faces per cell:

minimum value = 0
maximum value = 0

1 : [ 0 ; 0 ] = 1413441

----------------------------------------------------------

Writing file: mesh_output
Finished writing: mesh_output

Renumbering mesh:

renumbering for cells:
pre-numbering: no renumbering
cells adjacent to ghost cells last: no
numbering: no renumbering

renumbering for interior faces:
cell adjacency pre-ordering: lowest id first
faces adjacent to ghost cells last: no
numbering: multipass

renumbering for boundary faces:
numbering: no shared cell across threads

Numbering for cells:

type: default
number of halo-adjacent elements: 1413441

Numbering for interior faces:

type: default
number of halo-adjacent elements: 0

Numbering for boundary faces:

type: default
number of halo-adjacent elements: 7610216

----------------------------------------------------------

Matrix bandwidth for volume mesh : 0
Matrix profile/lines for volume mesh : 0

Mesh coordinates: minimum and maximum
X : -5.0000000e-01 5.0000000e-01
Y : -5.0000000e-01 5.0000000e-01
Z : 0.0000000e+00 5.0000000e-01
Mesh
Number of cells: 1413441
Number of interior faces: 0
Number of boundary faces: 7610216
Number of vertices: 9555581

....................................................................................................................................................................

And finally this gives error during run, with the following error message.

.......................................................................................................................................................................


First face with boundary condition definition error
(out of 7514614)
has boundary condition type 0, center (-0.441231, 0.440864, 0.369643)




/home/skjena/code_satrune/code_saturne-5.3.4/src/base/cs_boundary_conditions.c:363: Fatal error.


Some boundary condition definitions are incomplete or incorrect.

For details, read the end of the calculation log,
or visualize the error postprocessing output.


Call stack:
1: 0x7fd4f75ad618 <cs_boundary_conditions_error+0x128> (libsaturne-5.3.so)
2: 0x7fd4f7c31d9b <__cs_c_bindings_MOD_boundary_conditions_error+0xe> (libsaturne-5.3.so)
3: 0x7fd4f76c5c16 <typecl_+0x31d> (libsaturne-5.3.so)
4: 0x7fd4f75774fe <condli_+0x7bd> (libsaturne-5.3.so)
5: 0x7fd4f76c38a7 <tridim_+0x378e> (libsaturne-5.3.so)
6: 0x7fd4f755b138 <caltri_+0x20e1> (libsaturne-5.3.so)
7: 0x7fd4f8a2ea70 <cs_run+0x580> (libcs_solver-5.3.so)
8: 0x7fd4f8a2e3df <main+0x13f> (libcs_solver-5.3.so)
9: 0x7fd4f72b5083 <__libc_start_main+0xf3> (libc.so.6)
10: 0x556a9422107e <_start+0x2e> (cs_solver)
End of stack
...................................................................................................................................................................................................................................

Kindly Help me

Sofen
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Error during reading a CGNS Mesh

Post by Yvan Fournier »

Hello,

Did you follow the instructions in the error message ?

Did you first run in preprocessing mode and visualize the output, to make sure groups ate present ?

Please post the logs instead of copying/pasting to avoid missing information (see Forum recommandations).

Regards,

Yvan
Post Reply