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

48 lines
1.1 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 (0 0 0);
boundaryField
{
bottom
{
type noSlip;
}
"(top|inlet)"
{
type waveVelocity;
libs ("libwaves.so");
}
outlet
{
type pressureInletOutletVelocity;
value $internalField;
}
"(front|back)"
{
type symmetryPlane;
}
}
// ************************************************************************* //