66 lines
1.8 KiB
C++
66 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object p;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 101325;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type fixedValue;
|
|
value uniform 271724;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type waveTransmissive;
|
|
field p;
|
|
U U;
|
|
phi phi;
|
|
rho rho;
|
|
psi psi;
|
|
fieldInf 101325;
|
|
gamma 1.4;
|
|
lInf 0.025;
|
|
inletOutlet off;
|
|
correctSupercritical off;
|
|
value uniform 101325;
|
|
}
|
|
|
|
freestream
|
|
{
|
|
type totalPressure;
|
|
value uniform 101325;
|
|
p0 uniform 101325;
|
|
U U;
|
|
phi phi;
|
|
rho none;
|
|
psi psi;
|
|
gamma 1.4;
|
|
}
|
|
|
|
freestreamInlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
wedge1 {type wedge;}
|
|
wedge2 {type wedge;}
|
|
}
|
|
|
|
// ************************************************************************* //
|