mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Integrated Foundation code to commit 104aac5
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -73,6 +73,11 @@ public:
|
||||
|
||||
// Member functions
|
||||
|
||||
const ThermoType& mixture() const
|
||||
{
|
||||
return mixture_;
|
||||
}
|
||||
|
||||
const ThermoType& cellMixture(const label) const
|
||||
{
|
||||
return mixture_;
|
||||
|
||||
@ -23,16 +23,7 @@ License
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "rhoThermo.H"
|
||||
#include "heRhoThermo.H"
|
||||
#include "pureMixture.H"
|
||||
#include "thermo.H"
|
||||
#include "sensibleEnthalpy.H"
|
||||
#include "sensibleInternalEnergy.H"
|
||||
|
||||
#include "thermophysicalPropertiesSelector.H"
|
||||
#include "liquidProperties.H"
|
||||
|
||||
#include "liquidThermo.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -42,19 +33,6 @@ namespace Foam
|
||||
|
||||
/* * * * * * * * * * * * * * * private static data * * * * * * * * * * * * * */
|
||||
|
||||
typedef heRhoThermo
|
||||
<
|
||||
rhoThermo,
|
||||
pureMixture
|
||||
<
|
||||
species::thermo
|
||||
<
|
||||
thermophysicalPropertiesSelector<liquidProperties>,
|
||||
sensibleInternalEnergy
|
||||
>
|
||||
>
|
||||
> heRhoThermopureMixtureliquidProperties;
|
||||
|
||||
defineTemplateTypeNameAndDebugWithName
|
||||
(
|
||||
heRhoThermopureMixtureliquidProperties,
|
||||
|
||||
59
src/thermophysicalModels/basic/rhoThermo/liquidThermo.H
Normal file
59
src/thermophysicalModels/basic/rhoThermo/liquidThermo.H
Normal file
@ -0,0 +1,59 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2017 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 "rhoThermo.H"
|
||||
#include "heRhoThermo.H"
|
||||
#include "pureMixture.H"
|
||||
#include "thermo.H"
|
||||
#include "sensibleInternalEnergy.H"
|
||||
#include "thermophysicalPropertiesSelector.H"
|
||||
#include "liquidProperties.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
/* * * * * * * * * * * * * * * private static data * * * * * * * * * * * * * */
|
||||
|
||||
typedef heRhoThermo
|
||||
<
|
||||
rhoThermo,
|
||||
pureMixture
|
||||
<
|
||||
species::thermo
|
||||
<
|
||||
thermophysicalPropertiesSelector<liquidProperties>,
|
||||
sensibleInternalEnergy
|
||||
>
|
||||
>
|
||||
> heRhoThermopureMixtureliquidProperties;
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
} // End namespace Foam
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user