CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Compressible calculation with Code_Saturne

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2011, 10:26
Default Compressible calculation with Code_Saturne
New Member
Clement CROZON
Join Date: Apr 2011
Posts: 1
Rep Power: 0
clement.crozon is on a distinguished road
Hello everyone,

I am a new user of Code_Saturne and I am currently working on a project regarding the computation of the flow around an airfoil (NACA23012 here). The mesh was created using Salome and I successfully launched some incompressible cases with Code_Saturne using different meshes and turbulence models (without the GUI interface).
The mesh width is only 1 cell. The boundary conditions are the following : "wall" on the airfoil, "inlet" on all the farfield (which is infow or outflow depending on the direction) and "symmetry" at z=0 and z=1.

I am now trying to activate the compressible module in Code_Saturne and I am currently having trouble to set up the environment. I modified the following user files for my purpose : uscfcl.f90, uscfxi.f90, usini1.f90, usppmo.f90 and usproj.f90.
In particular, I added the "coumax" keyword in usini1.f90 and set it to 0.4 as adviced in the user manual (with idtvar=1 for variable time step).
Most of the parameters remain the same between incompressible and compressible cases (initialisation ...) and I tried to follow the user manual for specific parameters.

I compute the lift coefficient in usproj.f90 at each time step so I can follow its convergence and here is the problem : The calculation doesn't converge toward a fixed value but oscillate. I tried to change as many options as I can but the problem remains. Obviously, pressure and velocity fields as well as pressure coefficients around the airfoil are wrong.

Could somebody give me a lead to investigate the problem ? Or maybe a tutorial or some fortran files suitable for compressible calculations ?

I hope I am specific enough. Do not hesitate to answer for any further information.

The fortran user files and the mesh I used :

Thanks in advance for any help.


clement.crozon is offline   Reply With Quote


airfoil, code, compressible, saturne

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
compressible flow calculation error using rhoSimpleFoam solver student4326 OpenFOAM Running, Solving & CFD 7 November 2, 2015 11:34
MRF and Heat transfer calculation Susan YU FLUENT 0 June 2, 2010 08:46
Compressible -> incompressible. Jinwon Main CFD Forum 6 November 23, 2007 21:07
Warning 097- AB Siemens 6 November 15, 2004 04:41
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 16:51

All times are GMT -4. The time now is 01:26.