Updated settings for immersed boundary cases

This commit is contained in:
Hrvoje Jasak 2020-04-08 18:21:59 +01:00
parent b9ef35254a
commit 25e48d11a2
37 changed files with 57 additions and 77 deletions

View file

@ -22,11 +22,8 @@ boundaryField
{
ibCylinder
{
type mixedIb;
type zeroGradientIb;
patchType immersedBoundary;
triValue uniform 0;
triGradient uniform 0;
triValueFraction uniform 0;
setDeadValue yes;
deadValue 0;
value uniform 0;

View file

@ -6,5 +6,6 @@
cleanCase
\rm -f *.dat
\rm -rf postProcessing forces
\rm -rf 0
\rm -f constant/polyMesh/boundary

View file

@ -22,11 +22,8 @@ boundaryField
{
ibCylinder
{
type mixedIb;
type zeroGradientIb;
patchType immersedBoundary;
triValue uniform 0;
triGradient uniform 0;
triValueFraction uniform 0;
setDeadValue yes;
deadValue 0;
value uniform 0;

View file

@ -6,5 +6,6 @@
cleanCase
\rm -f *.dat
\rm -rf postProcessing forces
\rm -rf 0
\rm -f constant/polyMesh/boundary

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -30,7 +30,6 @@ boundaryField
E 9.8;
setDeadValue true;
deadValue 2e-4;
value uniform 2e-4;
}
top

View file

@ -25,7 +25,7 @@ boundaryField
{
type immersedBoundaryNutWallFunction;
patchType immersedBoundary;
setDeadValue true;
setDeadValue yes;
deadValue 1e-5;
value uniform 0;
}

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -22,11 +22,8 @@ boundaryField
{
ibCylinder
{
type mixedIb;
type zeroGradientIb;
patchType immersedBoundary;
triValue uniform 0;
triGradient uniform 0;
triValueFraction uniform 0;
setDeadValue yes;
deadValue 0;
value uniform 0;

View file

@ -6,6 +6,6 @@
cleanCase
\rm -f *.dat
\rm -rf postProcessing forces
\rm -rf 0
\rm -f constant/polyMesh/boundary
\rm -rf postProcessing

View file

@ -21,5 +21,6 @@ turbulence on;
printCoeffs on;
nuRatio 1000;
// ************************************************************************* //

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -19,16 +19,11 @@ dynamicFvMesh immersedBoundarySolidBodyMotionFvMesh;
immersedBoundarySolidBodyMotionFvMeshCoeffs
{
// Immersed boundary controls
motionFunctions
(
ibCylinder
{
// solidBodyMotionFunction translation;
// translationCoeffs
// {
// velocity (0.1 0 0);
// }
solidBodyMotionFunction linearOscillation;
linearOscillationCoeffs
{

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -21,7 +21,7 @@ DebugSwitches
// fvMesh 2;
}
application pimpleDyMFoam;
application pimpleDyMIbFoam;
startFrom startTime;
@ -61,7 +61,7 @@ libs
(
"libimmersedBoundary.so"
"libimmersedBoundaryDynamicMesh.so"
"libimmersedBoundaryTurbulence.so"
"libincompressibleImmersedBoundaryTurbulence.so"
);
functions

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,U) Gauss GammaVDC 0.5;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,omega) Gauss upwind;

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -49,7 +49,7 @@ PIMPLE
{
nOuterCorrectors 4;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
nNonOrthogonalCorrectors 1;
pRefPoint (0 -0.45 0.05);
pRefValue 0;

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -35,7 +35,6 @@ boundaryField
{
type fixedValue;
value uniform (10 0 0);
}
outlet
{

View file

@ -22,11 +22,8 @@ boundaryField
{
ibCylinder
{
type mixedIb;
type zeroGradientIb;
patchType immersedBoundary;
triValue uniform 0;
triGradient uniform 0;
triValueFraction uniform 0;
setDeadValue yes;
deadValue 0;
value uniform 0;

View file

@ -21,7 +21,7 @@ DebugSwitches
// fvMesh 2;
}
application pimpleDyMFoam;
application pimpleDyMIbFoam;
startFrom startTime;

View file

@ -71,7 +71,6 @@ relaxationFactors
}
fields
{
// p 0.8;
}
}

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -22,11 +22,8 @@ boundaryField
{
ibCylinder
{
type mixedIb;
type zeroGradientIb;
patchType immersedBoundary;
triValue uniform 0;
triGradient uniform 0;
triValueFraction uniform 0;
setDeadValue yes;
deadValue 0;
value uniform 0;

View file

@ -6,6 +6,6 @@
cleanCase
\rm -f *.dat
\rm -rf postProcessing forces
\rm -rf 0
\rm -f constant/polyMesh/boundary
\rm -rf postProcessing

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -21,7 +21,7 @@ DebugSwitches
// fvMesh 2;
}
application pimpleDyMFoam;
application pimpleDyMIbFoam;
startFrom startTime;
@ -61,7 +61,7 @@ libs
(
"libimmersedBoundary.so"
"libimmersedBoundaryDynamicMesh.so"
"libimmersedBoundaryTurbulence.so"
"libincompressibleImmersedBoundaryTurbulence.so"
);
functions

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -27,7 +27,7 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,U) Gauss GammaVDC 0.5;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,omega) Gauss upwind;

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -49,7 +49,7 @@ PIMPLE
{
nOuterCorrectors 4;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
nNonOrthogonalCorrectors 1;
pRefPoint (0 -0.45 0.05);
pRefValue 0;

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/