Search found 53 matches

by zeph67
Mon Jul 01, 2024 5:37 pm
Forum: code_saturne usage
Topic: Turbulent Channel Flow with Periodic Boundary Conditions
Replies: 3
Views: 34381

Re: Turbulent Channel Flow with Periodic Boundary Conditions

Hi everyone,

I encountered a similar issue, using version 6.0.8, on this very case of periodic turbulent channel flow, however in RANS mode.

In cs_user_source_terms.f90, I implemented the source (pressure gradient) supposed to balance the viscous stresses. At the same time, I initialized the ...
by zeph67
Fri Apr 23, 2021 5:35 pm
Forum: code_saturne usage
Topic: Advanced question about time moments
Replies: 3
Views: 3360

Re: Advanced question about time moments

Thanks, but cs_time_moment_reset() requires the ID of the time moment that has to be reset. If I call it from a Fortran routine, I don't even know the syntax to call the moment number. Furthermore, I want to start all my moments at the same time.

Is there no way that I pass a Fortran "user-defined ...
by zeph67
Thu Apr 22, 2021 4:58 pm
Forum: code_saturne usage
Topic: Advanced question about time moments
Replies: 3
Views: 3360

Advanced question about time moments

Hi,

I'm using v6.0.6 and I used the examples provided in cs_user_parameters-time_moments.c .

It works fine but I would like to import a user-defined variable to calculate t_start, so I can make t_start a function of some constant parameters of the flow (e.g. a given number of transit times...)

I ...
by zeph67
Wed Apr 14, 2021 9:36 am
Forum: code_saturne usage
Topic: User array post-processing on v6.0.6
Replies: 5
Views: 4849

Re: User array post-processing on v6.0.6

OK thanks Yvan.

Most of the time, I don't use the GUI, because I run my computations on remote machines.

So, if I understand what you said, I should create/initialize C fields as it is done in cs_user_parameters-base.c.

But, in this case, what is the point of creating user arrays in cs_user ...
by zeph67
Tue Apr 13, 2021 7:35 am
Forum: code_saturne usage
Topic: User array post-processing on v6.0.6
Replies: 5
Views: 4849

Re: User array post-processing on v6.0.6

Actually, as a first step, I was expecting some general advice.

But sure, here are my routines :
- cs_user_modules.f90 where I declare my arrays called 'psiomg' and 'rk'.
- cs_user_postprocess.f90 where the postprocess of these arrays is (supposed to be) done.

I guess that I should call the ...
by zeph67
Mon Apr 12, 2021 5:55 pm
Forum: code_saturne usage
Topic: User array post-processing on v6.0.6
Replies: 5
Views: 4849

User array post-processing on v6.0.6

Hi,

I'm using v6.0.6 and I defined user arrays that I'd like to postprocess.

1) I used cs_user_modules.f90 to create and allocate them. I followed the given example for the C linking.
2) I copied the example given in cs_user_postprocess.c .

But it turns out that the postprocessing of my ...
by zeph67
Fri Apr 02, 2021 7:02 am
Forum: code_saturne usage
Topic: ISCHTP when IDDES = 1
Replies: 2
Views: 3123

Re: ISCHTP when IDDES = 1

Thanks a lot, Yvan. I'm looking forward for the detailed answer.

Best regards,
Christophe
by zeph67
Tue Mar 30, 2021 1:34 pm
Forum: code_saturne usage
Topic: ISCHTP when IDDES = 1
Replies: 2
Views: 3123

ISCHTP when IDDES = 1

Hi,

I see that even when IDDES = 1 (with ITURB=60), ISCHTP is forced to 1.

I'm very surprised, because DDES is a hybrid RANS/LES method, and therefore should work with the same time scheme as LES.

How could I fix things properly, so that I can use ISCHTP = 2 with IDDES = 1 ?

Lots of thanks ...
by zeph67
Fri Mar 05, 2021 6:03 pm
Forum: code_saturne usage
Topic: Exporting of 1D Profiles
Replies: 7
Views: 7646

Re: Exporting of 1D Profiles

OK thank you Yvan for your answer.

When is v7 gonna be released ?

Best regards,
Christophe
by zeph67
Thu Mar 04, 2021 11:49 am
Forum: code_saturne usage
Topic: Exporting of 1D Profiles
Replies: 7
Views: 7646

Re: Exporting of 1D Profiles

Hello Yvan,

I'm using version 6.0.6