Search found 230 matches

by Luciano Garelli
Mon May 20, 2019 12:35 pm
Forum: Code_Saturne usage
Topic: Newmark-HHT algorithm in Code_Saturne
Replies: 9
Views: 651

Re: Newmark-HHT algorithm in Code_Saturne

Hello,

I don't understand very well your question, but did you check the file newmrk.f90. In this subroutine are computed the accelerations, velocities and displacements of the structure.

Regards,

Luciano
by Luciano Garelli
Thu May 16, 2019 12:47 pm
Forum: Code_Saturne usage
Topic: Boundary condition definition error
Replies: 2
Views: 364

Re: Boundary condition definition error

Hello Roberto, This error appears when some boundary face doesn't have a boundary condition imposed. You can try to select all the boundary faces that weren't selected. To do this, add a new boundary condition in the "definition of boundary region" and in the selection criteria will be appear a sele...
by Luciano Garelli
Tue May 14, 2019 2:09 pm
Forum: Code_Saturne usage
Topic: subroutine problem
Replies: 4
Views: 488

Re: subroutine problem

Hello, Did you check the documentation for coding of non-standard boundary conditions in the user guide? In your setup you start from the position #16 of the face list. Why ? do ilelt = 16, nlelt and when you set the temperature at the face you set the #16 also... rcodcl(ifac,isca(iscalt), 16 ) = 20...
by Luciano Garelli
Thu Apr 25, 2019 1:41 pm
Forum: Code_Saturne usage
Topic: Meshing warning
Replies: 4
Views: 445

Re: Meshing warning

Hello, I attach an example of the flow past an sphere. I use the geometry that you shared and I have created a new mesh. This case with a coarse mesh (aprox 115.000 cellls) took arround 13 min in a laptop to solve 500 time steps with Courant max around 7. I added the listing file in the zip. I hope ...
by Luciano Garelli
Mon Apr 22, 2019 1:34 pm
Forum: Code_Saturne usage
Topic: Meshing warning
Replies: 4
Views: 445

Re: Meshing warning

Hello, I use you mesh and the case run without diverging. The mesh is very coarse and the check quality criteria report some issues. I think that you have to reduce the time step in order to get a Courant ~ 5 or lower. You can read some guidelines at https://www.code-saturne.org/cms/documentation/BP...
by Luciano Garelli
Wed Apr 17, 2019 1:55 pm
Forum: Code_Saturne usage
Topic: Wind tunnel modelling, BCs and convergence issues
Replies: 9
Views: 796

Re: Wind tunnel modelling, BCs and convergence issues

Hello,

Looking at you mesh, I think that you should try with a finner mesh, because in the outer annulus you only have 2 cell in the radial direction. Also, you can to try to created a mesh of hexa, this will help to reduce the residual and the convergence.

Regards,

Luciano
by Luciano Garelli
Mon Apr 01, 2019 8:51 pm
Forum: Code_Saturne usage
Topic: Comparing smooth and rough walls
Replies: 5
Views: 456

Re: Comparing smooth and rough walls

Hello,

In paraview you can apply the "Temporal Statistics" filter. it will compute the average, the max and min values or use the time averages in Code_Saturne as Yvan mention.

Best Regards,

Luciano
by Luciano Garelli
Mon Apr 01, 2019 3:30 pm
Forum: Code_Saturne usage
Topic: Comparing smooth and rough walls
Replies: 5
Views: 456

Re: Comparing smooth and rough walls

Hello,

I think that you can use an octave or python script to calculate an average value after convergence is reached.

Best Regards,

Luciano
by Luciano Garelli
Fri Dec 21, 2018 7:09 pm
Forum: Code_Saturne usage
Topic: Boundary Condition
Replies: 4
Views: 504

Re: Boundary Condition

Hello, I think that the thermal conductivity in composite materials will be anisotropic, so I think that you will need to couple saturne with syrthes or use CS internal coupling in order to model the thermal conductivity correctly, but if you have an isotropic thermal conductivity and do you want to...
by Luciano Garelli
Tue Dec 18, 2018 3:40 pm
Forum: Code_Saturne usage
Topic: Boundary Condition
Replies: 4
Views: 504

Re: Boundary Condition

Hello, When solving a thermal problem and you select as boundary condition "exchange coefficiente" you have to impose an external or reference temperature and the heat exchange coefficient (SI units W/(m2*K)), in order to get a flux based on the internal temperature h = q/Delta T. The thermal conduc...