Search found 15 matches

by sophie Lu
Fri Dec 26, 2025 9:35 pm
Forum: code_saturne usage
Topic: Running the model on HPC
Replies: 3
Views: 1504

Re: Running the model on HPC

Hi Yvan,

Thank you for replying.

I have updated my model to 9.0

I have a question regarding the boundary condition treatment in the new version.

In the older version, after the model read the variables from the chemistry file, it was possible to handle them using iprofc(izone) = 1. However, I ...
by sophie Lu
Thu Dec 18, 2025 11:42 pm
Forum: code_saturne usage
Topic: Running the model on HPC
Replies: 3
Views: 1504

Running the model on HPC

Hi all,

I am running Code_Saturne 8.2 coupled with SSH-Aerosol on an HPC system, and I consistently encounter a runtime error at the last time step of the simulation.

The case runs normally for most of the simulation, but it fails during the final time step. The job terminates with an error (see ...
by sophie Lu
Thu Oct 23, 2025 8:45 pm
Forum: code_saturne usage
Topic: Reading of chemistry profiles file
Replies: 8
Views: 30431

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: 30431

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: 30431

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: 30431

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: 30431

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: 82419

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: 82419

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: 82419

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 ...