Updated floatingObject boundary condition to handle tangential flow at surface in a more stable manner.

This commit is contained in:
Henry
2014-03-21 10:33:34 +00:00
committed by Andrew Heather
parent cb8bfed44e
commit 76e5a9dafe

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 | | \\ / O peration | Version: 2.3.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -33,16 +33,25 @@ boundaryField
} }
floatingObject floatingObject
{ {
type oscillatingFixedValue; type fixedNormalInletOutletVelocity;
refValue uniform (0 1 0);
offset (0 -1 0); fixTangentialInflow false;
amplitude table
( normalVelocity
( 0 0) {
( 10 0.025) type oscillatingFixedValue;
(1000 0.025) refValue uniform (0 1 0);
); offset (0 -1 0);
frequency constant 1; amplitude table
(
( 0 0)
( 10 0.025)
(1000 0.025)
);
frequency constant 1;
value uniform (0 0 0);
}
value uniform (0 0 0); value uniform (0 0 0);
} }
frontAndBack frontAndBack