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
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 100000;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -40,7 +40,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 100000;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,10 +21,10 @@ internalField uniform 0.0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
// cyclic boundaries between film patches
|
// nonuniformTransformCyclic boundaries between film patches
|
||||||
"(cube[0-9][0-9]_side[0-9]_cube[0-9][0-9]_side[0-9])"
|
"(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])"
|
||||||
{
|
{
|
||||||
type cyclic;
|
type nonuniformTransformCyclic;
|
||||||
}
|
}
|
||||||
|
|
||||||
// top film surface
|
// top film surface
|
||||||
@ -43,7 +43,7 @@ boundaryField
|
|||||||
}
|
}
|
||||||
|
|
||||||
// floor sides
|
// floor sides
|
||||||
floor_side
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,12 +24,13 @@ active true;
|
|||||||
|
|
||||||
kinematicSingleLayerCoeffs
|
kinematicSingleLayerCoeffs
|
||||||
{
|
{
|
||||||
deltaStable deltaStable [0 1 0 0 0] 0.0005;
|
thermoModel constant;
|
||||||
|
|
||||||
Cf 0.005;
|
Cf 0.005;
|
||||||
|
|
||||||
rho rho [1 -3 0 0 0] 1000;
|
rho0 rho0 [1 -3 0 0 0] 1000;
|
||||||
mu mu [1 -1 -1 0 0] 1e-3;
|
mu0 mu0 [1 -1 -1 0 0] 1e-3;
|
||||||
sigma sigma [1 0 -2 0 0] 0.07;
|
sigma0 sigma0 [1 0 -2 0 0] 0.07;
|
||||||
|
|
||||||
injectionModel remove; // none; // cloudInjection;
|
injectionModel remove; // none; // cloudInjection;
|
||||||
}
|
}
|
||||||
@ -37,15 +38,16 @@ kinematicSingleLayerCoeffs
|
|||||||
|
|
||||||
thermoSingleLayerCoeffs
|
thermoSingleLayerCoeffs
|
||||||
{
|
{
|
||||||
deltaStable deltaStable [0 1 0 0 0] 0;
|
thermoModel constant;
|
||||||
Cf 0.005;
|
liquid H2O;
|
||||||
htcw htcw [1 0 -3 -1 0] 1e-8; // 0.0;
|
|
||||||
htcs htcs [1 0 -3 -1 0] 1e-8; // 0.0;
|
|
||||||
|
|
||||||
rho rho [1 -3 0 0 0] 1000;
|
Cf 0.005;
|
||||||
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;
|
||||||
cp cp [0 2 -2 -1 0] 4187;
|
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;
|
injectionModel cloudInjection; // remove; // none; // cloudInjection;
|
||||||
|
|
||||||
@ -55,6 +57,8 @@ thermoSingleLayerCoeffs
|
|||||||
{
|
{
|
||||||
cloudName reactingCloud1;
|
cloudName reactingCloud1;
|
||||||
|
|
||||||
|
deltaStable 0;
|
||||||
|
|
||||||
particlesPerParcel 100.0;
|
particlesPerParcel 100.0;
|
||||||
|
|
||||||
parcelPDF
|
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";
|
foamChemistryThermoFile "$FOAM_CASE/chemkin/foam.dat";
|
||||||
|
|
||||||
liquidComponents
|
|
||||||
(
|
|
||||||
H2O
|
|
||||||
);
|
|
||||||
|
|
||||||
solidComponents
|
|
||||||
();
|
|
||||||
|
|
||||||
inertSpecie N2;
|
inertSpecie N2;
|
||||||
|
|
||||||
H2O H2O defaultCoeffs;
|
liquids
|
||||||
|
{
|
||||||
|
liquidComponents
|
||||||
|
(
|
||||||
|
H2O
|
||||||
|
);
|
||||||
|
|
||||||
|
H2O H2O defaultCoeffs;
|
||||||
|
}
|
||||||
|
|
||||||
|
solids
|
||||||
|
{
|
||||||
|
solidComponents
|
||||||
|
();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -36,6 +36,7 @@ gradSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(pL) Gauss linear;
|
grad(pL) Gauss linear;
|
||||||
|
grad(sigmaf) Gauss linear;
|
||||||
snGradCorr(deltaf) Gauss linear;
|
snGradCorr(deltaf) Gauss linear;
|
||||||
snGradCorr(pp) Gauss linear;
|
snGradCorr(pp) Gauss linear;
|
||||||
snGradCorr(pu) Gauss linear;
|
snGradCorr(pu) Gauss linear;
|
||||||
|
|||||||
Reference in New Issue
Block a user