Search found 4297 matches

by Yvan Fournier
Mon Apr 27, 2026 2:50 pm
Forum: code_saturne usage
Topic: Poisson equation solution using Code_Saturne solver
Replies: 2
Views: 4091

Re: Poisson equation solution using Code_Saturne solver

Hello,

Boundary conditions in code_saturne may use coupled components for multi-dimensional fields, which is not the case for neptune_cfd. For scalars, coefficients should be similar.

I am out of office today (without my work computer) so cannot check the neptune_cfd code right away (and the rest ...
by Yvan Fournier
Mon Apr 27, 2026 2:33 pm
Forum: code_saturne usage
Topic: How to properly use LTS
Replies: 8
Views: 8538

Re: How to properly use LTS

Hello,

Thanks for the feedback for the linear solver tolerance. This is a tricky subject, because the tolerance used is strongly related to the right-hand side normalization choice, and this has changed several tiles across code_saturne versions to try to have the "best" possible logic (i.e. be ...
by Yvan Fournier
Thu Apr 16, 2026 5:53 pm
Forum: code_saturne usage
Topic: How to properly use LTS
Replies: 8
Views: 8538

Re: How to properly use LTS

Hello,

1) I am not sure how this is computed. I will check, but will probably not be able to look at this in detail before 10 days or so.

2) Without this parameter, I assume the risk is to have very strong variations in some matrix coefficients, but I am not sure we ever tested the feature without ...
by Yvan Fournier
Wed Apr 15, 2026 1:38 pm
Forum: code_saturne usage
Topic: How to properly use LTS
Replies: 8
Views: 8538

Re: How to properly use LTS

Hello,

I would be surprised if we did not use a consistent momentum interpolation, though I am not an expert in that part of the code.

For 1), yes, the Fourier number may be involved in the time step computation for the fluid region. This may cause issues in some cases where turbulent models lead ...
by Yvan Fournier
Tue Apr 07, 2026 11:55 pm
Forum: code_saturne usage
Topic: Water wheels
Replies: 4
Views: 8202

Re: Water wheels

Hello,

This topic should be in "general usage", as it contains questions relative to code usage, and not discussions on development, roadmap, .... exxcept for the question about neptune_cfd.

AS for the question, neptune_cfd is provided to some industrial or academic partners, and this is subject ...
by Yvan Fournier
Tue Apr 07, 2026 11:31 pm
Forum: code_saturne usage
Topic: time step setting routine (former varpos.f90) in v9?
Replies: 1
Views: 5620

Re: time step setting routine (former varpos.f90) in v9?

Hello,

In v9.0, ischtp corresponds to 'cs_glob_time_step->time_order' in C (and is still called ischtp in Fortran).

It is set in cs_setup.cpp, near line 1090.

Best regards,

Yvan
by Yvan Fournier
Tue Apr 07, 2026 9:42 pm
Forum: code_saturne usage
Topic: How to properly use LTS
Replies: 8
Views: 8538

Re: How to properly use LTS

Hello,

1) I did not check the exact formulas used (the code is in cs_time_step_compute.cpp, but also has additional layers in cs_matrix_time_step calls), but by default, there is indeed both a Courant and Fourier limitation. In the solid zone, the CFL should be zero, so only the Fourier part is ...
by Yvan Fournier
Sat Mar 21, 2026 12:14 pm
Forum: Syrthes related questions
Topic: process oiur faire remonter un bug dans Syrthes?
Replies: 3
Views: 10035

Re: process oiur faire remonter un bug dans Syrthes?

Hello,

Ok thanks, this will be in the next update of Syrthes (probably in a few weeks).

Best regards,

Yvan
by Yvan Fournier
Mon Mar 16, 2026 4:01 pm
Forum: Syrthes related questions
Topic: process oiur faire remonter un bug dans Syrthes?
Replies: 3
Views: 10035

Re: process oiur faire remonter un bug dans Syrthes?

Hello,

There is currently no external GitHub of Gitlab mirror for Syrthes, and the support address may not be checked as regularly as that for code_saturne (development resources on Syrthes are currently quite limited, but some members of the code_saturne dev team have write access to the internal ...
by Yvan Fournier
Tue Mar 03, 2026 7:17 pm
Forum: code_saturne usage
Topic: Recommandation for polyhedral cells
Replies: 2
Views: 8855

Re: Recommandation for polyhedral cells

Hello,

For polyhedral meshes, our feedback is still limited, but your options seem reasonable.

Independently of the mesh type, small time steps usually lead to faster linear solver convergence, so for such cases, gradients and balances (whose cost is independent of the time step) can become ...