mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
waveMakerFlap: creates waves using a flapping motion waveMakerPiston: creates waves using a piston motion
73 lines
1.6 KiB
C++
73 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 2.3.0 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class pointVectorField;
|
|
object pointDisplacement;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 0 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
bottom1
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
bottom2
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
leftwall
|
|
{
|
|
type waveMakerFlap;
|
|
value uniform (0 0 0);
|
|
|
|
waveBoardStroke 0.0;
|
|
waveHeigth 0.06;
|
|
g (0 0 -9.81);
|
|
initialDepth 0.25;
|
|
wavePeriod 2.0;
|
|
|
|
rampTime 2.0;
|
|
waveLength 0;
|
|
wavePhase 0;
|
|
|
|
waveNumber 0.0;
|
|
secondOrder false;
|
|
|
|
|
|
}
|
|
back
|
|
{
|
|
type empty;
|
|
}
|
|
front
|
|
{
|
|
type empty;
|
|
}
|
|
rightwall
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
top
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|