Tutorial update: immersed boundary

This commit is contained in:
Hrvoje Jasak 2018-09-07 12:43:09 +01:00
parent ff509e6a62
commit c4a6167cd0
9 changed files with 28 additions and 18 deletions

View file

@ -17,7 +17,7 @@ FoamFile
dimensions [0 2 -3 0 0 0 0]; dimensions [0 2 -3 0 0 0 0];
internalField uniform 14.855; internalField uniform 2e-4;
boundaryField boundaryField
{ {
@ -28,8 +28,10 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
setDeadValue true;
deadValue 2e-4;
value uniform 14.855; value uniform 2e-4;
} }
top top
{ {
@ -38,13 +40,13 @@ boundaryField
in in
{ {
type fixedValue; type fixedValue;
value uniform 14.855; value uniform 2e-4;
} }
out out
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 14.855; inletValue uniform 2e-4;
value uniform 14.855; value uniform 2e-4;
} }
bottom bottom
{ {

View file

@ -17,7 +17,7 @@ FoamFile
dimensions [0 2 -2 0 0 0 0]; dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.375; internalField uniform 1.5e-4;
boundaryField boundaryField
{ {
@ -25,7 +25,9 @@ boundaryField
{ {
type immersedBoundaryKqRWallFunction; type immersedBoundaryKqRWallFunction;
patchType immersedBoundary; patchType immersedBoundary;
value uniform 0.375; setDeadValue true;
deadValue 1.5e-4;
value uniform 1.5e-4;
} }
top top
{ {
@ -34,13 +36,13 @@ boundaryField
in in
{ {
type fixedValue; type fixedValue;
value uniform 0.375; value uniform 1.5e-4;
} }
out out
{ {
type inletOutlet; type inletOutlet;
inletValue uniform 0.375; inletValue uniform 1.5e-4;
value uniform 0.375; value uniform 1.5e-4;
} }
bottom bottom
{ {

View file

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

View file

@ -25,10 +25,10 @@ boundaryField
type mixedIb; type mixedIb;
patchType immersedBoundary; patchType immersedBoundary;
triValue uniform (0 0 0); triValue uniform (0 0 0);
triGradient uniform (0 0 0); triGradient uniform (0 0 0);
triValueFraction uniform 1; triValueFraction uniform 1;
setDeadValue yes; setDeadValue yes;
deadValue (0 0 0); deadValue (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
} }
inlet inlet

View file

@ -25,10 +25,10 @@ boundaryField
type mixedIb; type mixedIb;
patchType immersedBoundary; patchType immersedBoundary;
triValue uniform (0 0 0); triValue uniform (0 0 0);
triGradient uniform (0 0 0); triGradient uniform (0 0 0);
triValueFraction uniform 1; triValueFraction uniform 1;
setDeadValue yes; setDeadValue yes;
deadValue (0 0 0); deadValue (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
} }
inlet inlet

View file

@ -28,7 +28,8 @@ boundaryField
Cmu 0.09; Cmu 0.09;
kappa 0.41; kappa 0.41;
E 9.8; E 9.8;
setDeadValue true;
deadValue 14.855;
value uniform 14.855; value uniform 14.855;
} }
top top

View file

@ -25,6 +25,8 @@ boundaryField
{ {
type immersedBoundaryKqRWallFunction; type immersedBoundaryKqRWallFunction;
patchType immersedBoundary; patchType immersedBoundary;
setDeadValue true;
deadValue 0.375;
value uniform 0.375; value uniform 0.375;
} }
top top

View file

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

View file

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