45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
object p;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#include "include/initialConditions"
|
|
|
|
dimensions [0 2 -2 0 0 0 0];
|
|
|
|
internalField uniform $pressure;
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type fixedValue;
|
|
value $internalField;
|
|
}
|
|
|
|
wing
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
#include "include/frontBackTopBottomPatches"
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|