surfaceFilmModels: Rationalised and standardised the surfaceFilmProperties dictionary
The convoluted separate ".*Coeffs" dictionary form of model coefficient
specification is now deprecated and replaced with the simpler sub-dictionary
form but support is provided for the deprecated form for backward comparability.
e.g.
thermophysicalProperties
{
type liquid;
useReferenceValues no;
liquid H2O;
}
rather than
filmThermoModel liquid;
liquidCoeffs
{
useReferenceValues no;
liquid H2O;
}
and
forces
{
thermocapillary;
distributionContactAngle
{
Ccf 0.085;
distribution
{
type normal;
normalDistribution
{
minValue 50;
maxValue 100;
expectation 75;
variance 100;
}
}
zeroForcePatches ();
}
}
rather than
forces
(
thermocapillary
distributionContactAngle
);
distributionContactAngleCoeffs
{
Ccf 0.085;
distribution
{
type normal;
normalDistribution
{
minValue 50;
maxValue 100;
expectation 75;
variance 100;
}
}
zeroForcePatches ();
}
All the tutorial cases containing a surface film have been updated for guidance,
e.g. tutorials/lagrangian/buoyantReactingParticleFoam/hotBoxes/constant/surfaceFilmProperties
surfaceFilmModel thermoSingleLayer;
regionName wallFilmRegion;
active true;
thermophysicalProperties
{
type liquid;
useReferenceValues no;
liquid H2O;
}
viscosity
{
model liquid;
}
deltaWet 1e-4;
hydrophilic no;
momentumTransport
{
model laminar;
Cf 0.005;
}
forces
{
thermocapillary;
distributionContactAngle
{
Ccf 0.085;
distribution
{
type normal;
normalDistribution
{
minValue 50;
maxValue 100;
expectation 75;
variance 100;
}
}
zeroForcePatches ();
}
}
injection
{
curvatureSeparation
{
definedPatchRadii
(
("(cube[0-9][0-9]_side[0-9]_to_cube[0-9][0-9]_side[0-9])" 0)
);
}
drippingInjection
{
cloudName reactingCloud1;
deltaStable 0;
particlesPerParcel 100.0;
parcelDistribution
{
type RosinRammler;
RosinRammlerDistribution
{
minValue 5e-04;
maxValue 0.0012;
d 7.5e-05;
n 0.5;
}
}
}
}
phaseChange
{
model standardPhaseChange;
Tb 373;
deltaMin 1e-8;
L 1.0;
}
upperSurfaceModels
{
heatTransfer
{
model mappedConvectiveHeatTransfer;
}
}
lowerSurfaceModels
{
heatTransfer
{
model constant;
c0 50;
}
}
This commit is contained in:
@ -21,54 +21,51 @@ regionName wallFilmRegion;
|
||||
|
||||
active true;
|
||||
|
||||
thermoSingleLayerCoeffs
|
||||
thermophysicalProperties
|
||||
{
|
||||
filmThermoModel liquid;
|
||||
type liquid;
|
||||
|
||||
liquidCoeffs
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
|
||||
viscosity
|
||||
{
|
||||
model liquid;
|
||||
}
|
||||
|
||||
deltaWet 1e-4;
|
||||
|
||||
hydrophilic no;
|
||||
|
||||
momentumTransport
|
||||
{
|
||||
model laminar;
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
forces
|
||||
{
|
||||
thermocapillary;
|
||||
}
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
|
||||
filmViscosityModel liquid;
|
||||
|
||||
deltaWet 1e-4;
|
||||
|
||||
hydrophilic no;
|
||||
|
||||
turbulence laminar;
|
||||
laminarCoeffs
|
||||
{
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
forces
|
||||
(
|
||||
thermocapillary
|
||||
);
|
||||
|
||||
injectionModels ();
|
||||
|
||||
phaseChangeModel none;
|
||||
|
||||
radiationModel none;
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
model constant;
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
model constant;
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -21,58 +21,33 @@ regionName wallFilmRegion;
|
||||
|
||||
active true;
|
||||
|
||||
thermoSingleLayerCoeffs
|
||||
thermophysicalProperties
|
||||
{
|
||||
filmThermoModel liquid;
|
||||
type liquid;
|
||||
|
||||
liquidCoeffs
|
||||
{
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
|
||||
filmViscosityModel liquid;
|
||||
viscosity
|
||||
{
|
||||
model liquid;
|
||||
}
|
||||
|
||||
deltaWet 1e-4;
|
||||
deltaWet 1e-4;
|
||||
hydrophilic no;
|
||||
|
||||
hydrophilic no;
|
||||
momentumTransport
|
||||
{
|
||||
model laminar;
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
radiationModel none;
|
||||
forces
|
||||
{
|
||||
thermocapillary;
|
||||
|
||||
turbulence laminar;
|
||||
laminarCoeffs
|
||||
{
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
/*
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
*/
|
||||
heatTransferModel mappedConvectiveHeatTransfer;
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 50;
|
||||
}
|
||||
}
|
||||
|
||||
forces
|
||||
(
|
||||
thermocapillary
|
||||
distributionContactAngle
|
||||
);
|
||||
|
||||
distributionContactAngleCoeffs
|
||||
distributionContactAngle
|
||||
{
|
||||
Ccf 0.085;
|
||||
|
||||
@ -90,14 +65,11 @@ thermoSingleLayerCoeffs
|
||||
|
||||
zeroForcePatches ();
|
||||
}
|
||||
}
|
||||
|
||||
injectionModels
|
||||
(
|
||||
curvatureSeparation
|
||||
drippingInjection
|
||||
);
|
||||
|
||||
curvatureSeparationCoeffs
|
||||
injection
|
||||
{
|
||||
curvatureSeparation
|
||||
{
|
||||
definedPatchRadii
|
||||
(
|
||||
@ -105,7 +77,7 @@ thermoSingleLayerCoeffs
|
||||
);
|
||||
}
|
||||
|
||||
drippingInjectionCoeffs
|
||||
drippingInjection
|
||||
{
|
||||
cloudName reactingCloud1;
|
||||
deltaStable 0;
|
||||
@ -124,14 +96,30 @@ thermoSingleLayerCoeffs
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
phaseChangeModel standardPhaseChange;
|
||||
phaseChange
|
||||
{
|
||||
model standardPhaseChange;
|
||||
Tb 373;
|
||||
deltaMin 1e-8;
|
||||
L 1.0;
|
||||
}
|
||||
|
||||
standardPhaseChangeCoeffs
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
Tb 373;
|
||||
deltaMin 1e-8;
|
||||
L 1.0;
|
||||
model mappedConvectiveHeatTransfer;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
model constant;
|
||||
c0 50;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -21,32 +21,27 @@ regionName wallFilmRegion;
|
||||
|
||||
active true;
|
||||
|
||||
kinematicSingleLayerCoeffs
|
||||
thermophysicalProperties
|
||||
{
|
||||
filmThermoModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
specie water;
|
||||
rho0 1000;
|
||||
mu0 1e-3;
|
||||
sigma0 0.07;
|
||||
}
|
||||
type constant;
|
||||
|
||||
injectionModels ();
|
||||
specie water;
|
||||
rho0 1000;
|
||||
mu0 1e-3;
|
||||
sigma0 0.07;
|
||||
}
|
||||
|
||||
turbulence laminar;
|
||||
laminarCoeffs
|
||||
{
|
||||
Cf 0.001;
|
||||
}
|
||||
momentumTransport
|
||||
{
|
||||
model laminar;
|
||||
Cf 0.001;
|
||||
}
|
||||
|
||||
forces
|
||||
(
|
||||
thermocapillary
|
||||
distributionContactAngle
|
||||
);
|
||||
forces
|
||||
{
|
||||
thermocapillary;
|
||||
|
||||
distributionContactAngleCoeffs
|
||||
distributionContactAngle
|
||||
{
|
||||
Ccf 1;
|
||||
|
||||
@ -61,8 +56,6 @@ kinematicSingleLayerCoeffs
|
||||
variance 100;
|
||||
}
|
||||
}
|
||||
|
||||
zeroForcePatches ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -21,54 +21,50 @@ regionName wallFilm;
|
||||
|
||||
active true;
|
||||
|
||||
thermoSingleLayerCoeffs
|
||||
thermophysicalProperties
|
||||
{
|
||||
filmThermoModel liquid;
|
||||
type liquid;
|
||||
|
||||
liquidCoeffs
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
|
||||
viscosity
|
||||
{
|
||||
model liquid;
|
||||
}
|
||||
|
||||
deltaWet 1e-4;
|
||||
hydrophilic no;
|
||||
|
||||
momentumTransport
|
||||
{
|
||||
model laminar;
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
forces
|
||||
{
|
||||
thermocapillary;
|
||||
}
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
useReferenceValues no;
|
||||
liquid H2O;
|
||||
}
|
||||
|
||||
filmViscosityModel liquid;
|
||||
|
||||
deltaWet 1e-4;
|
||||
hydrophilic no;
|
||||
|
||||
turbulence laminar;
|
||||
laminarCoeffs
|
||||
{
|
||||
Cf 0.005;
|
||||
}
|
||||
|
||||
forces
|
||||
(
|
||||
thermocapillary
|
||||
);
|
||||
|
||||
injectionModels
|
||||
();
|
||||
|
||||
phaseChangeModel none;
|
||||
|
||||
radiationModel none;
|
||||
|
||||
upperSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransferModel constant;
|
||||
constantCoeffs
|
||||
{
|
||||
c0 1e-8;
|
||||
}
|
||||
model constant;
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
lowerSurfaceModels
|
||||
{
|
||||
heatTransfer
|
||||
{
|
||||
model constant;
|
||||
c0 1e-8;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user