Compressible Flow Module
Posted: Tue Mar 10, 2015 11:05 am
Hello,
I'm trying to use Code Saturne-v4.0 r7278 to simulate a compressible flow case. I followed the example 4 on how to implement a subsonic inlet, however when I run my case I get the following error
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ @@ WARNING: in thermodynamics computations
@ =======
@ Error encountered in thermodynamic computations
@ (cfther.f90), for perfect gas with constant gamma.
@
@ The computation of the subsonic inlet boundary
@ condition with imposed total pressure and
@ total enthalpy failed.
@
@ At boundary face 1
@ The direction vector given by the user can't be null.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
I'm assuming that that my boundary condition needs a direction vector. Looking at cfxtcl.f90 and cf_thermo_ph_inlet_bc function in cfther.f90, this is determined by bval(ifac,iu), bval(ifac,iv), and bval(ifac,iw). However, I'm little puzzled on how to implement this direction vector. I tried using rcodcl(ifac,iu,1), ... to specify the direction vector, but simulation crashes after calculating the temperature. The code doesn't output any error or anything, it just simply stops after calculating the temperature.
Carrying on from here, I tried to specify my boundary condition in the xml/gui. I tried giving it a unit vector and also the changing the direction to the normal direction of the inlet, but either option results in it crashing and stopping after calculating the temperature.
Please let me know if I'm making a simple mistake somewhere.
Thank you,
Andrew
I'm trying to use Code Saturne-v4.0 r7278 to simulate a compressible flow case. I followed the example 4 on how to implement a subsonic inlet, however when I run my case I get the following error
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ @@ WARNING: in thermodynamics computations
@ =======
@ Error encountered in thermodynamic computations
@ (cfther.f90), for perfect gas with constant gamma.
@
@ The computation of the subsonic inlet boundary
@ condition with imposed total pressure and
@ total enthalpy failed.
@
@ At boundary face 1
@ The direction vector given by the user can't be null.
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
I'm assuming that that my boundary condition needs a direction vector. Looking at cfxtcl.f90 and cf_thermo_ph_inlet_bc function in cfther.f90, this is determined by bval(ifac,iu), bval(ifac,iv), and bval(ifac,iw). However, I'm little puzzled on how to implement this direction vector. I tried using rcodcl(ifac,iu,1), ... to specify the direction vector, but simulation crashes after calculating the temperature. The code doesn't output any error or anything, it just simply stops after calculating the temperature.
Carrying on from here, I tried to specify my boundary condition in the xml/gui. I tried giving it a unit vector and also the changing the direction to the normal direction of the inlet, but either option results in it crashing and stopping after calculating the temperature.
Please let me know if I'm making a simple mistake somewhere.
Thank you,
Andrew