Search found 52 matches

by zeph67
Fri Apr 23, 2021 5:35 pm
Forum: code_saturne usage
Topic: Advanced question about time moments
Replies: 3
Views: 1454

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-defi...
by zeph67
Thu Apr 22, 2021 4:58 pm
Forum: code_saturne usage
Topic: Advanced question about time moments
Replies: 3
Views: 1454

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 def...
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: 2117

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_modules....
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: 2117

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 function...
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: 2117

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 arrays has n...
by zeph67
Fri Apr 02, 2021 7:02 am
Forum: code_saturne usage
Topic: ISCHTP when IDDES = 1
Replies: 2
Views: 1289

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

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 in advanc...
by zeph67
Fri Mar 05, 2021 6:03 pm
Forum: code_saturne usage
Topic: Exporting of 1D Profiles
Replies: 7
Views: 4251

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

Re: Exporting of 1D Profiles

Hello Yvan,

I'm using version 6.0.6
by zeph67
Wed Mar 03, 2021 5:40 pm
Forum: code_saturne usage
Topic: Exporting of 1D Profiles
Replies: 7
Views: 4251

Re: Exporting of 1D Profiles

Hi, I'm encountering a similar problem. I'm trying to export profiles along a given vertical line (constant x and z, while y is varying). In the GUI, I set formulae as in the given example, using the s parameter to make y vary. But : - I do not obtain the number of points that I asked for ; instead ...