60 lines
1.5 KiB
C++
60 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object p;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 1e5;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type waveTransmissive;
|
|
field p;
|
|
phi phi;
|
|
rho rho;
|
|
psi psi;
|
|
gamma 1.3;
|
|
fieldInf 1e5;
|
|
lInf 0.3;
|
|
inletOutlet off;
|
|
correctSupercritical off;
|
|
value uniform 1e5;
|
|
}
|
|
|
|
upperWall
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
lowerWall
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type empty;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|