surfaceFilmModels: Removed dependency on the deprecated SLGThermo

SLGThermo has been moved to lagrangian, which still depends on it, pending
complete removal and replacement with a more rational interface to the carrier
phase thermodynamics.
This commit is contained in:
Henry Weller
2021-03-16 16:47:07 +00:00
parent 84103902ac
commit 96f07b0137
68 changed files with 418 additions and 183 deletions

View File

@ -13,7 +13,6 @@ EXE_INC = \
-I$(LIB_SRC)/combustionModels/lnInclude \ -I$(LIB_SRC)/combustionModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
-I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \
@ -33,7 +32,6 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lchemistryModel \ -lchemistryModel \
-lcombustionModels \ -lcombustionModels \
-lregionModels \ -lregionModels \

View File

@ -13,7 +13,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
@ -36,7 +35,6 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lchemistryModel \ -lchemistryModel \
-lregionModels \ -lregionModels \
-lsurfaceFilmModels \ -lsurfaceFilmModels \

View File

@ -14,7 +14,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
@ -37,7 +36,6 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lchemistryModel \ -lchemistryModel \
-lregionModels \ -lregionModels \
-lsurfaceFilmModels \ -lsurfaceFilmModels \

View File

@ -14,7 +14,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
@ -38,7 +37,6 @@ EXE_LIBS = \
-lspecie \ -lspecie \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lchemistryModel \ -lchemistryModel \
-lregionModels \ -lregionModels \
-lsurfaceFilmModels \ -lsurfaceFilmModels \

View File

@ -13,7 +13,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/ODE/lnInclude \ -I$(LIB_SRC)/ODE/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
@ -36,7 +35,6 @@ EXE_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lchemistryModel \ -lchemistryModel \
-lODE \ -lODE \
-lregionModels \ -lregionModels \

View File

@ -13,7 +13,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \
@ -34,7 +33,6 @@ EXE_LIBS = \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lfluidThermoMomentumTransportModels \
-lVoFphaseCompressibleMomentumTransportModels \ -lVoFphaseCompressibleMomentumTransportModels \
-lSLGThermo \
-lsurfaceFilmModels \ -lsurfaceFilmModels \
-lsurfaceFilmDerivedFvPatchFields \ -lsurfaceFilmDerivedFvPatchFields \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -58,15 +58,6 @@ Foam::fv::VoFSurfaceFilm::VoFSurfaceFilm
) )
: :
fvModel(sourceName, modelType, dict, mesh), fvModel(sourceName, modelType, dict, mesh),
phaseName_(dict.lookup("phase")),
thermo_
(
mesh.lookupObject<rhoThermo>
(
IOobject::groupName(basicThermo::dictName, phaseName_)
)
),
slgThermo_(mesh, thermo_),
film_ film_
( (
regionModels::surfaceFilmModel::New regionModels::surfaceFilmModel::New
@ -75,6 +66,14 @@ Foam::fv::VoFSurfaceFilm::VoFSurfaceFilm
mesh.lookupObject<uniformDimensionedVectorField>("g") mesh.lookupObject<uniformDimensionedVectorField>("g")
) )
), ),
phaseName_(dict.lookup("phase")),
thermo_
(
mesh.lookupObject<rhoThermo>
(
IOobject::groupName(basicThermo::dictName, phaseName_)
)
),
curTimeIndex_(-1) curTimeIndex_(-1)
{} {}
@ -159,11 +158,7 @@ void Foam::fv::VoFSurfaceFilm::addSup
Info<< type() << ": applying source to " << eqn.psi().name() << endl; Info<< type() << ": applying source to " << eqn.psi().name() << endl;
} }
// Temporary hack to handle mass and corresponding momentum loss from
// the primary region until SU() is added to film
eqn += film_->SU(); eqn += film_->SU();
// eqn += posPart(film_->Srho())*film_->U());
// eqn += fvm::Sp(negPart(film_->Srho()), eqn.psi());
} }

View File

