CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Compressible flow with inlet velocity Ma%23601 (http://www.cfd-online.com/Forums/openfoam-solving/60557-compressible-flow-inlet-velocity-ma-23601-a.html)

klaus July 3, 2005 14:01

Hello openFoam users, i jus
 
Hello openFoam users,

i just started evaluating this promissing code and as usual in the beginning i have a problem. I just wanted to run the nacaAirfoil example in sonicTurbFoam with a free-stream velocity below sonic-speed (Ma<1) so that the velocity has to go supersonic only in a small area. But the solver is complaining that the free-stream Mach-Number must not be below 1:

--> FOAM FATAL ERROR : MachInf < 1.0, free stream must be supersonic

Is there a way to handle compressible flow for subsonic inlet conditions?

Best regards,
Klaus

henry July 3, 2005 14:14

You have chosen a supersonicFr
 
You have chosen a supersonicFreestream BC but specified a sub-sonic flow, why not choose a standard fixedValue inlet or inletOutlet condition?

klaus July 3, 2005 16:43

Ups, you got me. I was hast
 
Ups,

you got me. I was hasty and i missed to change this entry in the inlet condition of U.

From:
INLE1
{
type supersonicFreeStream;
pInf 100000;
TInf 300;
UInf (60.0 14.816 0);
}

To:
type fixedValue;
value uniform (60.0 14.816 0);

I also changed p now.

From:
OUTL2
{type pressureTransmissive;
pInf 100000;
lInf 1;
}
To:
OUTL2
{
type fixedValue;
value uniform 100000;
}

I will try it soon.

Thanks for the quick reply and for all your effort with the software,
Klaus


All times are GMT -4. The time now is 00:25.