Search found 66 matches

by finzeo
Fri May 31, 2024 10:05 pm
Forum: code_saturne usage
Topic: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations
Replies: 2
Views: 169

Re: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations

Hello Yvan, Yes, the time step I am using is extremely low. Here I attach part of the listing. The issue is that if I perform a temporal convergence study focusing on the drag, Cp, and Cf values, I notice sensitivity if I go above dt=5e-6 seconds; below this time step, the results remain quite stabl...
by finzeo
Fri May 31, 2024 5:29 am
Forum: code_saturne usage
Topic: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations
Replies: 2
Views: 169

Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations

Hello everyone, As I mentioned in some other posts, I am simulating the flow around ground vehicle models in a wind tunnel using version 8.0. After many runs and analyses, I managed to match the numerical results with the experimental data ( https://ntrs.nasa.gov/citations/20010038028 ); however, up...
by finzeo
Sat May 25, 2024 5:05 pm
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 6
Views: 461

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

Thanks, Yvan.

Similarly, if I manage to make any progress, I'll post it here.
by finzeo
Thu May 23, 2024 5:30 am
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 6
Views: 461

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

Update: I managed to prevent the program from aborting when setting time_order=2 by editing the varpos.f90 file. By activating time_order=2, everything implemented for second-order time discretization executes accordingly. Analyzing cs_turbulence_kw.c, I noticed there's no code to run in second ord...
by finzeo
Fri May 17, 2024 4:46 pm
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 6
Views: 461

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: 372

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: 6
Views: 461

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: 372

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: 372

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: 372

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...