Search found 239 matches

by Luciano Garelli
Tue Oct 15, 2019 6:42 pm
Forum: code_saturne usage
Topic: Export the data calculated by extra operations
Replies: 5
Views: 522

Re: Export the data calculated by extra operations

Hello, You can call the fortran subrutine in a C function doing some BIND(C) to be compatible with C. May be this link could help you. https://gcc.gnu.org/onlinedocs/gfortran/Interoperable-Subroutines-and-Functions.html Maybe you can check in the post.f90 file the subrutine cs_f_post_write_var , whi...
by Luciano Garelli
Tue Oct 15, 2019 6:20 pm
Forum: code_saturne usage
Topic: ALE simulations: local fluid force on specific rigid body positions
Replies: 14
Views: 2357

Re: ALE simulations: local fluid force on specific rigid body positions

Hello, I really don't understand very well the question....but the forces computed are normal and tangencial to specific faces and also you can get the X,Y,Z with respect to the global reference. If the object is moving in the Z and X direction I don't understand why do you get forces in the Y direc...
by Luciano Garelli
Wed Sep 18, 2019 10:30 am
Forum: code_saturne usage
Topic: Internal coupling and steady state
Replies: 5
Views: 595

Re: Internal coupling and steady state

Hello Yvan, Thanks for the help, maybe my case setup is wrong. Additionally, I get the same behavior when I use "anisotropic_turbulent_viscosity" in order to set anisotropic conductivities. I have added a quite similar block of code for the contribution of the boundary faces to the cs_anisotropic_di...
by Luciano Garelli
Tue Sep 17, 2019 3:21 pm
Forum: code_saturne usage
Topic: Internal coupling and steady state
Replies: 5
Views: 595

Re: Internal coupling and steady state

Hello Yvan, Hello Luciano, Is the top left picture using the modified or unmodified version ? The top left picture is the unmodified version from the master branch. On the right, I do not see the orange curve. Is it superimposed with another Yes, the orange is superimposed with the another curves. T...
by Luciano Garelli
Mon Sep 16, 2019 9:38 am
Forum: code_saturne usage
Topic: Internal coupling and steady state
Replies: 5
Views: 595

Internal coupling and steady state

Hello, I have been faced with a problem when try to use internal coupling and the steady state solver in CS6, due to that selected field to be coupled looks like it is not been coupled. If I switch to transient simulation the coupling and the solution is fine. Looking at the cs_convection_diffusion....
by Luciano Garelli
Thu Sep 05, 2019 9:06 am
Forum: code_saturne usage
Topic: Anisotropic thermal conductivity
Replies: 4
Views: 777

Re: Anisotropic thermal conductivity

Hello Yvan, Thank you for the example. I have being running few very simple example and I have a pair of questions. For the case of the temperature field the "anisotropic_turbulent_viscosity" tensor "visten" should be filled with the thermal conductivity or the thermal conductivity/(rho*cp). I'm usi...
by Luciano Garelli
Wed Aug 28, 2019 8:05 am
Forum: code_saturne usage
Topic: Impose mesh displacement
Replies: 15
Views: 2205

Re: Impose mesh displacement

Hello,

Yes, we can report it in the git hub page of Code Saturne.

Regards,
Luciano
by Luciano Garelli
Tue Aug 27, 2019 12:18 pm
Forum: code_saturne usage
Topic: Impose mesh displacement
Replies: 15
Views: 2205

Re: Impose mesh displacement

Hello Djeen, You are right, if you set free inlet / outlet no option for ALE BC appears. When I tested your case I change the free inlet / outlet to one inlet and one outlet in order run a more "classical" problem, I found the problem in the mesh so I set sliding mesh for the inlet and outlet and ev...
by Luciano Garelli
Mon Aug 26, 2019 8:12 pm
Forum: code_saturne usage
Topic: Impose mesh displacement
Replies: 15
Views: 2205

Re: Impose mesh displacement

Hello, I have test your case and I think that the problem was the boundary conditions that you set for the mesh movement. You fixed the displacement at the inlet/outlet and this collapse the mesh. Mesh_dist.png If you set as sliding, the simulation run without problem. I have tested in my laptop wit...
by Luciano Garelli
Tue Aug 20, 2019 8:31 pm
Forum: code_saturne usage
Topic: Impose mesh displacement
Replies: 15
Views: 2205

Re: Impose mesh displacement

<r>Hello Djeen,<br/> <br/> In your xml file (case) you set <I><s>[i]</s>fixed_displacements<e>[/i]</e></I> for two boundaries (upper and lower I guess), and <I><s>[i]</s>fixed_boundary <e>[/i]</e></I> for the rest. So, the boundary nodes con't move. You have to set <I><s>[i]</s>sliding boundary<e>[/...