tutorials/lagrangian/reactingParcelFoam/hotBoxes: Avoided unnecessary use of changeDictionary
This commit is contained in:
@ -1,462 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object changeDictionaryDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
p
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type activePressureForceBaffleVelocity;
|
||||
cyclicPatch baffleCyclic_half0;
|
||||
orientation 1;
|
||||
openingTime 0.01;
|
||||
maxOpenFractionDelta 0.1;
|
||||
openFraction 0;
|
||||
minThresholdValue 8000;
|
||||
forceBased 0;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
epsilon
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 0.1;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 1e-5;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
k
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1.5;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1.5;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Su
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Xi
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 1;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 1;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
T
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Tu
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 300;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
b
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 1;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 1;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ft
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0.06024096;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Aw
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0.0;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0.0;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
B
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
betav
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
CR
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
CT
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
Nv
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
nsv
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform (0 0 0 0 0 0);
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
Lobs
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
blockedFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleWall
|
||||
{
|
||||
type zeroGradient;
|
||||
value uniform 0;
|
||||
}
|
||||
baffleCyclic_half0
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
baffleCyclic_half1
|
||||
{
|
||||
type cyclic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -25,7 +25,8 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -25,7 +25,8 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -25,7 +25,8 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -26,14 +26,14 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform 300;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type zeroGradient;
|
||||
// type mapped;
|
||||
// field Tsf;
|
||||
// average 300;
|
||||
// setAverage no;
|
||||
// value uniform 300;
|
||||
type mapped;
|
||||
field Tsf;
|
||||
average 300;
|
||||
setAverage no;
|
||||
value uniform 300;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -26,15 +26,15 @@ boundaryField
|
||||
type uniformFixedValue;
|
||||
uniformValue (0 0 0);
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type uniformFixedValue;
|
||||
uniformValue (0 0 0);
|
||||
// type mapped;
|
||||
// field Usf;
|
||||
// average (0 0 0);
|
||||
// setAverage no;
|
||||
// value uniform (0 0 0);
|
||||
type mapped;
|
||||
uniformValue constant (0 0 0);
|
||||
value uniform (0 0 0);
|
||||
field Usf;
|
||||
average (0 0 0);
|
||||
setAverage no;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -27,7 +27,8 @@ boundaryField
|
||||
Prt 0.85;
|
||||
value uniform 0;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type alphatFilmWallFunction;
|
||||
B 5.5;
|
||||
|
||||
@ -26,10 +26,11 @@ boundaryField
|
||||
type epsilonWallFunction;
|
||||
value uniform 1e-7;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value uniform 1e-7;
|
||||
value uniform 1e-07;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -26,10 +26,11 @@ boundaryField
|
||||
type calculated;
|
||||
value uniform 0;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type convectiveHeatTransfer;
|
||||
L 1.0;
|
||||
L 1;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,10 +26,11 @@ boundaryField
|
||||
type kqRWallFunction;
|
||||
value uniform 1e-5;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type kqRWallFunction;
|
||||
value uniform 1e-5;
|
||||
value uniform 1e-05;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -26,7 +26,8 @@ boundaryField
|
||||
type nutkWallFunction;
|
||||
value uniform 0;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type nutkFilmWallFunction;
|
||||
B 5.5;
|
||||
|
||||
@ -26,10 +26,11 @@ boundaryField
|
||||
type calculated;
|
||||
value $internalField;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type calculated;
|
||||
value $internalField;
|
||||
value uniform 100000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -26,9 +26,11 @@ boundaryField
|
||||
type fixedFluxPressure;
|
||||
value uniform 100000;
|
||||
}
|
||||
wallFilm
|
||||
|
||||
"(region0_to.*)"
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
gradient uniform 0;
|
||||
value uniform 100000;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,6 +6,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
cp -rf 0.orig 0
|
||||
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication $application
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -15,3 +15,5 @@ runParallel $application
|
||||
|
||||
runApplication -s primaryRegion reconstructPar
|
||||
runApplication -s wallFilmRegion reconstructPar -region wallFilmRegion
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
cp -rf 0.orig 0
|
||||
rm -rf 0
|
||||
|
||||
# create the underlying block mesh
|
||||
runApplication blockMesh
|
||||
@ -21,9 +21,6 @@ runApplication ./patchifyObstacles
|
||||
# Create the wall film region via extrusion
|
||||
runApplication extrudeToRegionMesh -overwrite
|
||||
|
||||
# Fine tuning of U and T boundary conditions
|
||||
runApplication changeDictionary
|
||||
|
||||
# Copy the system settings over to the wall film region
|
||||
rm -rf system/wallFilmRegion
|
||||
cp -r system/wallFilmRegion.orig system/wallFilmRegion
|
||||
@ -33,3 +30,5 @@ find ./0 -maxdepth 1 -type f -exec \
|
||||
|
||||
paraFoam -touch
|
||||
paraFoam -touch -region wallFilmRegion
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,69 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object changeDictionaryDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
T
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
wallFilm
|
||||
{
|
||||
type mapped;
|
||||
field Tsf;
|
||||
average 300;
|
||||
setAverage no;
|
||||
value uniform 300;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
U
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
wallFilm
|
||||
{
|
||||
type mapped;
|
||||
field Usf;
|
||||
average (0 0 0);
|
||||
setAverage no;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"nut"
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
wallFilm
|
||||
{
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"alphat"
|
||||
{
|
||||
boundaryField
|
||||
{
|
||||
wallFilm
|
||||
{
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user