62 lines
1.5 KiB
C++
62 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / 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 101325;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type totalPressure;
|
|
phi phi;
|
|
rho none;
|
|
psi psi;
|
|
U Uabs;
|
|
gamma 1.4;
|
|
p0 uniform 1.4e5;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
}
|
|
|
|
blade
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
shaft
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
shroud
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
frontAndBack
|
|
{
|
|
type cyclic;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|