Search found 4265 matches

by Yvan Fournier
Thu Oct 09, 2025 8:24 am
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 8
Views: 57114

Re: MESH of complex geometry

Hello,

The MESH_00.case and IB_MESH.case should help you visualize whether the immersed boundary is where you expect it. Actually, in the master branch (since revision fa9358ab, last friday), you can also visualize the faces where cells are cut, by calling;
cs_porous_model_enable_post();
in cs ...
by Yvan Fournier
Fri Oct 03, 2025 11:24 pm
Forum: code_saturne usage
Topic: MESH of complex geometry
Replies: 8
Views: 57114

Re: MESH of complex geometry

Hello,

I have not tested the cs_mesh_cartesian_define_from_csv function, but I guess you could try it.

In a test case I am more familiar with, cs_mesh_cartesion_define_simple is used(and this could even be done through the GUI), and in cs_user_parameters,,

cs_glob_porosity_ibm_opt->porosity_mode ...
by Yvan Fournier
Mon Sep 29, 2025 10:45 pm
Forum: code_saturne usage
Topic: Restart file not working (v.7)
Replies: 1
Views: 1844

Re: Restart file not working (v.7)

Hello,

You can run "code_saturne bdump checkpoint/main.csc" to get more info on file and see if it complete (it should end in an "EOF" section).

It has probably been corrupted, but how ? If this occurs at each run, this is an issue. If it occurs once, it is probably not worth bothering to analyze ...
by Yvan Fournier
Sun Sep 28, 2025 10:31 pm
Forum: Discussion
Topic: Controlling maximym number of iterations
Replies: 9
Views: 11397

Re: Controlling maximym number of iterations

Hello,

Regarding layer compression, not that code_saturne's algorithm, as called in user-defined functions, works in 2 steps. The first step returns a structure containing an array of vectors, one for each extruded node, and a series of curvilinear coordinates for positioning of each layer. in ...
by Yvan Fournier
Sun Sep 28, 2025 10:24 pm
Forum: code_saturne usage
Topic: Question on Steady vs Unsteady RANS in Code_Saturne
Replies: 5
Views: 10128

Re: Question on Steady vs Unsteady RANS in Code_Saturne

Hello,

This really depends on the algorithm you use. In code_saturne, most models assume physical properties do not change too rapidly (otherwise, other types of solvers or algorithms are used, such as the cycle used in neptune_cfd's multi-phase solvers). The segregated nature of the solver in code ...
by Yvan Fournier
Thu Sep 25, 2025 3:51 am
Forum: code_saturne usage
Topic: how can we export boundary pressure results
Replies: 13
Views: 18376

Re: how can we export boundary pressure results

Hello, there is no direct way of doing this with the GUI.

In user-defined functions, setting a field's 'post_vis' keyword not to 1 but to
CS_POST_ON_LOCATION | CS_POST_BOUNDARY_NR
(or 3) should active the output off boundary values, bit note that those values are not reconstructed, so not exactly ...
by Yvan Fournier
Thu Sep 25, 2025 3:46 am
Forum: code_saturne usage
Topic: Question about the convergence of LES calculations 2
Replies: 1
Views: 2060

Re: Question about the convergence of LES calculations 2

Hello,

As I mentioned in the previous topic, code_saturne can be very sensitive to the mesh quality in LES computations, and there is no simple way to solve this, except to use a more regular (ideally hexa-blocked) mesh, and avoid abrubt changes in refinement.

Some numerical options, such as the ...
by Yvan Fournier
Thu Sep 18, 2025 11:17 pm
Forum: code_saturne usage
Topic: Question on Steady vs Unsteady RANS in Code_Saturne
Replies: 5
Views: 10128

Re: Question on Steady vs Unsteady RANS in Code_Saturne

Hello,

Inner iterations (nterup) can be used in the velocity/pressure coupling algorithm mostly for FSI computations, but I do not think they ate required for URANS. The same, sweeps for each solver are used to better handle mesh non orthogonalty (where some reconstruction terms are handled ...
by Yvan Fournier
Thu Sep 18, 2025 12:08 pm
Forum: code_saturne usage
Topic: Question on Steady vs Unsteady RANS in Code_Saturne
Replies: 5
Views: 10128

Re: Question on Steady vs Unsteady RANS in Code_Saturne

Hello,

The "steady" option is actually (as mentioned) "pseudo-steady", because it is not based on a steady algorithm, but on an unsteady algorithm with a local time step which allows faster convergence to steady state.

In most cases, the fact that a RANS computation leads to stable or fluctuating ...
by Yvan Fournier
Thu Sep 18, 2025 11:57 am
Forum: Discussion
Topic: Controlling maximym number of iterations
Replies: 9
Views: 11397

Re: Controlling maximym number of iterations

Hello,

We are definitely not planning on building a separate mesher, and plan to continue using external meshers.

The closest we would have to an internal mesher are actually "mesher-avoiding" methods such as the current work on immersed boundaries and porosity from point scans.

There are ...