From 76e5a9dafeb9c4cfa7273a7ab1db9993f7aeb929 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Fri, 21 Mar 2014 10:33:34 +0000 Subject: [PATCH] Updated floatingObject boundary condition to handle tangential flow at surface in a more stable manner. --- .../oscillatingBox/0.org/U | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U index 695fc93f876..e6b10c7c8aa 100644 --- a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U +++ b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U @@ -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 | | \*---------------------------------------------------------------------------*/ @@ -33,16 +33,25 @@ boundaryField } floatingObject { - type oscillatingFixedValue; - refValue uniform (0 1 0); - offset (0 -1 0); - amplitude table - ( - ( 0 0) - ( 10 0.025) - (1000 0.025) - ); - frequency constant 1; + type fixedNormalInletOutletVelocity; + + fixTangentialInflow false; + + normalVelocity + { + type oscillatingFixedValue; + refValue uniform (0 1 0); + offset (0 -1 0); + amplitude table + ( + ( 0 0) + ( 10 0.025) + (1000 0.025) + ); + frequency constant 1; + value uniform (0 0 0); + } + value uniform (0 0 0); } frontAndBack -- GitLab