Search found 13 matches

by sophie Lu
Thu Oct 23, 2025 8:45 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 15914

Re: Reading of chemistry profiles file

Hi Yvan,

I also did some tests with chemistry mode=1,2,3. Even I modified the chemical species accordingly, all of them will report error like
"
Call stack:
1: 0x2ae9a57ed7d3 <cs_f_read_chemistry_profile+0x1409> (libsaturne-9.0.so)
2: 0x2ae9a581087a <cs_atmo_fields_init0+0x35a> (libsaturne-9.0 ...
by sophie Lu
Thu Oct 23, 2025 4:42 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 15914

Re: Reading of chemistry profiles file

Here are c code files and spack file.

Thank you!
by sophie Lu
Sat Oct 18, 2025 5:56 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 15914

Re: Reading of chemistry profiles file

Here are c code files and spack file.

Thank you!
by sophie Lu
Thu Oct 16, 2025 6:12 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 15914

Re: Reading of chemistry profiles file

Hi Yvan,
please see the attached cs_user_parameters.c and setup.xml.

Thanks!
Sophie
by sophie Lu
Sun Oct 12, 2025 9:52 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 15914

Reading of chemistry profiles file

Dear all,

I am doing the simulation about gas chemistry for in CS9.0. When I run the model, meteo file can be read normally, but chemistry profiles file data only can be read in the third hours .

However, before when I run this case in CS8.2, all the hourly data of chemistry profile can be read ...
by sophie Lu
Sun Oct 12, 2025 8:47 pm
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 9
Views: 69220

Re: MESH of complex geometry

Hi Yvan and Samuel,

Thanks for your guidance and the pts file has been read fine. Thanks!

Sophie
by sophie Lu
Tue Oct 07, 2025 7:30 pm
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 9
Views: 69220

Re: MESH of complex geometry

Hi Yvan,

I have updated my mesh study and I want to comfirm with you if I am doing this right.

By using these lines in cs_user_parameters.c, a pts file can be read into the MESH:

void
cs_user_model(void)
{
cs_porosity_from_scan_set_file_name("pointcloud_Chelsea_newref.pts");
cs_porosity_from ...
by sophie Lu
Fri Oct 03, 2025 9:50 pm
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 9
Views: 69220

Re: MESH of complex geometry

Hi Yvan,

Thanks for your reply. According to the complex geometry and mesh processes, I heard that Code Saturne 9.0 can generate MESH from csv/pts file, is that possible? I have checked the function list, there is a function named 'cs_user_mesh_cartesian_define function':
'{
/* Create a mesh based ...
by sophie Lu
Wed Sep 03, 2025 5:25 pm
Forum: code_saturne usage
Topic: Symmetric Gauss-Seidel error
Replies: 1
Views: 19460

Symmetric Gauss-Seidel error

Hi all,

I am running an atmospheric simulation, but it stops every time when it reaches around 360 time steps (time step is 1s in my case), due to this problem:

Symmetric Gauss-Seidel [Velocity]: divergence after 1 iterations:
initial residual: -nan; current residual: -nan

Symmetric Gauss ...
by sophie Lu
Mon Aug 11, 2025 6:25 pm
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 9
Views: 69220

Re: MESH of complex geometry

Hi Louis,

Thanks for your reply. I want to generate multiple buildings and do some simulation about air pollution. I am using geometry and my MESH can be generated by using NETGEN 1D-2D-3D, but the model always said mesh quality is not good. I know its better to generate the mesh as hexahedral, but ...