Search found 4 matches

by guicher
Mon Sep 11, 2017 9:14 am
Forum: code_saturne usage
Topic: Conditional user law (for an inlet)
Replies: 1
Views: 1687

Conditional user law (for an inlet)

Hello,

I want to write a conditional inlet boundary condition on CS 5.0.

The mathematical expression editor enables the user to use conditional operators (if, else).

What is the right syntax with these operators? Can someone give me an example?

Best regards,

E. Guichard
by guicher
Mon Sep 04, 2017 10:56 am
Forum: code_saturne usage
Topic: Output control > Profiles
Replies: 2
Views: 2374

Re: Output control > Profiles

Thank you for your answer, My mesh has 172 cells along the line so I couldn't get 1000 points. Another problem bears mentioning. The line was drawn on the border between two rows of cells. Therefore the software had to choose among two cells to generate the profile and I got 202 points. I corrected ...
by guicher
Fri Sep 01, 2017 10:51 am
Forum: code_saturne usage
Topic: Output control > Profiles
Replies: 2
Views: 2374

Output control > Profiles

Hello, In order to obtain a pressure profile on a plate, I created in CS 5.0.1 (in the GUI) a profile based on a line defined by x=z=0 and y=0.21*(s-0.5). I choose 1000 as a number of points. I got a profile (.csv) based on the right line between the right end points. Nevertheless, there were only 2...
by guicher
Fri Jul 28, 2017 8:26 am
Forum: code_saturne usage
Topic: File vof.f90
Replies: 1
Views: 1916

File vof.f90

Hello, I'm a beginner with CS 5.0.1 and I'm exploring the potentialities of the software. This version includes a file named vof.f90. Does that mean it is possible for Code_Saturne to calculate the interface between two fluids? Is there an example of a modified vof.f90 for two-phase flow purposes? R...