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++ -*----------------------------------*\
| ========= | |
| \\ / 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 |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -32,6 +32,12 @@ boundaryField
value uniform (0 0 0);
}
floatingObject
{
type fixedNormalInletOutletVelocity;
fixTangentialInflow false;
normalVelocity
{
type oscillatingFixedValue;
refValue uniform (0 1 0);
@ -45,6 +51,9 @@ boundaryField
frequency constant 1;
value uniform (0 0 0);
}
value uniform (0 0 0);
}
frontAndBack
{
type empty;