cs_mesh_cartesian_define_from_csv

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Julien.Commanay
Posts: 15
Joined: Mon Nov 27, 2023 6:48 pm

cs_mesh_cartesian_define_from_csv

Post by Julien.Commanay »

Dear all,

I'm trying to create a mesh thanks to a csv file through the cs_user_mesh_cartesian_define routine.

What option should I use in the GUI in order to use this capability? My user routine is located in the SCR folder and compilation seems fine but no mesh is created and therefore the run fails.

Kind regards

JCo
Yvan Fournier
Posts: 4080
Joined: Mon Feb 20, 2012 3:25 pm

Re: cs_mesh_cartesian_define_from_csv

Post by Yvan Fournier »

Hello,

We may be missing a way to tell the GUI that a Cartesion mesh is defined by user-defined functions and not the GUI (previously, the SRC would overwrite the GUI, but now they can be added).

I think you can work around this by defining an "empty" Cartesion mesh in the GUI, defining 0 cells in at least one direction...

Best regards,

Yvan
Julien.Commanay
Posts: 15
Joined: Mon Nov 27, 2023 6:48 pm

Re: cs_mesh_cartesian_define_from_csv

Post by Julien.Commanay »

Thanks for the feedback and the suggestion.

I'm not sure anyway I'll proceed this way, it is likely that I'll try instead to generate an UNV file equivalent to what I have in the csv file.

Kind regards

Julien
Post Reply