waveSurfacePressureFvPatchScalarField: Moved zeta field construction from potentialFreeSurfaceFoam

The zeta field is cached on the database thus simplifying potentialFreeSurfaceFoam.
This commit is contained in:
Henry Weller
2022-10-11 15:43:38 +01:00
parent fee658b024
commit 778ea7bf89
4 changed files with 46 additions and 29 deletions

View File

@ -36,22 +36,27 @@ boundaryField
normalVelocity
{
type uniformFixedValue;
uniformValue scale;
uniformValueCoeffs
uniformValue
{
scale linearRamp;
scaleCoeffs
type scale;
scale
{
type linearRamp;
start 0;
duration 10;
}
value sine;
valueCoeffs
value
{
amplitude constant (0 0.025 0);
type sine;
amplitude (0 0.025 0);
frequency 1;
start 0;
level constant (0 0 0);
level (0 0 0);
}
}
value uniform (0 0 0);