54 lines
1.3 KiB
C++
54 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object alpha;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 0 0 0 0];
|
|
|
|
internalField uniform 0;
|
|
|
|
boundaryField
|
|
{
|
|
//- Set patchGroups for constraint patches
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
inlet
|
|
{
|
|
type waveAlpha;
|
|
libs ("libwaves.so");
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type variableHeightFlowRate;
|
|
lowerBound 0;
|
|
upperBound 1;
|
|
value $internalField;
|
|
}
|
|
|
|
atmosphere
|
|
{
|
|
type inletOutlet;
|
|
inletValue $internalField;
|
|
value $internalField;
|
|
}
|
|
|
|
hull
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|