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];
internalField uniform 14.855;
internalField uniform 2e-4;
boundaryField
{
@ -28,8 +28,10 @@ boundaryField
Cmu 0.09;
kappa 0.41;
E 9.8;
setDeadValue true;
deadValue 2e-4;
value uniform 14.855;
value uniform 2e-4;
}
top
{
@ -38,13 +40,13 @@ boundaryField
in
{
type fixedValue;
value uniform 14.855;
value uniform 2e-4;
}
out
{
type inletOutlet;
inletValue uniform 14.855;
value uniform 14.855;
inletValue uniform 2e-4;
value uniform 2e-4;
}
bottom
{

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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