Updated settings for immersed boundary cases
This commit is contained in:
parent
b9ef35254a
commit
25e48d11a2
37 changed files with 57 additions and 77 deletions
|
@ -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;
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
cleanCase
|
||||
\rm -f *.dat
|
||||
|
||||
\rm -rf postProcessing forces
|
||||
\rm -rf 0
|
||||
\rm -f constant/polyMesh/boundary
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
cleanCase
|
||||
\rm -f *.dat
|
||||
|
||||
\rm -rf postProcessing forces
|
||||
\rm -rf 0
|
||||
\rm -f constant/polyMesh/boundary
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -30,7 +30,6 @@ boundaryField
|
|||
E 9.8;
|
||||
setDeadValue true;
|
||||
deadValue 2e-4;
|
||||
|
||||
value uniform 2e-4;
|
||||
}
|
||||
top
|
||||
|
|
|
@ -25,7 +25,7 @@ boundaryField
|
|||
{
|
||||
type immersedBoundaryNutWallFunction;
|
||||
patchType immersedBoundary;
|
||||
setDeadValue true;
|
||||
setDeadValue yes;
|
||||
deadValue 1e-5;
|
||||
value uniform 0;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
cleanCase
|
||||
\rm -f *.dat
|
||||
|
||||
\rm -rf postProcessing forces
|
||||
\rm -rf 0
|
||||
\rm -f constant/polyMesh/boundary
|
||||
\rm -rf postProcessing
|
||||
|
|
|
@ -21,5 +21,6 @@ turbulence on;
|
|||
|
||||
printCoeffs on;
|
||||
|
||||
nuRatio 1000;
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -35,7 +35,6 @@ boundaryField
|
|||
{
|
||||
type fixedValue;
|
||||
value uniform (10 0 0);
|
||||
|
||||
}
|
||||
outlet
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -21,7 +21,7 @@ DebugSwitches
|
|||
// fvMesh 2;
|
||||
}
|
||||
|
||||
application pimpleDyMFoam;
|
||||
application pimpleDyMIbFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
|
|
|
@ -71,7 +71,6 @@ relaxationFactors
|
|||
}
|
||||
fields
|
||||
{
|
||||
// p 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
cleanCase
|
||||
\rm -f *.dat
|
||||
|
||||
\rm -rf postProcessing forces
|
||||
\rm -rf 0
|
||||
\rm -f constant/polyMesh/boundary
|
||||
\rm -rf postProcessing
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
|
Reference in a new issue