fvOptions::isotropicDamping: New wave damping fvOption

This implicit isotropic damping function relaxes the velocity field towards a
specified uniform value which can be set to (0 0 0) if no flow is required.
This is particularly appropriate to damp the waves in a closed wave tank with no
mean flow.

Testing on the interFoam wave has shown that for this simple case with uniform
mean flow the new isotropicDamping fvOption provides more rapid and complete
damping than the original verticalDamping.
This commit is contained in:
Henry Weller
2019-06-18 22:06:17 +01:00
parent 8e9f692aa4
commit 251f91cfa5
10 changed files with 666 additions and 130 deletions

View File

@ -17,7 +17,7 @@ FoamFile
option1
{
type verticalDamping;
type isotropicDamping;
selectionMode all;
@ -30,6 +30,7 @@ option1
duration 600;
}
value (2 0 0);
lambda 0.5;
timeStart 0;

View File

@ -0,0 +1,40 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
option1
{
type verticalDamping;
selectionMode all;
origin (1200 0 0);
direction (1 0 0);
scale
{
type halfCosineRamp;
start 0;
duration 600;
}
lambda 0.5;
timeStart 0;
duration 1e6;
}
//************************************************************************* //