ENH: Film tutorial updates
This commit is contained in:
parent
c72ffd6a04
commit
e5a319d6d6
@ -15,6 +15,8 @@ cuttingPlane
|
||||
surfaceFormat vtk;
|
||||
fields ( p U );
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
surfaces
|
||||
(
|
||||
yNormal
|
||||
|
@ -31,7 +31,12 @@ boundaryField
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
@ -32,11 +32,16 @@ boundaryField
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -31,7 +31,12 @@ boundaryField
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
@ -31,7 +31,12 @@ boundaryField
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
@ -32,11 +32,16 @@ boundaryField
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -31,7 +31,12 @@ boundaryField
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
filmWalls
|
||||
sides
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
@ -17,20 +17,27 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
"(rho|G)"
|
||||
rho
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-05;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
rhoFinal
|
||||
{
|
||||
$rho;
|
||||
tolerance 1e-05;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|hs|k|epsilon)"
|
||||
"(U|hs)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-05;
|
||||
relTol 0;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
p
|
||||
@ -38,15 +45,31 @@ solvers
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
tolerance 1e-06;
|
||||
relTol 0.1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
{
|
||||
$p;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(U|hs)Final"
|
||||
{
|
||||
$U;
|
||||
tolerance 1e-05;
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"(k|epsilon)"
|
||||
{
|
||||
$UFinal;
|
||||
}
|
||||
|
||||
"(Yi|O2|N2|H2O)"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
$UFinal;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication snappyHexMesh -overwrite
|
||||
transformPoints -scale '(2 1 1)'
|
||||
runApplication transformPoints -scale '(2 1 1)'
|
||||
cp 0/alpha1.org 0/alpha1
|
||||
runApplication setFields
|
||||
runApplication `getApplication`
|
||||
|
Loading…
Reference in New Issue
Block a user