mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated film multipleBoxes tutorial case
This commit is contained in:
@ -21,10 +21,10 @@ internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -40,7 +40,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 100000;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
// cyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
||||
// nonuniformTransformCyclic boundaries between film patches
|
||||
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||
{
|
||||
type cyclic;
|
||||
type nonuniformTransformCyclic;
|
||||
}
|
||||
|
||||
// top film surface
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
}
|
||||
|
||||
// floor sides
|
||||
floor_side
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
@ -24,12 +24,13 @@ active true;
|
||||
|
||||
kinematicSingleLayerCoeffs
|
||||
{
|
||||
deltaStable deltaStable [0 1 0 0 0] 0.0005;
|
||||
thermoModel constant;
|
||||
|
||||
Cf 0.005;
|
||||
|
||||
rho rho [1 -3 0 0 0] 1000;
|
||||
mu mu [1 -1 -1 0 0] 1e-3;
|
||||
sigma sigma [1 0 -2 0 0] 0.07;
|
||||
rho0 rho0 [1 -3 0 0 0] 1000;
|
||||
mu0 mu0 [1 -1 -1 0 0] 1e-3;
|
||||
sigma0 sigma0 [1 0 -2 0 0] 0.07;
|
||||
|
||||
injectionModel remove; // none; // cloudInjection;
|
||||
}
|
||||
@ -37,15 +38,16 @@ kinematicSingleLayerCoeffs
|
||||
|
||||
thermoSingleLayerCoeffs
|
||||
{
|
||||
deltaStable deltaStable [0 1 0 0 0] 0;
|
||||
Cf 0.005;
|
||||
htcw htcw [1 0 -3 -1 0] 1e-8; // 0.0;
|
||||
htcs htcs [1 0 -3 -1 0] 1e-8; // 0.0;
|
||||
thermoModel constant;
|
||||
liquid H2O;
|
||||
|
||||
rho rho [1 -3 0 0 0] 1000;
|
||||
mu mu [1 -1 -1 0 0] 1e-3;
|
||||
sigma sigma [1 0 -2 0 0] 0.07;
|
||||
cp cp [0 2 -2 -1 0] 4187;
|
||||
Cf 0.005;
|
||||
|
||||
rho0 rho0 [1 -3 0 0 0] 1000;
|
||||
mu0 mu0 [1 -1 -1 0 0] 1e-3;
|
||||
sigma0 sigma0 [1 0 -2 0 0] 0.07;
|
||||
cp0 cp0 [0 2 -2 -1 0] 4187;
|
||||
kappa0 kappa0 [1 1 -3 -1 0] 0.58;
|
||||
|
||||
injectionModel cloudInjection; // remove; // none; // cloudInjection;
|
||||
|
||||
@ -55,6 +57,8 @@ thermoSingleLayerCoeffs
|
||||
{
|
||||
cloudName reactingCloud1;
|
||||
|
||||
deltaStable 0;
|
||||
|
||||
particlesPerParcel 100.0;
|
||||
|
||||
parcelPDF
|
||||
@ -69,5 +73,23 @@ thermoSingleLayerCoeffs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -23,17 +23,23 @@ foamChemistryFile "$FOAM_CASE/chemkin/foam.inp";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/chemkin/foam.dat";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
liquids
|
||||
{
|
||||
liquidComponents
|
||||
(
|
||||
H2O
|
||||
);
|
||||
|
||||
H2O H2O defaultCoeffs;
|
||||
}
|
||||
|
||||
solids
|
||||
{
|
||||
solidComponents
|
||||
();
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
H2O H2O defaultCoeffs;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -36,6 +36,7 @@ gradSchemes
|
||||
{
|
||||
default none;
|
||||
grad(pL) Gauss linear;
|
||||
grad(sigmaf) Gauss linear;
|
||||
snGradCorr(deltaf) Gauss linear;
|
||||
snGradCorr(pp) Gauss linear;
|
||||
snGradCorr(pu) Gauss linear;
|
||||
|
||||
Reference in New Issue
Block a user