Files
OpenFOAM-12/tutorials/modules/incompressibleVoF/wave/0/U.orig
2023-04-06 09:55:13 +01:00

53 lines
1.2 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 volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (2 0 0);
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
left
{
type waveVelocity;
libs ("libwaves.so");
}
right
{
type outletPhaseMeanVelocity;
UnMean 2;
alpha alpha.water;
}
top
{
type pressureInletOutletVelocity;
tangentialVelocity $internalField;
value $internalField;
}
bottom
{
type noSlip;
}
}
// ************************************************************************* //