Search found 18 matches

by lorenzo.iron
Fri Apr 28, 2023 1:53 pm
Forum: code_saturne usage
Topic: User law - "int" symbol
Replies: 1
Views: 1039

User law - "int" symbol

I was trying to use the "int" symbol as a floor function (as mentioned in the used guide). I tried to use the function like, for example, "x=int(1.5)" to return "x=1" but I got the following message from the Expression Editor: In function ‘cs_meg_boundary_function’: exp...
by lorenzo.iron
Wed Jan 11, 2023 5:32 pm
Forum: code_saturne usage
Topic: Divergence with free inlet/outlet boundary conditions
Replies: 4
Views: 4707

Re: Divergence with free inlet/outlet boundary conditions

Hello, I found this post and it contains an issue similar to the one I'm currently facing: when I set a free inlet/outlet boundary condition the simulation diverges. I've a sort of jet pump (see example picture), with a water inlet (1), a water outlet (4) and a suction (2). If I set the suction (2) ...
by lorenzo.iron
Mon Oct 03, 2022 11:01 am
Forum: code_saturne usage
Topic: Venturi pipe flow VOF convergence issue
Replies: 6
Views: 9509

Re: Venturi pipe flow VOF convergence issue

Hello Luciano and Yvan, @ Luciano: thank you for the update. I set the upwind scheme for velocity only and the simulation was running without interruptions. My question is: did you use that Scheme in your simulations or it is just a workaround for me? Minor question: why you prefer saving results in...
by lorenzo.iron
Thu Sep 29, 2022 1:11 am
Forum: code_saturne usage
Topic: Venturi pipe flow VOF convergence issue
Replies: 6
Views: 9509

Re: Venturi pipe flow VOF convergence issue

Hello Luciano, thank you very much for your advice, now the simulation runs. I've some questions: 1) if I run the simulation with the Time Step Option = "Constant" (and reference time step = 0.0002 as suggested) the simulation stacks because of an excess of fluid speed. Did you face the sa...
by lorenzo.iron
Wed Sep 21, 2022 5:33 pm
Forum: code_saturne usage
Topic: Venturi pipe flow VOF convergence issue
Replies: 6
Views: 9509

Venturi pipe flow VOF convergence issue

Dear All, one year ago I discovered Code_Saturne and used it for axisymmetric simulations of internal flows in Venturi pipes used for steel bars cooling. In particular, the steel bar was represented by the bottom moving wall with imposed wall temperature (just for sensitivity analysis purposes). Ven...
by lorenzo.iron
Mon Aug 30, 2021 9:46 am
Forum: code_saturne usage
Topic: Inlet pressure boundary condition
Replies: 2
Views: 1297

Inlet pressure boundary condition

Good morning, I'd like to impose an inlet pressure instead of an inlet flow. I understand that it is required to use a subroutine but I don't know how to do it. So far I just learned to use the GUI. Even though the analisys could be less stable, it would suite directly my problem and experimental co...
by lorenzo.iron
Mon Aug 30, 2021 9:12 am
Forum: code_saturne usage
Topic: Flow through a surface
Replies: 1
Views: 990

Flow through a surface

Good morning, I'd like to select a surface (both boundary or internal) in Paraview and calculate the fluid flow (m3/s) by integrating the speed. I can do it with "slice" and "integrate variables" functions in Paraview but when simulations and slices are several, it becomes annoyi...
by lorenzo.iron
Mon Jul 12, 2021 11:32 am
Forum: code_saturne usage
Topic: 2D axisymmetric steady state flow with moving wall heat transfer
Replies: 19
Views: 5934

Re: 2D axisymmetric steady state flow with moving wall heat transfer

Good morning.

I can use both C or Fortran, but since in the future you will move to C only then I'd prefer to study a C example.

Thank you very much.
Lorenzo
by lorenzo.iron
Wed Jul 07, 2021 1:58 pm
Forum: code_saturne usage
Topic: 2D axisymmetric steady state flow with moving wall heat transfer
Replies: 19
Views: 5934

Re: 2D axisymmetric steady state flow with moving wall heat transfer

Dear Yvan, I think that your second option would be fine, since the bar shape is simple and the calculation would be faster. To begin with, I'd like to model each longitudinal section of the the bar like a uniform radial temperature field (Biot number < 0.1) in order to learn how to implement the su...
by lorenzo.iron
Fri Jul 02, 2021 2:53 pm
Forum: code_saturne usage
Topic: 2D axisymmetric steady state flow with moving wall heat transfer
Replies: 19
Views: 5934

Re: 2D axisymmetric steady state flow with moving wall heat transfer

Dear Yvan,
hope you're doing well!

Concerning the bulk velocity in the sliding walls to simulate heat transfer (using a user-subroutine but staying on the simple side as per your trailing messages) is there any news?

Thank you thousand!
Have a nice day.
Lorenzo