Code Saturne Tutorials and Case Studies

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Code Saturne Tutorials and Case Studies

Post by sdn »

Dear Code Saturne Users,

Firstly, I very appreciate and optimize about the prospect and capability of code saturne since it is developed by edf and has validated with many case studies.
I've heard that code saturne has about 150 case studies for validation. Where I can find those?

I've tried almost all of the tutorials in code saturne website and I still feel need more tutorials to learn code-saturne. Where I can find the more tutorials of code saturne?

Sincerely,
Saaddin Nur
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code Saturne Tutorials and Case Studies

Post by Yvan Fournier »

Hello,

The validation test suite is not published, as it contains a mix of proprietary and open data. We may work on scripts to extract "open" subsets in the future, but have nothing systematic at this stage.

We can sometimes provide some simple cases. What type of case are you looking for ?

Regards,

Yvan
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Re: Code Saturne Tutorials and Case Studies

Post by sdn »

Dear Code Saturne Users,

I need simple tutorials that are support the heat exchanger and boiler simulation.
So, in the tutorials I need the concept of heat transfer, turbulence modeling, conjugate heat transfer, combustion and evaporation of fluid.

For your Information I'm using windows and as I know, conjugate heat transfer need coupling with SYRTHES. It would be nice if you can give step by step tutorials to couple SYRTHES with Code Saturne.

I very much look forward for the tutorials.

Kindly Regards,

Saaddin
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code Saturne Tutorials and Case Studies

Post by Yvan Fournier »

Hello,

This will not be simple: Code_Saturne does no simulate evaporation of fluid. This might be possible adding negative mass source terms, but the computation will still be single-phase, so bubbles will not be simulated (but you could simulate evaporation at the water domain boundary).

One of the tutorials on the website is for combustion. You can adapt if using several different coal combustion models.

In the same manner, the "3 disks" tutorial is for conjugate heat transfer.

But if you are using Windows, conjugate heat transfer will be difficult: the build mechanism used for Windows ports of Code_Saturne and SYRTHES is quite different, so the provided windows version cannot be coupled to my knowledge. To couple them, you would need to rebuild the versions. We may improve this in the future, but this is not a current priority.

So for conjugate heat transfer, installing both codes in a Linux virtual machine is probably the simplest solution.

Regards,

Yvan
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Re: Code Saturne Tutorials and Case Studies

Post by sdn »

To couple them, you would need to rebuild the versions.
Can you please provide the step by step to rebuild the versions?
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code Saturne Tutorials and Case Studies

Post by Yvan Fournier »

Hello,

The guide to the Windows build for Linux is in French, and an internal EDF document. I hope to translate it to add the appropriate build to the installation manual, but this has not been done yet. Most of it relates to packaging. The build is based on cross-compiling with Cygwin. So the build requires Linux.

Installing Cygwin on Windows and following the same install as on Linux (as described in the installation manual) would probably work, but installing PyQt for Windows may be a hassle.

As for Syrthes, I do not have the installation instructions for Windows (they might be somewhere in the sources).

Regards,

Yvan
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Re: Code Saturne Tutorials and Case Studies

Post by sdn »

(but you could simulate evaporation at the water domain boundary)
This is exactly that I want. Could you please put the related tutorials for the evaporation at the water domain boundary?

Thank you
Sincerely,

Saaddin Nur
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Re: Code Saturne Tutorials and Case Studies

Post by sdn »

We can sometimes provide some simple cases. What type of case are you looking for ?
I just remembered that code saturne has powerful k epsilon. Can we use it for aerodynamic analysis which we need force properties at output, drag force or lifting force?
If can, I need the sample case for that.

Also, can we change the cartesian coordinate to spherical or cylindrical coordinate in code saturne?

Kindly regards,

Saaddin Nur
Yvan Fournier
Posts: 4208
Joined: Mon Feb 20, 2012 3:25 pm

Re: Code Saturne Tutorials and Case Studies

Post by Yvan Fournier »

Hello,

We do not have tutorials for evaporation, though the documentation examples can show you how to define user source terms, which you have to adapt with your own evaporation model.

Also, we only use Cartesian coordinates.

As for aerodynamic analysis, you may fin examples on this website. Code_saturne has a built-in output of boundary stresses which you could use for lift and drag. There is currently a bug in the z-component, though, with the fix in yet-to-be released 4.0.6 (and available also on this forum while waiting for 4.0.6).

Regards,

Yvan
sdn
Posts: 14
Joined: Thu Sep 15, 2016 6:40 am

Re: Code Saturne Tutorials and Case Studies

Post by sdn »

We do not have tutorials for evaporation, though the documentation examples can show you how to define user source terms, which you have to adapt with your own evaporation model.
Could you please give the link to the related source that show us how to define user source term?
As for aerodynamic analysis, you may fin examples on this website. Code_saturne has a built-in output of boundary stresses which you could use for lift and drag. There is currently a bug in the z-component, though, with the fix in yet-to-be released 4.0.6 (and available also on this forum while waiting for 4.0.6).
Also, could you please give a link to the related examples of aerodynamic analysis that shows how to use boundary stresses to define lift and drag?
One of the tutorials on the website is for combustion. You can adapt if using several different coal combustion models.
Since I will use natural gas as a fuel of combustion rather than coal, is it possible to simulate it in Code Saturne?

Now, I become more trust with code saturne capability.

Thank you,

Sincerely,

Saaddin Nur
Post Reply