Search found 280 matches

by Luciano Garelli
Wed Jul 13, 2022 2:41 am
Forum: code_saturne usage
Topic: Cell gradient reconstruction
Replies: 5
Views: 5601

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

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

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

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

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

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

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

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...
by Luciano Garelli
Wed Nov 10, 2021 8:13 pm
Forum: code_saturne usage
Topic: How should i do to set the boundary conditions by python scripts
Replies: 7
Views: 4120

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

Hello, I had used the specified coordinates, but I am so confuse about this set. maybe when I set the coordinates x=1, y=-1, z=1, it means that the coordinate is like the picture ? and the coordinate x=3, y=-3, z=3 is equal to the x=1, y=-1, z=1 ? or 3 is the unit length? You have to set the norm of...
by Luciano Garelli
Tue Nov 09, 2021 1:40 pm
Forum: code_saturne usage
Topic: How should i do to set the boundary conditions by python scripts
Replies: 7
Views: 4120

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

Hello, Recently I want to use python scripts to set the boundary conditions. but when I simulate the simple case, I saw the result is not my want. The code that you post uses Fortran, not python. I didn't find the v and w direction set in GUI To set the x,y,z directions for the velocity in the GUI y...