Search found 62 matches

by finzeo
Fri May 17, 2024 4:46 pm
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 3
Views: 76

Re: Second-Order Temporal Discretization Except for Turbulence Model Equations

Yvan,

Yes, with the code I showed, the simulation runs despite the warnings.
This is interesting because using second-order in time allows for larger time steps (under a certain accuracy criterion), thereby reducing the need for extensive cluster resources over time.
by finzeo
Fri May 17, 2024 4:42 pm
Forum: code_saturne usage
Topic: Cannot use TVD schemes
Replies: 9
Views: 95

Re: Cannot use TVD schemes

Thank you, Yvan. I am open to contributing in any way I can, considering this is something that applies not only to my particular case.
by finzeo
Fri May 17, 2024 3:00 am
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 3
Views: 76

Second-Order Temporal Discretization Except for Turbulence Model Equations

Hi everyone, I would like to use, where possible, a second-order temporal discretization for all relevant equations in an incompressible case with the DDES k-omega SST turbulence model. I understand that, in the case of this model, there is a restriction against using second-order time discretizatio...
by finzeo
Fri May 17, 2024 2:42 am
Forum: code_saturne usage
Topic: Cannot use TVD schemes
Replies: 9
Views: 95

Re: Cannot use TVD schemes

Hello, I am not sure about this. I checked the code today, and I seeat least some schemes require defining a min/max value which is easy to define for scalarsbet less so for vectors (I.e. do we limit the norm or the components, or a combination thereof ?). And as far as I know, the other options al...
by finzeo
Tue May 14, 2024 12:55 am
Forum: code_saturne usage
Topic: Cannot use TVD schemes
Replies: 9
Views: 95

Re: Cannot use TVD schemes

Thank you, Yvan. I'd like to ask: if I use ischcv=1 and isstpc=3, would I be emulating the TVD Bounded CD scheme? (Using CD whenever boundedness is ensured, and otherwise resorting to upwind 1st order). In essence, my goal, rather than being able to use ischcv=4, is to use a high-order scheme that e...
by finzeo
Mon May 13, 2024 1:42 am
Forum: code_saturne usage
Topic: Cannot use TVD schemes
Replies: 9
Views: 95

Re: Cannot use TVD schemes

Hello Yvan, thank you for the response. I tried setting isstpc to 0, 1, and 2 (i.e., all possible values) for velocity, but in all cases, I get the same error message: "invalid value of ischcv". I'm interested in using it for velocity, but now I see that if I try the same for the omega var...
by finzeo
Sat May 11, 2024 10:10 pm
Forum: code_saturne usage
Topic: Cannot use TVD schemes
Replies: 9
Views: 95

Cannot use TVD schemes

Hello everyone. I'm trying to use TVD (Total Variation Diminishing) schemes as advective schemes by setting them in cs_user_parameters.c. However, I always encounter this error message as soon as the run starts. ../../../code_saturne/src/alge/cs_convection_diffusion.c:4786: Fatal error. invalid valu...
by finzeo
Mon Apr 08, 2024 4:28 pm
Forum: code_saturne usage
Topic: Possible problem in Treatment of Source Terms in Turbulence Models Implementation
Replies: 2
Views: 467

Re: Possible problem in Treatment of Source Terms in Turbulence Models Implementation

Thanks Martin,

Now I can clearly see then that by adding the implicit term, a term with is introduced which cancels out the explicit term.
Thanks for the explanation.
by finzeo
Sun Apr 07, 2024 12:01 am
Forum: code_saturne usage
Topic: Possible problem in Treatment of Source Terms in Turbulence Models Implementation
Replies: 2
Views: 467

Possible problem in Treatment of Source Terms in Turbulence Models Implementation

Hi all, I'm thoroughly analyzing the implementation of hybrid turbulence models, specifically regarding RANS and the k-omega SST model. I'm working with version 8.1. While examining the code in cs_turbulence_kw.c , I've come across something that doesn't quite add up regarding the explicit/implicit ...
by finzeo
Mon Mar 25, 2024 4:29 pm
Forum: code_saturne usage
Topic: Skin friction coefficient calculation
Replies: 5
Views: 5320

Re: Skin friction coefficient calculation

Hi Yvan, I've been conducting tests with the 2D turbulent flat plate case, which, as mentioned, provides satisfactory results compared to experimental data using the same setup as for the vehicle (same reference magnitudes, same DDES turbulence model, etc.). I notice that the hybrid_blending_functio...