Search found 35 matches

by ximeng
Mon Aug 11, 2025 9:00 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 32
Views: 199074

Re: streamwise periodicity

Hi Yvan,

Thanks for your reply. Do you have any example using cs_divergence?

I implemented it based on the general documentation from the source file, but the simulation freezes at the first step and stops with the following error:

SIGSEGV signal (forbidden memory area access) intercepted!
Call ...
by ximeng
Thu Jul 31, 2025 1:25 am
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 32
Views: 199074

Re: streamwise periodicity

Hi Yvan,

Thank you for your suggestions. Applying a relaxation factor to progressively add the source term seems to help, but I still observe a slow temperature increase throughout the domain.

Since the previous implementation used a non-conservative form—which can introduce numerical bias—I’d ...
by ximeng
Mon Jun 16, 2025 8:08 pm
Forum: code_saturne usage
Topic: Restart save frequency
Replies: 7
Views: 25877

Re: Restart save frequency

Hi Yvan,

I was wondering whether it is now feasible in code_saturne version 8.0 to restart from a specific restart checkpoint — for example, from the second one (2/4) — rather than defaulting to the latest available checkpoint. Thanks.

Best regards,
Ximeng
by ximeng
Mon May 26, 2025 6:05 pm
Forum: code_saturne usage
Topic: How to Manage Separate Monitoring Outputs with Multiple Probe Files
Replies: 3
Views: 6753

Re: How to Manage Separate Monitoring Outputs with Multiple Probe Files

Hi Yvan,

Thanks.

I can use a single cs_user_postprocess_probes function, but the issue is that I want the outputs to be separate files. Since the number of probes is very large, combining all the data into one file results in a huge output, making postprocessing difficult and inefficient.

Best ...
by ximeng
Mon May 26, 2025 1:55 pm
Forum: code_saturne usage
Topic: How to Manage Separate Monitoring Outputs with Multiple Probe Files
Replies: 3
Views: 6753

How to Manage Separate Monitoring Outputs with Multiple Probe Files

Hi Team,

I'm currently using the cs_user_postprocess_monitors.c file to set up probes and collect their data, as I have a large number of monitors (please see the attached screenshot for reference).

I was wondering if it's possible to use multiple cs_user_postprocess_monitors.c files to generate ...
by ximeng
Thu Mar 20, 2025 1:30 pm
Forum: code_saturne usage
Topic: streamwise periodicity
Replies: 32
Views: 199074

Re: streamwise periodicity

Hi Yvan,

Thanks for your suggestions. The code worked at the time, but for my new case, I’d like to take a more theoretical approach. Specifically, I aim to derive an analytical solution for the source term, based on Page 213 of
Franck Mastrippolito's thesis. (https://theses.fr/2018LYSEC043?domaine ...
by ximeng
Mon Nov 04, 2024 6:21 pm
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 21569

Re: output velocity data at each time step from the cell centers

Hi Yvan,

Thank you for your reply. I’m only using g_ii to display the total cell count across the entire domain, and it’s not used in any subsequent code or output, so I don’t think it’s related to the error. I removed this section and kept only a single output file, the same error still occurs. is ...
by ximeng
Fri Nov 01, 2024 5:26 pm
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 21569

Re: output velocity data at each time step from the cell centers

Hi Yvan,

Thanks for your suggestion! I’ve revised the code in parallel way to output cell volume for a specific zone at each time step (the attached code focuses on cell volume; a similar approach would apply to velocity). I’m using cs_parall_allgather_r to gather cell volume data across all ranks ...
by ximeng
Tue Oct 29, 2024 3:15 am
Forum: code_saturne usage
Topic: output velocity data at each time step from the cell centers
Replies: 5
Views: 21569

output velocity data at each time step from the cell centers

Hi team,

I need to output velocity data at each time step from the cell centers in my simulation (saved to separate files instead of output through postprocessing folder to avoid large postprocessing results). I've used the attached cs_user_extra_operation.c file to handle this, but the outputs ...
by ximeng
Thu Oct 10, 2024 12:39 pm
Forum: code_saturne usage
Topic: Automatic change in monitoring point
Replies: 3
Views: 19741

Re: Automatic change in monitoring point

Hi Yvan,

I’ve encountered an issue related to this topic. The mesh cells in the area are 30x50, and I’ve placed 100x100 monitoring points with "activate interpolation" and "one probe per cell" enabled. However, the instantaneous results from the monitoring points appear discontinuous, as shown in ...