Search found 282 matches

by Luciano Garelli
Wed Jul 13, 2022 2:44 pm
Forum: code_saturne usage
Topic: Cell gradient reconstruction
Replies: 5
Views: 6681

Re: Cell gradient reconstruction

Hello Yvan, Attached it is a very simple case (1D) with the comparison of the cell gradient reconstruction for the temperature. The J fields are the thermal fluxes and the Grad fields are the gradients. Additionally, in this case, with different thermal conductivities in the domain, the thermal flux...
by Luciano Garelli
Wed Jul 13, 2022 2:41 am
Forum: code_saturne usage
Topic: Cell gradient reconstruction
Replies: 5
Views: 6681

Re: Cell gradient reconstruction

Hello Yvan,

I have implemented inside the extra_operation.c function, but I will prepare a small test case with the gradient reconstruction using this equation and I will share for your analysis.

Regards,
Luciano
by Luciano Garelli
Mon Jul 11, 2022 10:02 pm
Forum: code_saturne usage
Topic: Cell gradient reconstruction
Replies: 5
Views: 6681

Re: Cell gradient reconstruction

Hello Yvan, thanks for your answer. Yes, both lead to the same issue. In discussions with colleagues at the institute, two options emerged...one was to obtain the potential face value using the fluxes and then compute the gradients based on this face value and the local conductivity. This option wor...
by Luciano Garelli
Sat Jul 09, 2022 2:23 am
Forum: code_saturne usage
Topic: Cell gradient reconstruction
Replies: 5
Views: 6681

Cell gradient reconstruction

Hello, I am facing a problem when computing the gradient of a scalar field with a variable physical property (conductivity) in the domain. Using the cs_field_gradient_scalar() I can compute the correct gradient in the domain, but in the cells in the interface between different properties, where a di...
by Luciano Garelli
Thu Dec 09, 2021 1:22 pm
Forum: code_saturne usage
Topic: restart problems with v7
Replies: 10
Views: 8212

Re: restart problems with v7

Hello, I have faced the same issue as you in one of our clusters with CS 6. I think that the problem is during the writing of the restart files. The solution that I found was to change the input/output method, from default to serial I/O. Captura de pantalla de 2021-12-09 09-16-31.png Regards, Luciano
by Luciano Garelli
Tue Nov 30, 2021 12:34 pm
Forum: code_saturne usage
Topic: ALE method and Internal Coupling Problem
Replies: 14
Views: 6247

Re: ALE method and Internal Coupling Problem

Hello,

In order to solve a FSI simulation, you have to couple Code Saturne(fluid-mesh movement) and Code Aster(Solid). This coupling (by the moment) is not straightforward.

Regards,
Luciano
by Luciano Garelli
Mon Nov 29, 2021 6:34 pm
Forum: code_saturne usage
Topic: ALE method and Internal Coupling Problem
Replies: 14
Views: 6247

Re: ALE method and Internal Coupling Problem

Hello, Do you need to solve a fluid-structure interaction problem? or Will you impose de mesh deformation? The Internal Coupling option does not solve the elasticity equations. Also, you can post the log file in order to help you with the error. Please check the Code_Saturne usage forum guidelines p...
by Luciano Garelli
Fri Nov 12, 2021 1:29 pm
Forum: code_saturne usage
Topic: why the code set result is different from gui?
Replies: 1
Views: 1495

Re: why the code set result is different from gui?

Please don't repeat the same question in mutiple post.

viewtopic.php?p=15975#p15975
by Luciano Garelli
Fri Nov 12, 2021 1:22 pm
Forum: code_saturne usage
Topic: How should i do to set the boundary conditions by python scripts
Replies: 7
Views: 4350

Re: How should i do to set the boundary conditions by python scripts

Hello, The difference between solutions is because you are running two different cases. Please check the definition of the norm of a vector( ||\mathbf v||=\sqrt{x^2+y^2+z^2} ). When you use the GUI the norm is set to 3 m/s (vx=vy=vz=0.707m/s) and when you use the user define function you are setting...