@ -48,7 +48,6 @@ SourceFiles
#include "fvModel.H" #include "fvModel.H"
#include "rhoThermo.H" #include "rhoThermo.H"
#include "SLGThermo.H"
#include "surfaceFilmModel.H" #include "surfaceFilmModel.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -68,17 +67,14 @@ class VoFSurfaceFilm
{ {
// Private Data // Private Data
//- The surface film model pointer
mutable autoPtr<regionModels::surfaceFilmModel> film_;
//- The name of the phase which transfers to the film //- The name of the phase which transfers to the film
word phaseName_; word phaseName_;
//- Reference to the primary region thermo //- Reference to the primary region thermo
const rhoThermo& thermo_; const fluidThermo& thermo_;
//- The SLG thermo required by the surfaceFilmModel
SLGThermo slgThermo_;
//- The surface film model pointer
mutable autoPtr<regionModels::surfaceFilmModel> film_;
//- Current time index (used for updating) //- Current time index (used for updating)
mutable label curTimeIndex_; mutable label curTimeIndex_;

View File

@ -4,7 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/phaseCompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/phaseCompressible/lnInclude \

View File

@ -6,6 +6,9 @@ CLOUDS=clouds
BASECLOUDS=$(CLOUDS)/baseClasses BASECLOUDS=$(CLOUDS)/baseClasses
DERIVEDCLOUDS=$(CLOUDS)/derived DERIVEDCLOUDS=$(CLOUDS)/derived
# Thermo
SLGThermo/SLGThermo.C
# parcel cloud # parcel cloud
parcelCloud/parcelCloudBase.C parcelCloud/parcelCloudBase.C
parcelCloud/parcelCloud.C parcelCloud/parcelCloud.C

View File

@ -5,7 +5,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/radiationModels/lnInclude \ -I$(LIB_SRC)/radiationModels/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \ -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
@ -21,7 +20,6 @@ LIB_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lradiationModels \ -lradiationModels \
-lincompressibleTransportModels \ -lincompressibleTransportModels \
-lregionModels \ -lregionModels \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -6,7 +6,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
@ -25,7 +24,6 @@ LIB_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lradiationModels \ -lradiationModels \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lincompressibleMomentumTransportModels \ -lincompressibleMomentumTransportModels \

View File

@ -2,7 +2,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
@ -12,7 +11,6 @@ LIB_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lsolidThermo \ -lsolidThermo \
-lSLGThermo \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools -lmeshTools

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -139,7 +139,7 @@ protected:
//- Look-up table of species related to ft //- Look-up table of species related to ft
mutable autoPtr<interpolationLookUpTable> lookUpTablePtr_; mutable autoPtr<interpolationLookUpTable> lookUpTablePtr_;
//- SLG thermo package //- Thermo package
const fluidThermo& thermo_; const fluidThermo& thermo_;
//- Pointer list of species in the registry involved in the absorption //- Pointer list of species in the registry involved in the absorption

View File

@ -45,9 +45,10 @@ THERMOMODELS=submodels/thermo
$(THERMOMODELS)/phaseChangeModel/phaseChangeModel/phaseChangeModel.C $(THERMOMODELS)/phaseChangeModel/phaseChangeModel/phaseChangeModel.C
$(THERMOMODELS)/phaseChangeModel/phaseChangeModel/phaseChangeModelNew.C $(THERMOMODELS)/phaseChangeModel/phaseChangeModel/phaseChangeModelNew.C
$(THERMOMODELS)/phaseChangeModel/noPhaseChange/noPhaseChange.C $(THERMOMODELS)/phaseChangeModel/noPhaseChange/noPhaseChange.C
$(THERMOMODELS)/phaseChangeModel/speciePhaseChange/speciePhaseChange.C
$(THERMOMODELS)/phaseChangeModel/standardPhaseChange/standardPhaseChange.C $(THERMOMODELS)/phaseChangeModel/standardPhaseChange/standardPhaseChange.C
$(THERMOMODELS)/phaseChangeModel/solidification/solidification.C
$(THERMOMODELS)/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C $(THERMOMODELS)/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C
$(THERMOMODELS)/phaseChangeModel/solidification/solidification.C
$(THERMOMODELS)/heatTransferModel/heatTransferModel/heatTransferModel.C $(THERMOMODELS)/heatTransferModel/heatTransferModel/heatTransferModel.C
$(THERMOMODELS)/heatTransferModel/heatTransferModel/heatTransferModelNew.C $(THERMOMODELS)/heatTransferModel/heatTransferModel/heatTransferModelNew.C

View File

@ -3,7 +3,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \ -I$(LIB_SRC)/lagrangian/distributionModels/lnInclude \
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \ -I$(LIB_SRC)/regionModels/regionModel/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \
@ -14,7 +13,6 @@ LIB_LIBS = \
-lspecie \ -lspecie \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-ldistributionModels \ -ldistributionModels \
-lregionModels \ -lregionModels \
-lfiniteVolume \ -lfiniteVolume \

View File

@ -3,7 +3,6 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ -I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
@ -17,7 +16,6 @@ LIB_LIBS = \
-lspecie \ -lspecie \
-lthermophysicalProperties \ -lthermophysicalProperties \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lSLGThermo \
-lmomentumTransportModels \ -lmomentumTransportModels \
-lfluidThermoMomentumTransportModels \ -lfluidThermoMomentumTransportModels \
-lthermophysicalTransportModels \ -lthermophysicalTransportModels \

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -26,7 +26,6 @@ License
#include "liquidFilmThermo.H" #include "liquidFilmThermo.H"
#include "demandDrivenData.H" #include "demandDrivenData.H"
#include "thermoSingleLayer.H" #include "thermoSingleLayer.H"
#include "SLGThermo.H"
#include "extrapolatedCalculatedFvPatchFields.H" #include "extrapolatedCalculatedFvPatchFields.H"
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
@ -69,36 +68,6 @@ const thermoSingleLayer& liquidFilmThermo::thermoFilm() const
} }
void liquidFilmThermo::initLiquid(const dictionary& dict)
{
if (liquidPtr_ != nullptr)
{
return;
}
dict.lookup("liquid") >> name_;
if (filmModel_.primaryMesh().foundObject<SLGThermo>("SLGThermo"))
{
// retrieve from film thermo
ownLiquid_ = false;
const SLGThermo& thermo =
filmModel_.primaryMesh().lookupObject<SLGThermo>("SLGThermo");
label id = thermo.liquidId(name_);
liquidPtr_ = &thermo.liquids().properties()[id];
}
else
{
// new liquid create
ownLiquid_ = true;
liquidPtr_ =
liquidProperties::New(dict.optionalSubDict(name_ + "Coeffs")).ptr();
}
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
liquidFilmThermo::liquidFilmThermo liquidFilmThermo::liquidFilmThermo
@ -108,14 +77,29 @@ liquidFilmThermo::liquidFilmThermo
) )
: :
thermoModel(typeName, film, dict), thermoModel(typeName, film, dict),
name_("unknown_liquid"),
liquidPtr_(nullptr),
ownLiquid_(false),
useReferenceValues_(readBool(coeffDict_.lookup("useReferenceValues"))), useReferenceValues_(readBool(coeffDict_.lookup("useReferenceValues"))),
pRef_(0.0), pRef_(0.0),
TRef_(0.0) TRef_(0.0)
{ {
initLiquid(coeffDict_); if (dict.found("mixture"))
{
const dictionary& mixtureDict = dict.subDict("mixture");
const word name(mixtureDict.first()->keyword());
if (mixtureDict.isDict(name))
{
liquidPtr_ = liquidProperties::New(mixtureDict.subDict(name));
}
else
{
liquidPtr_ = liquidProperties::New(name);
}
}
else
{
liquidPtr_ = liquidProperties::New(dict.lookup<word>("liquid"));
}
if (useReferenceValues_) if (useReferenceValues_)
{ {
@ -128,19 +112,14 @@ liquidFilmThermo::liquidFilmThermo
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
liquidFilmThermo::~liquidFilmThermo() liquidFilmThermo::~liquidFilmThermo()
{ {}
if (ownLiquid_)
{
deleteDemandDrivenData(liquidPtr_);
}
}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
const word& liquidFilmThermo::name() const const word& liquidFilmThermo::name() const
{ {
return name_; return liquidPtr_->name();
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -62,11 +62,8 @@ protected:
// Protected data // Protected data
//- Liquid name
word name_;
//- Pointer to the liquid properties //- Pointer to the liquid properties
const liquidProperties* liquidPtr_; autoPtr<liquidProperties> liquidPtr_;
//- Flag to indicate that model owns the liquid object //- Flag to indicate that model owns the liquid object
bool ownLiquid_; bool ownLiquid_;

View File

@ -0,0 +1,96 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/
#include "speciePhaseChange.H"
#include "thermoSingleLayer.H"
#include "fluidThermo.H"
#include "basicSpecieMixture.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
namespace regionModels
{
namespace surfaceFilmModels
{
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
defineTypeNameAndDebug(speciePhaseChange, 0);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
speciePhaseChange::speciePhaseChange
(
const word& modelType,
surfaceFilmRegionModel& film,
const dictionary& dict
)
:
phaseChangeModel(modelType, film, dict)
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
speciePhaseChange::~speciePhaseChange()
{}
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
Foam::label speciePhaseChange::vapId() const
{
const thermoSingleLayer& film = filmType<thermoSingleLayer>();
const thermoModel& thermo = film.thermo();
const basicSpecieMixture& primarySpecieThermo =
refCast<const basicSpecieMixture>(film.primaryThermo());
return primarySpecieThermo.species()[thermo.name()];
}
Foam::scalar speciePhaseChange::Wvap() const
{
const thermoSingleLayer& film = filmType<thermoSingleLayer>();
const basicSpecieMixture& primarySpecieThermo =
refCast<const basicSpecieMixture>(film.primaryThermo());
return primarySpecieThermo.Wi(vapId());
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace surfaceFilmModels
} // End namespace regionModels
} // End namespace Foam
// ************************************************************************* //

View File

@ -0,0 +1,107 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2021 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::regionModels::surfaceFilmModels::speciePhaseChange
Description
Specie phase change model abstract base class
SourceFiles
speciePhaseChange.C
\*---------------------------------------------------------------------------*/
#ifndef speciePhaseChange_H
#define speciePhaseChange_H
#include "phaseChangeModel.H"
#include "thermoSingleLayer.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
namespace regionModels
{
namespace surfaceFilmModels
{
/*---------------------------------------------------------------------------*\
Class speciePhaseChange Declaration
\*---------------------------------------------------------------------------*/
class speciePhaseChange
:
public phaseChangeModel
{
public:
//- Runtime type information
TypeName("speciePhaseChange");
// Constructors
//- Construct from surface film model
speciePhaseChange
(
const word& modelType,
surfaceFilmRegionModel& film,
const dictionary& dict
);
//- Disallow default bitwise copy construction
speciePhaseChange(const speciePhaseChange&) = delete;
//- Destructor
virtual ~speciePhaseChange();
// Member Functions
label vapId() const;
scalar Wvap() const;
// Member Operators
//- Disallow default bitwise assignment
void operator=(const speciePhaseChange&) = delete;
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace surfaceFilmModels
} // End namespace regionModels
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -75,7 +75,7 @@ standardPhaseChange::standardPhaseChange
const dictionary& dict const dictionary& dict
) )
: :
phaseChangeModel(typeName, film, dict), speciePhaseChange(typeName, film, dict),
deltaMin_(coeffDict_.lookup<scalar>("deltaMin")), deltaMin_(coeffDict_.lookup<scalar>("deltaMin")),
L_(coeffDict_.lookup<scalar>("L")), L_(coeffDict_.lookup<scalar>("L")),
TbFactor_(coeffDict_.lookupOrDefault<scalar>("TbFactor", 1.1)), TbFactor_(coeffDict_.lookupOrDefault<scalar>("TbFactor", 1.1)),
@ -104,9 +104,7 @@ void standardPhaseChange::correctModel
const thermoSingleLayer& film = filmType<thermoSingleLayer>(); const thermoSingleLayer& film = filmType<thermoSingleLayer>();
// Set local thermo properties // Set local thermo properties
const SLGThermo& slgThermo = film.slgThermo();
const thermoModel& thermo = film.thermo(); const thermoModel& thermo = film.thermo();
const label vapId = slgThermo.carrierId(thermo.name());
// Retrieve fields from film model // Retrieve fields from film model
const scalarField& delta = film.delta(); const scalarField& delta = film.delta();
@ -124,7 +122,7 @@ void standardPhaseChange::correctModel
); );
// Molecular weight of vapour [kg/kmol] // Molecular weight of vapour [kg/kmol]
const scalar Wvap = slgThermo.carrier().Wi(vapId); const scalar Wvap = this->Wvap();
// Molecular weight of liquid [kg/kmol] // Molecular weight of liquid [kg/kmol]
const scalar Wliq = thermo.W(); const scalar Wliq = thermo.W();
@ -215,8 +213,7 @@ void standardPhaseChange::correctModel
else else
{ {
const thermoSingleLayer& film = filmType<thermoSingleLayer>(); const thermoSingleLayer& film = filmType<thermoSingleLayer>();
const label vapId = film.slgThermo().carrierId(film.thermo().name()); const scalarField& YInf = film.YPrimary()[vapId()];
const scalarField& YInf = film.YPrimary()[vapId];
correctModel(dt, availableMass, dMass, dEnergy, YInf); correctModel(dt, availableMass, dMass, dEnergy, YInf);
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -35,7 +35,7 @@ SourceFiles
#ifndef standardPhaseChange_H #ifndef standardPhaseChange_H
#define standardPhaseChange_H #define standardPhaseChange_H
#include "phaseChangeModel.H" #include "speciePhaseChange.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -52,7 +52,7 @@ namespace surfaceFilmModels
class standardPhaseChange class standardPhaseChange
: :
public phaseChangeModel public speciePhaseChange
{ {
protected: protected:

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -80,7 +80,7 @@ waxSolventEvaporation::waxSolventEvaporation
const dictionary& dict const dictionary& dict
) )
: :
phaseChangeModel(typeName, film, dict), speciePhaseChange(typeName, film, dict),
Wwax_ Wwax_
( (
IOobject IOobject
@ -161,9 +161,7 @@ void waxSolventEvaporation::correctModel
const surfaceScalarField& phi = film.phi(); const surfaceScalarField& phi = film.phi();
// Set local thermo properties // Set local thermo properties
const SLGThermo& slgThermo = film.slgThermo();
const thermoModel& thermo = film.thermo(); const thermoModel& thermo = film.thermo();
const label vapId = slgThermo.carrierId(thermo.name());
// Retrieve fields from film model // Retrieve fields from film model
const scalarField& pInf = film.pPrimary(); const scalarField& pInf = film.pPrimary();
@ -181,7 +179,7 @@ void waxSolventEvaporation::correctModel
); );
// Molecular weight of vapour [kg/kmol] // Molecular weight of vapour [kg/kmol]
const scalar Wvap = slgThermo.carrier().Wi(vapId); const scalar Wvap = this->Wvap();
const scalar Wwax = Wwax_.value(); const scalar Wwax = Wwax_.value();
const scalar Wsolvent = Wsolvent_.value(); const scalar Wsolvent = Wsolvent_.value();
@ -392,8 +390,7 @@ void waxSolventEvaporation::correctModel
else else
{ {
const thermoSingleLayer& film = filmType<thermoSingleLayer>(); const thermoSingleLayer& film = filmType<thermoSingleLayer>();
const label vapId = film.slgThermo().carrierId(film.thermo().name()); const scalarField& YInf = film.YPrimary()[vapId()];
const scalarField& YInf = film.YPrimary()[vapId];
correctModel(dt, availableMass, dMass, dEnergy, YInf); correctModel(dt, availableMass, dMass, dEnergy, YInf);
} }

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2019 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -35,7 +35,7 @@ SourceFiles
#ifndef waxSolventEvaporation_H #ifndef waxSolventEvaporation_H
#define waxSolventEvaporation_H #define waxSolventEvaporation_H
#include "phaseChangeModel.H" #include "speciePhaseChange.H"
#include "uniformDimensionedFields.H" #include "uniformDimensionedFields.H"
#include "Function1.H" #include "Function1.H"
@ -54,7 +54,7 @@ namespace surfaceFilmModels
class waxSolventEvaporation class waxSolventEvaporation
: :
public phaseChangeModel public speciePhaseChange
{ {
protected: protected:

View File

@ -24,6 +24,8 @@ License
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "thermoSingleLayer.H" #include "thermoSingleLayer.H"
#include "fluidThermo.H"
#include "basicSpecieMixture.H"
#include "fvcDdt.H" #include "fvcDdt.H"
#include "fvcDiv.H" #include "fvcDiv.H"
@ -38,7 +40,6 @@ License
#include "mappedFieldFvPatchField.H" #include "mappedFieldFvPatchField.H"
#include "mapDistribute.H" #include "mapDistribute.H"
#include "constants.H" #include "constants.H"
#include "addToRunTimeSelectionTable.H"
// Sub-models // Sub-models
#include "filmThermoModel.H" #include "filmThermoModel.H"
@ -47,6 +48,8 @@ License
#include "phaseChangeModel.H" #include "phaseChangeModel.H"
#include "filmRadiationModel.H" #include "filmRadiationModel.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam namespace Foam
@ -327,7 +330,15 @@ thermoSingleLayer::thermoSingleLayer
) )
: :
kinematicSingleLayer(modelType, mesh, g, regionType, false), kinematicSingleLayer(modelType, mesh, g, regionType, false),
slgThermo_(mesh.lookupObject<SLGThermo>("SLGThermo")), phaseName_(coeffs_.lookupOrDefault("phase", word::null)),
primaryThermo_
(
mesh.lookupObject<fluidThermo>
(
IOobject::groupName(basicThermo::dictName, phaseName_)
)
),
Cp_ Cp_
( (
@ -507,11 +518,14 @@ thermoSingleLayer::thermoSingleLayer
Info<< " limiting maximum temperature to " << Tmax_ << endl; Info<< " limiting maximum temperature to " << Tmax_ << endl;
} }
if (slgThermo_.hasMultiComponentCarrier()) if (isA<basicSpecieMixture>(primaryThermo_))
{ {
YPrimary_.setSize(slgThermo_.carrier().species().size()); const basicSpecieMixture& primarySpecieThermo =
refCast<const basicSpecieMixture>(primaryThermo_);
forAll(slgThermo_.carrier().species(), i) YPrimary_.setSize(primarySpecieThermo.species().size());
forAll(primarySpecieThermo.species(), i)
{ {
YPrimary_.set YPrimary_.set
( (
@ -520,7 +534,7 @@ thermoSingleLayer::thermoSingleLayer
( (
IOobject IOobject
( (
slgThermo_.carrier().species()[i], primarySpecieThermo.species()[i],
time().timeName(), time().timeName(),
regionMesh(), regionMesh(),
IOobject::NO_READ, IOobject::NO_READ,
@ -720,7 +734,10 @@ tmp<volScalarField::Internal> thermoSingleLayer::Srho
const label i const label i
) const ) const
{ {
const label vapId = slgThermo_.carrierId(thermo_->name()); const basicSpecieMixture& primarySpecieThermo =
refCast<const basicSpecieMixture>(primaryThermo_);
const label vapId = primarySpecieThermo.species()[thermo_->name()];
tmp<volScalarField::Internal> tSrho tmp<volScalarField::Internal> tSrho
( (

View File

@ -42,12 +42,15 @@ SourceFiles
#define thermoSingleLayer_H #define thermoSingleLayer_H
#include "kinematicSingleLayer.H" #include "kinematicSingleLayer.H"
#include "SLGThermo.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam namespace Foam
{ {
// Forward declaration of classes
class fluidThermo;
namespace regionModels namespace regionModels
{ {
namespace surfaceFilmModels namespace surfaceFilmModels
@ -77,10 +80,12 @@ protected:
// Protected data // Protected data
const word phaseName_;
// Thermo properties // Thermo properties
//- Reference to the SLGThermo //- Reference to the primary region thermo
const SLGThermo& slgThermo_; const fluidThermo& primaryThermo_;
// Fields // Fields
@ -252,8 +257,8 @@ public:
// Thermo properties // Thermo properties
//- Return const reference to the SLGThermo object //- Return const reference to the primary region thermo object
inline const SLGThermo& slgThermo() const; inline const fluidThermo& primaryThermo() const;
// Fields // Fields

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -39,9 +39,9 @@ namespace surfaceFilmModels
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
inline const SLGThermo& thermoSingleLayer::slgThermo() const inline const fluidThermo& thermoSingleLayer::primaryThermo() const
{ {
return slgThermo_; return primaryThermo_;
} }

View File

@ -12,7 +12,6 @@ wmake $targetType reactionThermo
wmake $targetType laminarFlameSpeed wmake $targetType laminarFlameSpeed
wmake $targetType chemistryModel wmake $targetType chemistryModel
wmake $targetType barotropicCompressibilityModel wmake $targetType barotropicCompressibilityModel
wmake $targetType SLGThermo
wmake $targetType solidThermo wmake $targetType solidThermo

View File

@ -1,3 +0,0 @@
SLGThermo/SLGThermo.C
LIB = $(FOAM_LIBBIN)/libSLGThermo

View File

@ -1,9 +0,0 @@
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude
LIB_LIBS = \
-lfiniteVolume

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::Ar::Ar()
: :
liquidProperties liquidProperties
( (
typeName,
39.948, 39.948,
150.86, 150.86,
4.8981e+6, 4.8981e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C10H22::C10H22()
: :
liquidProperties liquidProperties
( (
typeName,
142.285, 142.285,
617.70, 617.70,
2.11e+6, 2.11e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C12H26::C12H26()
: :
liquidProperties liquidProperties
( (
typeName,
170.338, 170.338,
658.0, 658.0,
1.82e+6, 1.82e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C13H28::C13H28()
: :
liquidProperties liquidProperties
( (
typeName,
184.365, 184.365,
675.80, 675.80,
1.7225e+6, 1.7225e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C14H30::C14H30()
: :
liquidProperties liquidProperties
( (
typeName,
198.392, 198.392,
692.40, 692.40,
1.6212e+6, 1.6212e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C16H34::C16H34()
: :
liquidProperties liquidProperties
( (
typeName,
226.446, 226.446,
720.60, 720.60,
1.4186e+6, 1.4186e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C2H5OH::C2H5OH()
: :
liquidProperties liquidProperties
( (
typeName,
46.069, 46.069,
516.25, 516.25,
6.3835e+6, 6.3835e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C2H6::C2H6()
: :
liquidProperties liquidProperties
( (
typeName,
30.070, 30.070,
305.32, 305.32,
4.872e+6, 4.872e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C2H6O::C2H6O()
: :
liquidProperties liquidProperties
( (
typeName,
46.069, 46.069,
400.10, 400.10,
5.3702e+6, 5.3702e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C3H6O::C3H6O()
: :
liquidProperties liquidProperties
( (
typeName,
58.08, 58.08,
508.20, 508.20,
4.7015e+6, 4.7015e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C3H8::C3H8()
: :
liquidProperties liquidProperties
( (
typeName,
44.096, 44.096,
369.83, 369.83,
4.248e+6, 4.248e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C4H10O::C4H10O()
: :
liquidProperties liquidProperties
( (
typeName,
74.123, 74.123,
466.70, 466.70,
3.6376e+6, 3.6376e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C6H14::C6H14()
: :
liquidProperties liquidProperties
( (
typeName,
86.177, 86.177,
507.60, 507.60,
3.025e+6, 3.025e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C6H6::C6H6()
: :
liquidProperties liquidProperties
( (
typeName,
78.114, 78.114,
562.16, 562.16,
4.898e+6, 4.898e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C7H16::C7H16()
: :
liquidProperties liquidProperties
( (
typeName,
100.204, 100.204,
540.20, 540.20,
2.74e+6, 2.74e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C7H8::C7H8()
: :
liquidProperties liquidProperties
( (
typeName,
92.141, 92.141,
591.79, 591.79,
4.1086e+6, 4.1086e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C8H10::C8H10()
: :
liquidProperties liquidProperties
( (
typeName,
106.167, 106.167,
617.17, 617.17,
3.6094e+6, 3.6094e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C8H18::C8H18()
: :
liquidProperties liquidProperties
( (
typeName,
114.231, 114.231,
568.70, 568.70,
2.49e+6, 2.49e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::C9H20::C9H20()
: :
liquidProperties liquidProperties
( (
typeName,
128.258, 128.258,
594.60, 594.60,
2.29e+6, 2.29e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::CH3OH::CH3OH()
: :
liquidProperties liquidProperties
( (
typeName,
32.042, 32.042,
512.58, 512.58,
8.0959e+6, 8.0959e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::CH4N2O::CH4N2O()
: :
liquidProperties liquidProperties
( (
typeName,
60.056, 60.056,
705.0, 705.0,
9.050e+6, 9.050e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::H2O::H2O()
: :
liquidProperties liquidProperties
( (
typeName,
18.015, 18.015,
647.13, 647.13,
2.2055e+7, 2.2055e+7,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::IC8H18::IC8H18()
: :
liquidProperties liquidProperties
( (
typeName,
114.231, 114.231,
543.96, 543.96,
2.5676e+6, 2.5676e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::IDEA::IDEA()
: :
liquidProperties liquidProperties
( (
typeName,
142.26, 142.26,
618.074, 618.074,
2.11e+6, 2.11e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::MB::MB()
: :
liquidProperties liquidProperties
( (
typeName,
102.133, 102.133,
554.5, 554.5,
3.4734e+6, 3.4734e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::N2::N2()
: :
liquidProperties liquidProperties
( (
typeName,
28.014, 28.014,
126.10, 126.10,
3.3944e+6, 3.3944e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::aC10H7CH3::aC10H7CH3()
: :
liquidProperties liquidProperties
( (
typeName,
142.2, 142.2,
772.04, 772.04,
3.66e+6, 3.66e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::bC10H7CH3::bC10H7CH3()
: :
liquidProperties liquidProperties
( (
typeName,
142.2, 142.2,
761.0, 761.0,
3.25e+6, 3.25e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::iC3H8O::iC3H8O()
: :
liquidProperties liquidProperties
( (
typeName,
60.096, 60.096,
508.31, 508.31,
4.7643e+6, 4.7643e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -38,6 +38,7 @@ namespace Foam
Foam::liquidProperties::liquidProperties Foam::liquidProperties::liquidProperties
( (
const word& name,
scalar W, scalar W,
scalar Tc, scalar Tc,
scalar Pc, scalar Pc,
@ -52,6 +53,7 @@ Foam::liquidProperties::liquidProperties
) )
: :
thermophysicalProperties(W), thermophysicalProperties(W),
name_(name),
Tc_(Tc), Tc_(Tc),
Pc_(Pc), Pc_(Pc),
Vc_(Vc), Vc_(Vc),
@ -68,6 +70,7 @@ Foam::liquidProperties::liquidProperties
Foam::liquidProperties::liquidProperties(const dictionary& dict) Foam::liquidProperties::liquidProperties(const dictionary& dict)
: :
thermophysicalProperties(dict), thermophysicalProperties(dict),
name_(dict.dictName()),
Tc_(dict.lookup<scalar>("Tc")), Tc_(dict.lookup<scalar>("Tc")),
Pc_(dict.lookup<scalar>("Pc")), Pc_(dict.lookup<scalar>("Pc")),
Vc_(dict.lookup<scalar>("Vc")), Vc_(dict.lookup<scalar>("Vc")),
@ -142,6 +145,12 @@ Foam::autoPtr<Foam::liquidProperties> Foam::liquidProperties::New
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
const Foam::word& Foam::liquidProperties::name() const
{
return name_;
}
Foam::scalar Foam::liquidProperties::S(scalar p, scalar T) const Foam::scalar Foam::liquidProperties::S(scalar p, scalar T) const
{ {
NotImplemented; NotImplemented;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -56,6 +56,9 @@ class liquidProperties
{ {
// Private Data // Private Data
//- Name of the liquid
const word name_;
//- Critical temperature [K] //- Critical temperature [K]
scalar Tc_; scalar Tc_;
@ -118,6 +121,7 @@ public:
//- Construct from components //- Construct from components
liquidProperties liquidProperties
( (
const word& name,
scalar W, scalar W,
scalar Tc, scalar Tc,
scalar Pc, scalar Pc,
@ -163,6 +167,10 @@ public:
// Member Functions // Member Functions
//- Return the name of the liquid
virtual const word& name() const;
// Physical constants which define the specie // Physical constants which define the specie
//- Mass fraction of this specie in mixture //- Mass fraction of this specie in mixture

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,6 +41,7 @@ Foam::nC3H8O::nC3H8O()
: :
liquidProperties liquidProperties
( (
typeName,
60.096, 60.096,
536.71, 536.71,
5.1696e+6, 5.1696e+6,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -114,6 +114,10 @@ public:
// Member Functions // Member Functions
//- Return the name of the liquid
virtual const word& name() const = 0;
// Physical constants which define the specie // Physical constants which define the specie
//- Molecular weight [kg/kmol] //- Molecular weight [kg/kmol]

View File

@ -19,15 +19,45 @@ surfaceFilmModel thermoSingleLayer;
regionName plateRegion; regionName plateRegion;
phase liquid;
thermophysicalProperties thermophysicalProperties
{ {
type liquid; type liquid;
liquid liquid; mixture
{
liquid
{
type H2O;
useReferenceValues yes; // Set Cp constant and the corresponding linear function for h for
pRef 1e5; // compatibility with the current hard-coded thermodynamics model in
TRef 300; // surfaceFilm
Cp
{
a 4200;
b 0;
c 0;
d 0;
e 0;
f 0;
}
h
{
a -1252230; // -Cp*TRef where TRef = 298.15
b 4200;
c 0;
d 0;
e 0;
f 0;
}
}
}
useReferenceValues no;
} }
viscosity viscosity

View File

@ -23,7 +23,7 @@ thermoType
energy sensibleInternalEnergy; energy sensibleInternalEnergy;
} }
"(mixture|liquids)" mixture
{ {
liquid liquid
{ {