Search found 4234 matches

by Yvan Fournier
Thu Jun 12, 2025 1:57 am
Forum: code_saturne usage
Topic: y+ value for k-e wall function with high roughness
Replies: 5
Views: 8482

Re: y+ value for k-e wall function with high roughness

Hello,

The guidelines are a good starting point, but need updating, and do not take into account some newer options such as the all-y+ law (in k-omega) or low-Reynolds models.

I do not think they were written with the rough law model in mind, as the roughness adds an amount of user modeling, and ...
by Yvan Fournier
Tue Jun 10, 2025 1:30 am
Forum: code_saturne usage
Topic: SIGSEGV signal issue
Replies: 1
Views: 2415

Re: SIGSEGV signal issue

Hello,

It is not possible to determine whether this is due to an issue in the code or in you user-defined functions, so you need to:
- ideally, run this under under a debugger on your side, to get more details
- otherwise, post you user-defined files.

Also, v7.0.2 is not up to date, so you should ...
by Yvan Fournier
Fri Jun 06, 2025 12:20 pm
Forum: code_saturne usage
Topic: Groundwater Module - Neumann Boundary Condition Issue
Replies: 1
Views: 2618

Re: Groundwater Module - Neumann Boundary Condition Issue

Hello,

Do you also have some user-defined functions ?

Checking with a colleague developing this, your Van Genuchten ks value seems a bit high (in clay, it would be closer to 1e-2 or lower).

Also, the groundwater module used in the v8.0 GUI is obsolete, and replaced by the CDO-based module in v9.0 ...
by Yvan Fournier
Tue Jun 03, 2025 10:46 pm
Forum: Discussion
Topic: K-omega documentation and initialization
Replies: 1
Views: 6456

Re: K-omega documentation and initialization

Hello,

The level of detail in the theory guide is unfortunately far from uniform, and some subtle implementation differences in turbulence models might not be documented (or the matching elements may be spread out over many technical reports, bugtracker issues, ... or change logs, which makes it ...
by Yvan Fournier
Wed May 28, 2025 6:17 pm
Forum: code_saturne usage
Topic: defining boundary condition on user selected interior faces
Replies: 3
Views: 4107

Re: defining boundary condition on user selected interior faces

Hello,

If faces are joined for periodicity, they become interior faces, so should be selectable as interior (not boundary) faces.
Combining periodicity and boundary face insertion would be another matter, as periodic faces are interior faces but one of their adjacent cell is a ghost cell, without ...
by Yvan Fournier
Wed May 28, 2025 2:37 am
Forum: code_saturne usage
Topic: defining boundary condition on user selected interior faces
Replies: 3
Views: 4107

Re: defining boundary condition on user selected interior faces

Hello,

It is strange that the number of interior faces seems to decrease but the number of boundary faces remains constant.

I recommend testing this with a current version of the code (v8.0 or example, or v9.0 beta). Also, you can create an additional postprocessing mesh based on you selection ...
by Yvan Fournier
Mon May 26, 2025 7:05 pm
Forum: code_saturne usage
Topic: How to Manage Separate Monitoring Outputs with Multiple Probe Files
Replies: 3
Views: 4150

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

Hello,

To use different directories, you need to create one writer per directory, using cs_post_define_writer (where you can define a separate directory for each writer) , then use "cs_probe_set_associate_writers" to assign a different writer for each probe set.

In any case, if you really have a ...
by Yvan Fournier
Mon May 26, 2025 5:58 pm
Forum: code_saturne usage
Topic: How to Manage Separate Monitoring Outputs with Multiple Probe Files
Replies: 3
Views: 4150

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

Hello,

You cannot define the same function in multiple files, but you can define multiple probe sets in a single cs_user_postprocess_probes function.

If you have many similar probe sets, I recommend declaring them in a loop rather than copy/pasting the same instructions.

Best regards,

Yvan
by Yvan Fournier
Sat May 24, 2025 7:58 pm
Forum: code_saturne usage
Topic: Mass fraction conversion with combustion module
Replies: 3
Views: 9974

Re: Mass fraction conversion with combustion module

Hello,

This conversion function (and similar ones) are called in loops over all cells, so do not work over a full field, but only local values. You simply need to use it in a loop.

Best regards,

Yvan
by Yvan Fournier
Fri May 23, 2025 1:47 pm
Forum: code_saturne usage
Topic: Current implementation of synthetic eddy method
Replies: 2
Views: 5661

Re: Current implementation of synthetic eddy method

Hello,

I just relayed this question to Sofiane Benhamadouche a few minutes ago, and is seems that the code may have evolved a bit, and it would actually be helpful for everybody if someone took to time to dive into the code in our SEM implementation to check / update the equations relative to ...