Search found 284 matches

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

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

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

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

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 ther...
by Luciano Garelli
Tue Dec 04, 2018 3:35 pm
Forum: code_saturne usage
Topic: free surface not moving
Replies: 21
Views: 15526

Re: free surface not moving

Hello, In the "cs_user_boundary_conditions_ale001.f90" file you define "itypfb(ifac,ilelt) = ientre" and you fill all the icodcl and rcodcl arrays. As it is mentioned in the user documentation In the case of standard boundary conditions (see §6.4.1), it is sufficient to complete ...
by Luciano Garelli
Tue Dec 04, 2018 1:22 pm
Forum: code_saturne usage
Topic: free surface in paraview
Replies: 3
Views: 2390

Re: free surface in paraview

Hello, Check if in your XML file in the DATA directory there is a block of code like this for the BC_4 <wall field_id="none" label="BC_4"> <ale choice="fixed_boundary"/> </wall> If there exist, remove it, and the run the simulation without saving in the GUI. Other optio...
by Luciano Garelli
Mon Dec 03, 2018 2:22 pm
Forum: code_saturne usage
Topic: free surface not moving
Replies: 21
Views: 15526

Re: free surface not moving

Hello, I'm not sure, but I think that only the use of this BC will not be enough to model waves. You will need a two fluid modelling in order to set as inlet the wave height and lenght. Also, you will need an absorbing BC in order to avoid the reflection of the waves. I couldn find the user subrouti...
by Luciano Garelli
Fri Nov 30, 2018 6:33 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3177

Re: Code Saturne 4.0.6 access boundary face temperature

Hello, If I'm not wrong , in this example an energy (Joule) balance is made, surface(m2)*time(s)*heat_flux(W/m2)=Energy(joule). The surfbn(ifac) gives the surface of the boundary face. In the post_util.f90 the heat boundary flux is compute as bflux(iloc) = (cofafp(ifac) + cofbfp(ifac)*tcel) + convec...
by Luciano Garelli
Fri Nov 30, 2018 3:27 pm
Forum: code_saturne usage
Topic: Mesh not refined enough at the wall
Replies: 2
Views: 2431

Re: Mesh not refined enough at the wall

Hello, I think that the first recommendation is to switch to a newer version of CS, the code has been improved and bug has been corrected. You are running a version of 2013. With respect to your question in the second time step you have a Y+=19 and a Courant of 237. You are running the case with no ...
by Luciano Garelli
Fri Nov 30, 2018 2:56 pm
Forum: code_saturne usage
Topic: Code Saturne 4.0.6 access boundary face temperature
Replies: 5
Views: 3177

Re: Code Saturne 4.0.6 access boundary face temperature

Hello, The user subroutine " cs_user_extra_operations-energy_balance.f90 " has several examples about computing energy fluxes. Also, you can check the subroutine post_boundary_thermal_flux in the post_util.f90 file, where is post-processed the thermal flux. In the post you mention boundary...