mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Code refactoring to avoing ambiguities + clean-up
- pointSolid->solidProperties - pointSolidMixure->solidMixtureProperties - liquids->liquidProperties - liquidMixture->liquidMoxtureProperties
This commit is contained in:
@ -3,10 +3,10 @@ EXE_INC = \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/liquids/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/liquidMixture/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/pointSolids/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/pointSolidMixture/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/liquidProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/liquidMixtureProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/solidProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/solidMixtureProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/pdfs/lnInclude \
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -106,7 +106,7 @@ void Foam::surfaceFilmModels::standardPhaseChange::correct
|
||||
// set local thermo properties
|
||||
const SLGThermo& thermo = film.thermo();
|
||||
const label liqId = film.liquidId();
|
||||
const liquid& liq = thermo.liquids().properties()[liqId];
|
||||
const liquidProperties& liq = thermo.liquids().properties()[liqId];
|
||||
const label vapId = thermo.carrierId(thermo.liquids().components()[liqId]);
|
||||
|
||||
// retrieve fields from film model
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2009-2010 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2009-2011 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -81,7 +81,8 @@ void Foam::surfaceFilmModels::thermoSingleLayer::correctThermoFields()
|
||||
}
|
||||
case tmSingleComponent:
|
||||
{
|
||||
const liquid& liq = thermo_.liquids().properties()[liquidId_];
|
||||
const liquidProperties& liq =
|
||||
thermo_.liquids().properties()[liquidId_];
|
||||
forAll(rho_, cellI)
|
||||
{
|
||||
const scalar T = T_[cellI];
|
||||
|
||||
Reference in New Issue
Block a user