Search found 2985 matches

by Yvan Fournier
Thu Jul 09, 2020 11:47 pm
Forum: Code_Saturne usage
Topic: Divergence ?
Replies: 6
Views: 63

Re: Divergence ?

Hello, You are still missing the main logs (listing and setup.log), so I am still missing most of the information. The radiative solvers converge very fast (2 iterations, while in many moderately complex cases 15 or more is more typical), so I assume this may be due to an important optical thickness...
by Yvan Fournier
Thu Jul 09, 2020 1:51 pm
Forum: Code_Saturne usage
Topic: Compilation problem using standard user routine
Replies: 3
Views: 8

Re: Compilation problem using standard user routine

Hello,

The attached cs_user_extra_operations.c file seems to be from version 5.3.3, while the rest is code_saturne 6.0.x.

Could you re-base cs_user_extra_operations.c on version 6.0 ?

Regards,

Yvan
by Yvan Fournier
Thu Jul 09, 2020 12:06 pm
Forum: Code_Saturne usage
Topic: Compilation problem using standard user routine
Replies: 3
Views: 8

Re: Compilation problem using standard user routine

Hello, Could you post your user files ? It seems you may have tried to use a file from an older version of the code (in which the "domain" argument did not exist ? Also, did you compile the code in all cases or do you have an Ubunti code_saturne package installed ? The Ubuntu package may be buggy (h...
by Yvan Fournier
Wed Jul 08, 2020 11:39 am
Forum: Code_Saturne usage
Topic: Post-process uet and uk
Replies: 3
Views: 52

Re: Post-process uet and uk

Hello,

You are still not initializing the uetbor array which you are using in cs_user_postprocess_var.f90.

Regards,

Yvan
by Yvan Fournier
Wed Jul 08, 2020 11:35 am
Forum: Code_Saturne usage
Topic: Divergence ?
Replies: 6
Views: 63

Re: Divergence ?

Hello,

The forum usage recommendations list the info which can be useful.

Regards,

Yvan
by Yvan Fournier
Mon Jul 06, 2020 6:42 pm
Forum: Code_Saturne usage
Topic: Post-process uet and uk
Replies: 3
Views: 52

Re: Post-process uet and uk

Hello,

Did you try running under a debugger ? Or proofreading your files ?

If you declare uet as a pointer but do not initialize it, a crash is to be expected.

Regards,

Yvan
by Yvan Fournier
Mon Jul 06, 2020 6:39 pm
Forum: Code_Saturne usage
Topic: Cell_Gradient_Upwind
Replies: 3
Views: 60

Re: Cell_Gradient_Upwind

Hello, The function is defined in cs_convection_diffusion.h, so you can use it from any other C file, such as cs_user_extra_operations.c. From Fortran, you would need to add the matching iso_c_binding. If you need it only for certain cells you will need to look at the content of the function and ada...
by Yvan Fournier
Mon Jul 06, 2020 10:21 am
Forum: Syrthes related questions
Topic: Radiation convergence
Replies: 5
Views: 685

Re: Radiation convergence

Hello,

Is your problem with sensitivity/divergence, or problem size ?

Regards,

Yvan
by Yvan Fournier
Mon Jul 06, 2020 10:18 am
Forum: Code_Saturne usage
Topic: Divergence ?
Replies: 6
Views: 63

Re: Divergence ?

Hello,

When a simulation diverges, it usually crashes, so if quantities are not evolving anymore, it has probably converged to a wrong solution. With the information provided, I cannot guess more.

Regards,

Yvan
by Yvan Fournier
Mon Jul 06, 2020 10:15 am
Forum: Code_Saturne usage
Topic: Cell_Gradient_Upwind
Replies: 3
Views: 60

Re: Cell_Gradient_Upwind

Hello,

In src/alge/convection_diffusion.c there is an upwind_gradient function. I'll let you check if this is what you need.

Regards,

Yvan