openfoam/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/0/p

53 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include/initialConditions"
dimensions [1 -1 -2 0 0 0 0];
internalField uniform $pressure;
boundaryField
{
"inlet.*"
{
type zeroGradient;
}
"outlet.*"
{
type waveTransmissive;
field p;
psi thermo:psi;
gamma 1.4;
fieldInf $pressure;
lInf 1;
value $internalField;
}
"sym.*"
{
type empty;
}
"wall.*"
{
type zeroGradient;
}
}
// ************************************************************************* //