Standardised naming of multicomponent thermophysical properties: multiComponent -> multicomponent
Full backward-compatibility is provided which support for both multiComponentMixture and multiComponentPhaseModel provided but all tutorials have been updated.
This commit is contained in:
@ -35,7 +35,7 @@ Description
|
|||||||
#include "zeroDimensionalFvMesh.H"
|
#include "zeroDimensionalFvMesh.H"
|
||||||
#include "fluidMulticomponentThermo.H"
|
#include "fluidMulticomponentThermo.H"
|
||||||
#include "basicChemistryModel.H"
|
#include "basicChemistryModel.H"
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
#include "chemistrySolver.H"
|
#include "chemistrySolver.H"
|
||||||
#include "OFstream.H"
|
#include "OFstream.H"
|
||||||
#include "basicSpecieMixture.H"
|
#include "basicSpecieMixture.H"
|
||||||
|
|||||||
@ -7,9 +7,9 @@
|
|||||||
|
|
||||||
fluid.correctReactions();
|
fluid.correctReactions();
|
||||||
|
|
||||||
forAll(fluid.multiComponentPhases(), multiComponentPhasei)
|
forAll(fluid.multicomponentPhases(), multicomponentPhasei)
|
||||||
{
|
{
|
||||||
phaseModel& phase = fluid.multiComponentPhases()[multiComponentPhasei];
|
phaseModel& phase = fluid.multicomponentPhases()[multicomponentPhasei];
|
||||||
|
|
||||||
UPtrList<volScalarField>& Y = phase.YActiveRef();
|
UPtrList<volScalarField>& Y = phase.YActiveRef();
|
||||||
const volScalarField& alpha = phase;
|
const volScalarField& alpha = phase;
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "MultiComponentPhaseModel.H"
|
#include "MulticomponentPhaseModel.H"
|
||||||
|
|
||||||
#include "phaseSystem.H"
|
#include "phaseSystem.H"
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ License
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::MultiComponentPhaseModel
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::MulticomponentPhaseModel
|
||||||
(
|
(
|
||||||
const phaseSystem& fluid,
|
const phaseSystem& fluid,
|
||||||
const word& phaseName,
|
const word& phaseName,
|
||||||
@ -65,14 +65,14 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::MultiComponentPhaseModel
|
|||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::~MultiComponentPhaseModel()
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::~MulticomponentPhaseModel()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
void Foam::MultiComponentPhaseModel<BasePhaseModel>::correctSpecies()
|
void Foam::MulticomponentPhaseModel<BasePhaseModel>::correctSpecies()
|
||||||
{
|
{
|
||||||
this->thermo_->composition().normalise();
|
this->thermo_->composition().normalise();
|
||||||
BasePhaseModel::correctSpecies();
|
BasePhaseModel::correctSpecies();
|
||||||
@ -80,7 +80,7 @@ void Foam::MultiComponentPhaseModel<BasePhaseModel>::correctSpecies()
|
|||||||
|
|
||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
bool Foam::MultiComponentPhaseModel<BasePhaseModel>::pure() const
|
bool Foam::MulticomponentPhaseModel<BasePhaseModel>::pure() const
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@ bool Foam::MultiComponentPhaseModel<BasePhaseModel>::pure() const
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
Foam::tmp<Foam::fvScalarMatrix>
|
Foam::tmp<Foam::fvScalarMatrix>
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::YiEqn(volScalarField& Yi)
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::YiEqn(volScalarField& Yi)
|
||||||
{
|
{
|
||||||
const volScalarField& alpha = *this;
|
const volScalarField& alpha = *this;
|
||||||
const volScalarField& rho = this->thermo().rho();
|
const volScalarField& rho = this->thermo().rho();
|
||||||
@ -119,7 +119,7 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::YiEqn(volScalarField& Yi)
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
const Foam::PtrList<Foam::volScalarField>&
|
const Foam::PtrList<Foam::volScalarField>&
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::Y() const
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::Y() const
|
||||||
{
|
{
|
||||||
return this->thermo_->composition().Y();
|
return this->thermo_->composition().Y();
|
||||||
}
|
}
|
||||||
@ -127,7 +127,7 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::Y() const
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
const Foam::volScalarField&
|
const Foam::volScalarField&
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::Y(const word& name) const
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::Y(const word& name) const
|
||||||
{
|
{
|
||||||
return this->thermo_->composition().Y(name);
|
return this->thermo_->composition().Y(name);
|
||||||
}
|
}
|
||||||
@ -135,7 +135,7 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::Y(const word& name) const
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
Foam::PtrList<Foam::volScalarField>&
|
Foam::PtrList<Foam::volScalarField>&
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::YRef()
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::YRef()
|
||||||
{
|
{
|
||||||
return this->thermo_->composition().Y();
|
return this->thermo_->composition().Y();
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::YRef()
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
const Foam::UPtrList<Foam::volScalarField>&
|
const Foam::UPtrList<Foam::volScalarField>&
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::YActive() const
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::YActive() const
|
||||||
{
|
{
|
||||||
return YActive_;
|
return YActive_;
|
||||||
}
|
}
|
||||||
@ -151,7 +151,7 @@ Foam::MultiComponentPhaseModel<BasePhaseModel>::YActive() const
|
|||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
Foam::UPtrList<Foam::volScalarField>&
|
Foam::UPtrList<Foam::volScalarField>&
|
||||||
Foam::MultiComponentPhaseModel<BasePhaseModel>::YActiveRef()
|
Foam::MulticomponentPhaseModel<BasePhaseModel>::YActiveRef()
|
||||||
{
|
{
|
||||||
return YActive_;
|
return YActive_;
|
||||||
}
|
}
|
||||||
@ -22,19 +22,19 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::MultiComponentPhaseModel
|
Foam::MulticomponentPhaseModel
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class which represents a phase with multiple species. Returns the species'
|
Class which represents a phase with multiple species. Returns the species'
|
||||||
mass fractions, and their governing equations.
|
mass fractions, and their governing equations.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
MultiComponentPhaseModel.C
|
MulticomponentPhaseModel.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef MultiComponentPhaseModel_H
|
#ifndef MulticomponentPhaseModel_H
|
||||||
#define MultiComponentPhaseModel_H
|
#define MulticomponentPhaseModel_H
|
||||||
|
|
||||||
#include "phaseModel.H"
|
#include "phaseModel.H"
|
||||||
|
|
||||||
@ -44,11 +44,11 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class MultiComponentPhaseModel Declaration
|
Class MulticomponentPhaseModel Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class BasePhaseModel>
|
template<class BasePhaseModel>
|
||||||
class MultiComponentPhaseModel
|
class MulticomponentPhaseModel
|
||||||
:
|
:
|
||||||
public BasePhaseModel
|
public BasePhaseModel
|
||||||
{
|
{
|
||||||
@ -64,7 +64,7 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
MultiComponentPhaseModel
|
MulticomponentPhaseModel
|
||||||
(
|
(
|
||||||
const phaseSystem& fluid,
|
const phaseSystem& fluid,
|
||||||
const word& phaseName,
|
const word& phaseName,
|
||||||
@ -74,7 +74,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~MultiComponentPhaseModel();
|
virtual ~MulticomponentPhaseModel();
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
@ -114,7 +114,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
#include "MultiComponentPhaseModel.C"
|
#include "MulticomponentPhaseModel.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -35,7 +35,7 @@ License
|
|||||||
#include "IsothermalPhaseModel.H"
|
#include "IsothermalPhaseModel.H"
|
||||||
#include "AnisothermalPhaseModel.H"
|
#include "AnisothermalPhaseModel.H"
|
||||||
#include "PurePhaseModel.H"
|
#include "PurePhaseModel.H"
|
||||||
#include "MultiComponentPhaseModel.H"
|
#include "MulticomponentPhaseModel.H"
|
||||||
#include "InertPhaseModel.H"
|
#include "InertPhaseModel.H"
|
||||||
#include "ReactingPhaseModel.H"
|
#include "ReactingPhaseModel.H"
|
||||||
#include "MovingPhaseModel.H"
|
#include "MovingPhaseModel.H"
|
||||||
@ -144,7 +144,7 @@ namespace Foam
|
|||||||
typedef
|
typedef
|
||||||
AnisothermalPhaseModel
|
AnisothermalPhaseModel
|
||||||
<
|
<
|
||||||
MultiComponentPhaseModel
|
MulticomponentPhaseModel
|
||||||
<
|
<
|
||||||
InertPhaseModel
|
InertPhaseModel
|
||||||
<
|
<
|
||||||
@ -155,12 +155,22 @@ namespace Foam
|
|||||||
>
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
multiComponentPhaseModel;
|
multicomponentPhaseModel;
|
||||||
|
|
||||||
addNamedToRunTimeSelectionTable
|
addNamedToRunTimeSelectionTable
|
||||||
(
|
(
|
||||||
phaseModel,
|
phaseModel,
|
||||||
multiComponentPhaseModel,
|
multicomponentPhaseModel,
|
||||||
|
phaseSystem,
|
||||||
|
multicomponentPhaseModel
|
||||||
|
);
|
||||||
|
|
||||||
|
// Also add multicomponentPhaseModel with the name multiComponentPhaseModel
|
||||||
|
// for backward-compatibility
|
||||||
|
addNamedToRunTimeSelectionTable
|
||||||
|
(
|
||||||
|
phaseModel,
|
||||||
|
multicomponentPhaseModel,
|
||||||
phaseSystem,
|
phaseSystem,
|
||||||
multiComponentPhaseModel
|
multiComponentPhaseModel
|
||||||
);
|
);
|
||||||
@ -168,7 +178,7 @@ namespace Foam
|
|||||||
typedef
|
typedef
|
||||||
IsothermalPhaseModel
|
IsothermalPhaseModel
|
||||||
<
|
<
|
||||||
MultiComponentPhaseModel
|
MulticomponentPhaseModel
|
||||||
<
|
<
|
||||||
InertPhaseModel
|
InertPhaseModel
|
||||||
<
|
<
|
||||||
@ -179,20 +189,20 @@ namespace Foam
|
|||||||
>
|
>
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
multiComponentIsothermalPhaseModel;
|
multicomponentIsothermalPhaseModel;
|
||||||
|
|
||||||
addNamedToRunTimeSelectionTable
|
addNamedToRunTimeSelectionTable
|
||||||
(
|
(
|
||||||
phaseModel,
|
phaseModel,
|
||||||
multiComponentIsothermalPhaseModel,
|
multicomponentIsothermalPhaseModel,
|
||||||
phaseSystem,
|
phaseSystem,
|
||||||
multiComponentIsothermalPhaseModel
|
multicomponentIsothermalPhaseModel
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
AnisothermalPhaseModel
|
AnisothermalPhaseModel
|
||||||
<
|
<
|
||||||
MultiComponentPhaseModel
|
MulticomponentPhaseModel
|
||||||
<
|
<
|
||||||
ReactingPhaseModel
|
ReactingPhaseModel
|
||||||
<
|
<
|
||||||
|
|||||||
@ -261,24 +261,24 @@ Foam::phaseSystem::phaseSystem
|
|||||||
label movingPhasei = 0;
|
label movingPhasei = 0;
|
||||||
label stationaryPhasei = 0;
|
label stationaryPhasei = 0;
|
||||||
label anisothermalPhasei = 0;
|
label anisothermalPhasei = 0;
|
||||||
label multiComponentPhasei = 0;
|
label multicomponentPhasei = 0;
|
||||||
forAll(phaseModels_, phasei)
|
forAll(phaseModels_, phasei)
|
||||||
{
|
{
|
||||||
phaseModel& phase = phaseModels_[phasei];
|
phaseModel& phase = phaseModels_[phasei];
|
||||||
movingPhasei += !phase.stationary();
|
movingPhasei += !phase.stationary();
|
||||||
stationaryPhasei += phase.stationary();
|
stationaryPhasei += phase.stationary();
|
||||||
anisothermalPhasei += !phase.isothermal();
|
anisothermalPhasei += !phase.isothermal();
|
||||||
multiComponentPhasei += !phase.pure();
|
multicomponentPhasei += !phase.pure();
|
||||||
}
|
}
|
||||||
movingPhaseModels_.resize(movingPhasei);
|
movingPhaseModels_.resize(movingPhasei);
|
||||||
stationaryPhaseModels_.resize(stationaryPhasei);
|
stationaryPhaseModels_.resize(stationaryPhasei);
|
||||||
anisothermalPhaseModels_.resize(anisothermalPhasei);
|
anisothermalPhaseModels_.resize(anisothermalPhasei);
|
||||||
multiComponentPhaseModels_.resize(multiComponentPhasei);
|
multicomponentPhaseModels_.resize(multicomponentPhasei);
|
||||||
|
|
||||||
movingPhasei = 0;
|
movingPhasei = 0;
|
||||||
stationaryPhasei = 0;
|
stationaryPhasei = 0;
|
||||||
anisothermalPhasei = 0;
|
anisothermalPhasei = 0;
|
||||||
multiComponentPhasei = 0;
|
multicomponentPhasei = 0;
|
||||||
forAll(phaseModels_, phasei)
|
forAll(phaseModels_, phasei)
|
||||||
{
|
{
|
||||||
phaseModel& phase = phaseModels_[phasei];
|
phaseModel& phase = phaseModels_[phasei];
|
||||||
@ -296,7 +296,7 @@ Foam::phaseSystem::phaseSystem
|
|||||||
}
|
}
|
||||||
if (!phase.pure())
|
if (!phase.pure())
|
||||||
{
|
{
|
||||||
multiComponentPhaseModels_.set(multiComponentPhasei++, &phase);
|
multicomponentPhaseModels_.set(multicomponentPhasei++, &phase);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -143,7 +143,7 @@ protected:
|
|||||||
phaseModelPartialList anisothermalPhaseModels_;
|
phaseModelPartialList anisothermalPhaseModels_;
|
||||||
|
|
||||||
//- Multi-component phase models
|
//- Multi-component phase models
|
||||||
phaseModelPartialList multiComponentPhaseModels_;
|
phaseModelPartialList multicomponentPhaseModels_;
|
||||||
|
|
||||||
//- Total volumetric flux
|
//- Total volumetric flux
|
||||||
surfaceScalarField phi_;
|
surfaceScalarField phi_;
|
||||||
@ -302,10 +302,10 @@ public:
|
|||||||
inline phaseModelPartialList& anisothermalPhases();
|
inline phaseModelPartialList& anisothermalPhases();
|
||||||
|
|
||||||
//- Return the models for phases that have multiple species
|
//- Return the models for phases that have multiple species
|
||||||
inline const phaseModelPartialList& multiComponentPhases() const;
|
inline const phaseModelPartialList& multicomponentPhases() const;
|
||||||
|
|
||||||
//- Access the models for phases that have multiple species
|
//- Access the models for phases that have multiple species
|
||||||
inline phaseModelPartialList& multiComponentPhases();
|
inline phaseModelPartialList& multicomponentPhases();
|
||||||
|
|
||||||
//- Return the phase not given as an argument in a two-phase system
|
//- Return the phase not given as an argument in a two-phase system
|
||||||
// An error is generated if the system is not two-phase
|
// An error is generated if the system is not two-phase
|
||||||
|
|||||||
@ -88,16 +88,16 @@ Foam::phaseSystem::anisothermalPhases()
|
|||||||
|
|
||||||
|
|
||||||
inline const Foam::phaseSystem::phaseModelPartialList&
|
inline const Foam::phaseSystem::phaseModelPartialList&
|
||||||
Foam::phaseSystem::multiComponentPhases() const
|
Foam::phaseSystem::multicomponentPhases() const
|
||||||
{
|
{
|
||||||
return multiComponentPhaseModels_;
|
return multicomponentPhaseModels_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline Foam::phaseSystem::phaseModelPartialList&
|
inline Foam::phaseSystem::phaseModelPartialList&
|
||||||
Foam::phaseSystem::multiComponentPhases()
|
Foam::phaseSystem::multicomponentPhases()
|
||||||
{
|
{
|
||||||
return multiComponentPhaseModels_;
|
return multicomponentPhaseModels_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -36,15 +36,15 @@ energy
|
|||||||
mixture
|
mixture
|
||||||
(
|
(
|
||||||
pureMixture
|
pureMixture
|
||||||
multiComponentMixture
|
multicomponentMixture
|
||||||
valueMultiComponentMixture
|
valueMulticomponentMixture
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
mixtureRenamed
|
mixtureRenamed
|
||||||
(
|
(
|
||||||
pureMixture singleComponentMixture
|
pureMixture singleComponentMixture
|
||||||
multiComponentMixture coefficientMultiComponentMixture
|
multicomponentMixture coefficientMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
transport
|
transport
|
||||||
|
|||||||
@ -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) 2012-2021 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -29,6 +29,15 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
// Convert multiComponent -> multicomponent for backward-compatibility
|
||||||
|
inline Foam::word mixtureName(const Foam::dictionary& thermoTypeDict)
|
||||||
|
{
|
||||||
|
return
|
||||||
|
thermoTypeDict.lookup<Foam::word>("mixture")
|
||||||
|
.replace("multiComponent", "multicomponent");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Thermo, class Table>
|
template<class Thermo, class Table>
|
||||||
typename Table::iterator Foam::basicThermo::lookupCstrIter
|
typename Table::iterator Foam::basicThermo::lookupCstrIter
|
||||||
(
|
(
|
||||||
@ -57,7 +66,7 @@ typename Table::iterator Foam::basicThermo::lookupCstrIter
|
|||||||
List<Pair<word>>
|
List<Pair<word>>
|
||||||
{
|
{
|
||||||
{"type", thermoTypeDict.lookup("type")},
|
{"type", thermoTypeDict.lookup("type")},
|
||||||
{"mixture", thermoTypeDict.lookup("mixture")},
|
{"mixture", mixtureName(thermoTypeDict)},
|
||||||
{"transport", thermoTypeDict.lookup("transport")},
|
{"transport", thermoTypeDict.lookup("transport")},
|
||||||
{"thermo", thermoTypeDict.lookup("thermo")},
|
{"thermo", thermoTypeDict.lookup("thermo")},
|
||||||
{
|
{
|
||||||
@ -161,7 +170,7 @@ typename Table::iterator Foam::basicThermo::lookupCstrIter
|
|||||||
const word thermoTypeName
|
const word thermoTypeName
|
||||||
(
|
(
|
||||||
word(thermoTypeDict.lookup("type")) + '<'
|
word(thermoTypeDict.lookup("type")) + '<'
|
||||||
+ word(thermoTypeDict.lookup("mixture")) + '<'
|
+ word(mixtureName(thermoTypeDict)) + '<'
|
||||||
+ word(thermoTypeDict.lookup("properties")) + ','
|
+ word(thermoTypeDict.lookup("properties")) + ','
|
||||||
+ word(thermoTypeDict.lookup("energy")) + ">>"
|
+ word(thermoTypeDict.lookup("energy")) + ">>"
|
||||||
);
|
);
|
||||||
@ -193,7 +202,7 @@ typename Table::iterator Foam::basicThermo::lookupCstrIter
|
|||||||
const word thermoTypeName
|
const word thermoTypeName
|
||||||
(
|
(
|
||||||
word(thermoTypeDict.lookup("type")) + '<'
|
word(thermoTypeDict.lookup("type")) + '<'
|
||||||
+ word(thermoTypeDict.lookup("mixture")) + '<'
|
+ word(mixtureName(thermoTypeDict)) + '<'
|
||||||
+ word(thermoTypeDict.lookup("transport")) + '<'
|
+ word(thermoTypeDict.lookup("transport")) + '<'
|
||||||
+ word(thermoTypeDict.lookup("thermo")) + '<'
|
+ word(thermoTypeDict.lookup("thermo")) + '<'
|
||||||
+ word(thermoTypeDict.lookup("equationOfState")) + '<'
|
+ word(thermoTypeDict.lookup("equationOfState")) + '<'
|
||||||
|
|||||||
@ -45,7 +45,7 @@ Foam::chemistryModel<ThermoType>::chemistryModel
|
|||||||
? jacobianTypeNames_.read(this->lookup("jacobian"))
|
? jacobianTypeNames_.read(this->lookup("jacobian"))
|
||||||
: jacobianType::fast
|
: jacobianType::fast
|
||||||
),
|
),
|
||||||
mixture_(refCast<const multiComponentMixture<ThermoType>>(this->thermo())),
|
mixture_(refCast<const multicomponentMixture<ThermoType>>(this->thermo())),
|
||||||
specieThermos_(mixture_.specieThermos()),
|
specieThermos_(mixture_.specieThermos()),
|
||||||
reactions_(mixture_.species(), specieThermos_, this->mesh(), *this),
|
reactions_(mixture_.species(), specieThermos_, this->mesh(), *this),
|
||||||
RR_(nSpecie_),
|
RR_(nSpecie_),
|
||||||
|
|||||||
@ -70,7 +70,7 @@ SourceFiles
|
|||||||
#include "ReactionList.H"
|
#include "ReactionList.H"
|
||||||
#include "ODESystem.H"
|
#include "ODESystem.H"
|
||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
#include "chemistryReductionMethod.H"
|
#include "chemistryReductionMethod.H"
|
||||||
#include "chemistryTabulationMethod.H"
|
#include "chemistryTabulationMethod.H"
|
||||||
#include "DynamicField.H"
|
#include "DynamicField.H"
|
||||||
@ -135,7 +135,7 @@ class chemistryModel
|
|||||||
const jacobianType jacobianType_;
|
const jacobianType jacobianType_;
|
||||||
|
|
||||||
//- Reference to the multi component mixture
|
//- Reference to the multi component mixture
|
||||||
const multiComponentMixture<ThermoType>& mixture_;
|
const multicomponentMixture<ThermoType>& mixture_;
|
||||||
|
|
||||||
//- Thermodynamic data of the species
|
//- Thermodynamic data of the species
|
||||||
const PtrList<ThermoType>& specieThermos_;
|
const PtrList<ThermoType>& specieThermos_;
|
||||||
@ -215,7 +215,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return reference to the mixture
|
//- Return reference to the mixture
|
||||||
inline const multiComponentMixture<ThermoType>& mixture() const;
|
inline const multicomponentMixture<ThermoType>& mixture() const;
|
||||||
|
|
||||||
//- The reactions
|
//- The reactions
|
||||||
inline const PtrList<Reaction<ThermoType>>& reactions() const;
|
inline const PtrList<Reaction<ThermoType>>& reactions() const;
|
||||||
|
|||||||
@ -34,7 +34,7 @@ Foam::chemistryModel<ThermoType>::RR()
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
inline const Foam::multiComponentMixture<ThermoType>&
|
inline const Foam::multicomponentMixture<ThermoType>&
|
||||||
Foam::chemistryModel<ThermoType>::mixture() const
|
Foam::chemistryModel<ThermoType>::mixture() const
|
||||||
{
|
{
|
||||||
return mixture_;
|
return mixture_;
|
||||||
|
|||||||
@ -23,20 +23,20 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "coefficientMultiComponentMixture.H"
|
#include "coefficientMulticomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::coefficientMultiComponentMixture<ThermoType>::
|
Foam::coefficientMulticomponentMixture<ThermoType>::
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict,
|
const dictionary& thermoDict,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const word& phaseName
|
const word& phaseName
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
multiComponentMixture<ThermoType>
|
multicomponentMixture<ThermoType>
|
||||||
(
|
(
|
||||||
thermoDict,
|
thermoDict,
|
||||||
mesh,
|
mesh,
|
||||||
@ -50,8 +50,8 @@ coefficientMultiComponentMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::coefficientMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::coefficientMultiComponentMixture<ThermoType>::cellThermoMixture
|
Foam::coefficientMulticomponentMixture<ThermoType>::cellThermoMixture
|
||||||
(
|
(
|
||||||
const label celli
|
const label celli
|
||||||
) const
|
) const
|
||||||
@ -69,8 +69,8 @@ Foam::coefficientMultiComponentMixture<ThermoType>::cellThermoMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::coefficientMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::coefficientMultiComponentMixture<ThermoType>::patchFaceThermoMixture
|
Foam::coefficientMulticomponentMixture<ThermoType>::patchFaceThermoMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
const label facei
|
const label facei
|
||||||
@ -22,21 +22,21 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::coefficientMultiComponentMixture
|
Foam::coefficientMulticomponentMixture
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Thermophysical properties mixing class which applies mass-fraction weighted
|
Thermophysical properties mixing class which applies mass-fraction weighted
|
||||||
mixing to the thermodynamic and transport coefficients.
|
mixing to the thermodynamic and transport coefficients.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
coefficientMultiComponentMixture.C
|
coefficientMulticomponentMixture.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef coefficientMultiComponentMixture_H
|
#ifndef coefficientMulticomponentMixture_H
|
||||||
#define coefficientMultiComponentMixture_H
|
#define coefficientMulticomponentMixture_H
|
||||||
|
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -44,13 +44,13 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class coefficientMultiComponentMixture Declaration
|
Class coefficientMulticomponentMixture Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
class coefficientMultiComponentMixture
|
class coefficientMulticomponentMixture
|
||||||
:
|
:
|
||||||
public multiComponentMixture<ThermoType>
|
public multicomponentMixture<ThermoType>
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -75,7 +75,7 @@ public:
|
|||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from dictionary, mesh and phase name
|
//- Construct from dictionary, mesh and phase name
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary&,
|
const dictionary&,
|
||||||
const fvMesh&,
|
const fvMesh&,
|
||||||
@ -83,14 +83,14 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Disallow default bitwise copy construction
|
//- Disallow default bitwise copy construction
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
(
|
(
|
||||||
const coefficientMultiComponentMixture<ThermoType>&
|
const coefficientMulticomponentMixture<ThermoType>&
|
||||||
) = delete;
|
) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~coefficientMultiComponentMixture()
|
virtual ~coefficientMulticomponentMixture()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ public:
|
|||||||
//- Return the instantiated type name
|
//- Return the instantiated type name
|
||||||
static word typeName()
|
static word typeName()
|
||||||
{
|
{
|
||||||
return "multiComponentMixture<" + ThermoType::typeName() + '>';
|
return "multicomponentMixture<" + ThermoType::typeName() + '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
const thermoMixtureType& cellThermoMixture(const label celli) const;
|
const thermoMixtureType& cellThermoMixture(const label celli) const;
|
||||||
@ -155,7 +155,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
#include "coefficientMultiComponentMixture.C"
|
#include "coefficientMulticomponentMixture.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,20 +23,20 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "coefficientWilkeMultiComponentMixture.H"
|
#include "coefficientWilkeMulticomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict,
|
const dictionary& thermoDict,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const word& phaseName
|
const word& phaseName
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
multiComponentMixture<ThermoType>
|
multicomponentMixture<ThermoType>
|
||||||
(
|
(
|
||||||
thermoDict,
|
thermoDict,
|
||||||
mesh,
|
mesh,
|
||||||
@ -48,7 +48,7 @@ coefficientWilkeMultiComponentMixture
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixture::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixture::
|
||||||
transportMixture
|
transportMixture
|
||||||
(
|
(
|
||||||
const PtrList<ThermoType>& specieThermos
|
const PtrList<ThermoType>& specieThermos
|
||||||
@ -85,7 +85,7 @@ transportMixture
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
void Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixture::
|
void Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixture::
|
||||||
WilkeWeights
|
WilkeWeights
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
@ -123,7 +123,7 @@ WilkeWeights
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixture::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixture::
|
||||||
mu
|
mu
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
@ -144,7 +144,7 @@ mu
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixture::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixture::
|
||||||
kappa
|
kappa
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
@ -168,8 +168,8 @@ kappa
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::cellThermoMixture
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::cellThermoMixture
|
||||||
(
|
(
|
||||||
const label celli
|
const label celli
|
||||||
) const
|
) const
|
||||||
@ -187,8 +187,8 @@ Foam::coefficientWilkeMultiComponentMixture<ThermoType>::cellThermoMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::patchFaceThermoMixture
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::patchFaceThermoMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
const label facei
|
const label facei
|
||||||
@ -211,8 +211,8 @@ Foam::coefficientWilkeMultiComponentMixture<ThermoType>::patchFaceThermoMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::cellTransportMixture
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::cellTransportMixture
|
||||||
(
|
(
|
||||||
const label celli
|
const label celli
|
||||||
) const
|
) const
|
||||||
@ -240,8 +240,8 @@ Foam::coefficientWilkeMultiComponentMixture<ThermoType>::cellTransportMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::
|
||||||
patchFaceTransportMixture
|
patchFaceTransportMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
@ -272,8 +272,8 @@ patchFaceTransportMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::
|
||||||
cellTransportMixture
|
cellTransportMixture
|
||||||
(
|
(
|
||||||
const label celli,
|
const label celli,
|
||||||
@ -288,8 +288,8 @@ cellTransportMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::coefficientWilkeMultiComponentMixture<ThermoType>::
|
Foam::coefficientWilkeMulticomponentMixture<ThermoType>::
|
||||||
patchFaceTransportMixture
|
patchFaceTransportMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::coefficientWilkeMultiComponentMixture
|
Foam::coefficientWilkeMulticomponentMixture
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Thermophysical properties mixing class which applies mass-fraction weighted
|
Thermophysical properties mixing class which applies mass-fraction weighted
|
||||||
@ -37,14 +37,14 @@ Description
|
|||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
coefficientWilkeMultiComponentMixture.C
|
coefficientWilkeMulticomponentMixture.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef coefficientWilkeMultiComponentMixture_H
|
#ifndef coefficientWilkeMulticomponentMixture_H
|
||||||
#define coefficientWilkeMultiComponentMixture_H
|
#define coefficientWilkeMulticomponentMixture_H
|
||||||
|
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
#include "scalarMatrices.H"
|
#include "scalarMatrices.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -53,13 +53,13 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class coefficientWilkeMultiComponentMixture Declaration
|
Class coefficientWilkeMulticomponentMixture Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
class coefficientWilkeMultiComponentMixture
|
class coefficientWilkeMulticomponentMixture
|
||||||
:
|
:
|
||||||
public multiComponentMixture<ThermoType>
|
public multicomponentMixture<ThermoType>
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -96,7 +96,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
friend class coefficientWilkeMultiComponentMixture;
|
friend class coefficientWilkeMulticomponentMixture;
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ public:
|
|||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from dictionary, mesh and phase name
|
//- Construct from dictionary, mesh and phase name
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary&,
|
const dictionary&,
|
||||||
const fvMesh&,
|
const fvMesh&,
|
||||||
@ -149,14 +149,14 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Disallow default bitwise copy construction
|
//- Disallow default bitwise copy construction
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
(
|
(
|
||||||
const coefficientWilkeMultiComponentMixture<ThermoType>&
|
const coefficientWilkeMulticomponentMixture<ThermoType>&
|
||||||
) = delete;
|
) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~coefficientWilkeMultiComponentMixture()
|
virtual ~coefficientWilkeMulticomponentMixture()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -166,7 +166,7 @@ public:
|
|||||||
static word typeName()
|
static word typeName()
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
"coefficientWilkeMultiComponentMixture<"
|
"coefficientWilkeMulticomponentMixture<"
|
||||||
+ ThermoType::typeName() + '>';
|
+ ThermoType::typeName() + '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,7 +211,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
#include "coefficientWilkeMultiComponentMixture.C"
|
#include "coefficientWilkeMulticomponentMixture.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,13 +23,13 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::PtrList<ThermoType>
|
Foam::PtrList<ThermoType>
|
||||||
Foam::multiComponentMixture<ThermoType>::readSpeciesData
|
Foam::multicomponentMixture<ThermoType>::readSpeciesData
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict
|
const dictionary& thermoDict
|
||||||
) const
|
) const
|
||||||
@ -51,7 +51,7 @@ Foam::multiComponentMixture<ThermoType>::readSpeciesData
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::List<Foam::List<Foam::specieElement>>
|
Foam::List<Foam::List<Foam::specieElement>>
|
||||||
Foam::multiComponentMixture<ThermoType>::readSpeciesComposition
|
Foam::multicomponentMixture<ThermoType>::readSpeciesComposition
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict
|
const dictionary& thermoDict
|
||||||
) const
|
) const
|
||||||
@ -87,7 +87,7 @@ Foam::multiComponentMixture<ThermoType>::readSpeciesComposition
|
|||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::multiComponentMixture<ThermoType>::multiComponentMixture
|
Foam::multicomponentMixture<ThermoType>::multicomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict,
|
const dictionary& thermoDict,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
@ -111,7 +111,7 @@ Foam::multiComponentMixture<ThermoType>::multiComponentMixture
|
|||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
void Foam::multiComponentMixture<ThermoType>::read
|
void Foam::multicomponentMixture<ThermoType>::read
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict
|
const dictionary& thermoDict
|
||||||
)
|
)
|
||||||
@ -123,7 +123,7 @@ void Foam::multiComponentMixture<ThermoType>::read
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const Foam::List<Foam::specieElement>&
|
const Foam::List<Foam::specieElement>&
|
||||||
Foam::multiComponentMixture<ThermoType>::specieComposition
|
Foam::multicomponentMixture<ThermoType>::specieComposition
|
||||||
(
|
(
|
||||||
const label speciei
|
const label speciei
|
||||||
) const
|
) const
|
||||||
@ -22,18 +22,18 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::multiComponentMixture
|
Foam::multicomponentMixture
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Foam::multiComponentMixture
|
Foam::multicomponentMixture
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
multiComponentMixture.C
|
multicomponentMixture.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef multiComponentMixture_H
|
#ifndef multicomponentMixture_H
|
||||||
#define multiComponentMixture_H
|
#define multicomponentMixture_H
|
||||||
|
|
||||||
#include "basicSpecieMixture.H"
|
#include "basicSpecieMixture.H"
|
||||||
#include "HashPtrTable.H"
|
#include "HashPtrTable.H"
|
||||||
@ -45,11 +45,11 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class multiComponentMixture Declaration
|
Class multicomponentMixture Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
class multiComponentMixture
|
class multicomponentMixture
|
||||||
:
|
:
|
||||||
public basicSpecieMixture
|
public basicSpecieMixture
|
||||||
{
|
{
|
||||||
@ -88,17 +88,17 @@ public:
|
|||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from dictionary, mesh and phase name
|
//- Construct from dictionary, mesh and phase name
|
||||||
multiComponentMixture(const dictionary&, const fvMesh&, const word&);
|
multicomponentMixture(const dictionary&, const fvMesh&, const word&);
|
||||||
|
|
||||||
//- Disallow default bitwise copy construction
|
//- Disallow default bitwise copy construction
|
||||||
multiComponentMixture
|
multicomponentMixture
|
||||||
(
|
(
|
||||||
const multiComponentMixture<ThermoType>&
|
const multicomponentMixture<ThermoType>&
|
||||||
) = delete;
|
) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~multiComponentMixture()
|
virtual ~multicomponentMixture()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
#include "multiComponentMixture.C"
|
#include "multicomponentMixture.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,19 +23,19 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "valueMultiComponentMixture.H"
|
#include "valueMulticomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::valueMultiComponentMixture
|
Foam::valueMulticomponentMixture<ThermoType>::valueMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary& thermoDict,
|
const dictionary& thermoDict,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const word& phaseName
|
const word& phaseName
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
multiComponentMixture<ThermoType>
|
multicomponentMixture<ThermoType>
|
||||||
(
|
(
|
||||||
thermoDict,
|
thermoDict,
|
||||||
mesh,
|
mesh,
|
||||||
@ -50,7 +50,7 @@ Foam::valueMultiComponentMixture<ThermoType>::valueMultiComponentMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::limit
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::limit
|
||||||
(
|
(
|
||||||
const scalar T
|
const scalar T
|
||||||
) const
|
) const
|
||||||
@ -62,7 +62,7 @@ Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::limit
|
|||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
template<class Method, class ... Args>
|
template<class Method, class ... Args>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::massWeighted
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::massWeighted
|
||||||
(
|
(
|
||||||
Method psiMethod,
|
Method psiMethod,
|
||||||
const Args& ... args
|
const Args& ... args
|
||||||
@ -82,7 +82,7 @@ Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::massWeighted
|
|||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
template<class Method, class ... Args>
|
template<class Method, class ... Args>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::
|
||||||
harmonicMassWeighted
|
harmonicMassWeighted
|
||||||
(
|
(
|
||||||
Method psiMethod,
|
Method psiMethod,
|
||||||
@ -103,7 +103,7 @@ harmonicMassWeighted
|
|||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
template<class Method, class ... Args>
|
template<class Method, class ... Args>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::transportMixture::moleWeighted
|
Foam::valueMulticomponentMixture<ThermoType>::transportMixture::moleWeighted
|
||||||
(
|
(
|
||||||
Method psiMethod,
|
Method psiMethod,
|
||||||
const Args& ... args
|
const Args& ... args
|
||||||
@ -121,7 +121,7 @@ Foam::valueMultiComponentMixture<ThermoType>::transportMixture::moleWeighted
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::W
|
Foam::scalar Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::W
|
||||||
() const
|
() const
|
||||||
{
|
{
|
||||||
return harmonicMassWeighted(&ThermoType::W);
|
return harmonicMassWeighted(&ThermoType::W);
|
||||||
@ -129,7 +129,7 @@ Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::W
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::rho
|
Foam::scalar Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::rho
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
scalar T
|
scalar T
|
||||||
@ -140,7 +140,7 @@ Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::rho
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::psi
|
Foam::scalar Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::psi
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
scalar T
|
scalar T
|
||||||
@ -167,7 +167,7 @@ Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::psi
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::Hf
|
Foam::scalar Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::Hf
|
||||||
() const
|
() const
|
||||||
{
|
{
|
||||||
return massWeighted(&ThermoType::Hf);
|
return massWeighted(&ThermoType::Hf);
|
||||||
@ -177,7 +177,7 @@ Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::Hf
|
|||||||
#define thermoMixtureFunction(Func) \
|
#define thermoMixtureFunction(Func) \
|
||||||
template<class ThermoType> \
|
template<class ThermoType> \
|
||||||
Foam::scalar \
|
Foam::scalar \
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::Func \
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::Func \
|
||||||
( \
|
( \
|
||||||
scalar p, \
|
scalar p, \
|
||||||
scalar T \
|
scalar T \
|
||||||
@ -196,7 +196,7 @@ thermoMixtureFunction(HE)
|
|||||||
|
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::THE
|
Foam::scalar Foam::valueMulticomponentMixture<ThermoType>::thermoMixture::THE
|
||||||
(
|
(
|
||||||
const scalar he,
|
const scalar he,
|
||||||
scalar p,
|
scalar p,
|
||||||
@ -218,7 +218,7 @@ Foam::scalar Foam::valueMultiComponentMixture<ThermoType>::thermoMixture::THE
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::transportMixture::mu
|
Foam::valueMulticomponentMixture<ThermoType>::transportMixture::mu
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
scalar T
|
scalar T
|
||||||
@ -230,7 +230,7 @@ Foam::valueMultiComponentMixture<ThermoType>::transportMixture::mu
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
Foam::scalar
|
Foam::scalar
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::transportMixture::kappa
|
Foam::valueMulticomponentMixture<ThermoType>::transportMixture::kappa
|
||||||
(
|
(
|
||||||
scalar p,
|
scalar p,
|
||||||
scalar T
|
scalar T
|
||||||
@ -242,8 +242,8 @@ Foam::valueMultiComponentMixture<ThermoType>::transportMixture::kappa
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::cellThermoMixture
|
Foam::valueMulticomponentMixture<ThermoType>::cellThermoMixture
|
||||||
(
|
(
|
||||||
const label celli
|
const label celli
|
||||||
) const
|
) const
|
||||||
@ -261,8 +261,8 @@ Foam::valueMultiComponentMixture<ThermoType>::cellThermoMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::thermoMixtureType&
|
Foam::valueMulticomponentMixture<ThermoType>::thermoMixtureType&
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::patchFaceThermoMixture
|
Foam::valueMulticomponentMixture<ThermoType>::patchFaceThermoMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
const label facei
|
const label facei
|
||||||
@ -281,8 +281,8 @@ Foam::valueMultiComponentMixture<ThermoType>::patchFaceThermoMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::valueMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::cellTransportMixture
|
Foam::valueMulticomponentMixture<ThermoType>::cellTransportMixture
|
||||||
(
|
(
|
||||||
const label celli
|
const label celli
|
||||||
) const
|
) const
|
||||||
@ -308,8 +308,8 @@ Foam::valueMultiComponentMixture<ThermoType>::cellTransportMixture
|
|||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
const typename
|
const typename
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::transportMixtureType&
|
Foam::valueMulticomponentMixture<ThermoType>::transportMixtureType&
|
||||||
Foam::valueMultiComponentMixture<ThermoType>::patchFaceTransportMixture
|
Foam::valueMulticomponentMixture<ThermoType>::patchFaceTransportMixture
|
||||||
(
|
(
|
||||||
const label patchi,
|
const label patchi,
|
||||||
const label facei
|
const label facei
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::valueMultiComponentMixture
|
Foam::valueMulticomponentMixture
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Thermophysical properties mixing class which applies mass-fraction weighted
|
Thermophysical properties mixing class which applies mass-fraction weighted
|
||||||
@ -30,14 +30,14 @@ Description
|
|||||||
transport properties.
|
transport properties.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
valueMultiComponentMixture.C
|
valueMulticomponentMixture.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef valueMultiComponentMixture_H
|
#ifndef valueMulticomponentMixture_H
|
||||||
#define valueMultiComponentMixture_H
|
#define valueMulticomponentMixture_H
|
||||||
|
|
||||||
#include "multiComponentMixture.H"
|
#include "multicomponentMixture.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -45,13 +45,13 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class valueMultiComponentMixture Declaration
|
Class valueMulticomponentMixture Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class ThermoType>
|
template<class ThermoType>
|
||||||
class valueMultiComponentMixture
|
class valueMulticomponentMixture
|
||||||
:
|
:
|
||||||
public multiComponentMixture<ThermoType>
|
public multicomponentMixture<ThermoType>
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -79,7 +79,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
friend class valueMultiComponentMixture;
|
friend class valueMulticomponentMixture;
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ public:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
friend class valueMultiComponentMixture;
|
friend class valueMulticomponentMixture;
|
||||||
|
|
||||||
transportMixture
|
transportMixture
|
||||||
(
|
(
|
||||||
@ -204,7 +204,7 @@ public:
|
|||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from dictionary, mesh and phase name
|
//- Construct from dictionary, mesh and phase name
|
||||||
valueMultiComponentMixture
|
valueMulticomponentMixture
|
||||||
(
|
(
|
||||||
const dictionary&,
|
const dictionary&,
|
||||||
const fvMesh&,
|
const fvMesh&,
|
||||||
@ -212,14 +212,14 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Disallow default bitwise copy construction
|
//- Disallow default bitwise copy construction
|
||||||
valueMultiComponentMixture
|
valueMulticomponentMixture
|
||||||
(
|
(
|
||||||
const valueMultiComponentMixture<ThermoType>&
|
const valueMulticomponentMixture<ThermoType>&
|
||||||
) = delete;
|
) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~valueMultiComponentMixture()
|
virtual ~valueMulticomponentMixture()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -229,7 +229,7 @@ public:
|
|||||||
static word typeName()
|
static word typeName()
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
"valueMultiComponentMixture<" + ThermoType::typeName() + '>';
|
"valueMulticomponentMixture<" + ThermoType::typeName() + '>';
|
||||||
}
|
}
|
||||||
|
|
||||||
const thermoMixtureType& cellThermoMixture(const label celli) const;
|
const thermoMixtureType& cellThermoMixture(const label celli) const;
|
||||||
@ -279,7 +279,7 @@ public:
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifdef NoRepository
|
#ifdef NoRepository
|
||||||
#include "valueMultiComponentMixture.C"
|
#include "valueMulticomponentMixture.C"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -23,8 +23,8 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "coefficientMultiComponentMixture.H"
|
#include "coefficientMulticomponentMixture.H"
|
||||||
#include "coefficientWilkeMultiComponentMixture.H"
|
#include "coefficientWilkeMulticomponentMixture.H"
|
||||||
#include "singleComponentMixture.H"
|
#include "singleComponentMixture.H"
|
||||||
|
|
||||||
#include "psiThermo.H"
|
#include "psiThermo.H"
|
||||||
@ -62,13 +62,13 @@ namespace Foam
|
|||||||
forCoeffGases
|
forCoeffGases
|
||||||
(
|
(
|
||||||
makePsiMulticomponentThermos,
|
makePsiMulticomponentThermos,
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
forCoeffGases
|
forCoeffGases
|
||||||
(
|
(
|
||||||
makePsiMulticomponentThermos,
|
makePsiMulticomponentThermos,
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
forGases(makePsiMulticomponentThermo, singleComponentMixture);
|
forGases(makePsiMulticomponentThermo, singleComponentMixture);
|
||||||
|
|||||||
@ -23,9 +23,9 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "coefficientMultiComponentMixture.H"
|
#include "coefficientMulticomponentMixture.H"
|
||||||
#include "coefficientWilkeMultiComponentMixture.H"
|
#include "coefficientWilkeMulticomponentMixture.H"
|
||||||
#include "valueMultiComponentMixture.H"
|
#include "valueMulticomponentMixture.H"
|
||||||
#include "singleComponentMixture.H"
|
#include "singleComponentMixture.H"
|
||||||
|
|
||||||
#include "rhoThermo.H"
|
#include "rhoThermo.H"
|
||||||
@ -65,13 +65,13 @@ namespace Foam
|
|||||||
forCoeffGases
|
forCoeffGases
|
||||||
(
|
(
|
||||||
makeRhoMulticomponentThermos,
|
makeRhoMulticomponentThermos,
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
forCoeffGases
|
forCoeffGases
|
||||||
(
|
(
|
||||||
makeRhoMulticomponentThermos,
|
makeRhoMulticomponentThermos,
|
||||||
coefficientWilkeMultiComponentMixture
|
coefficientWilkeMulticomponentMixture
|
||||||
);
|
);
|
||||||
|
|
||||||
forGases(makeRhoMulticomponentThermo, singleComponentMixture);
|
forGases(makeRhoMulticomponentThermo, singleComponentMixture);
|
||||||
@ -79,12 +79,12 @@ namespace Foam
|
|||||||
forCoeffLiquids
|
forCoeffLiquids
|
||||||
(
|
(
|
||||||
makeRhoMulticomponentThermos,
|
makeRhoMulticomponentThermos,
|
||||||
coefficientMultiComponentMixture
|
coefficientMulticomponentMixture
|
||||||
);
|
);
|
||||||
forLiquids(makeRhoMulticomponentThermos, valueMultiComponentMixture);
|
forLiquids(makeRhoMulticomponentThermos, valueMulticomponentMixture);
|
||||||
forLiquids(makeRhoMulticomponentThermo, singleComponentMixture);
|
forLiquids(makeRhoMulticomponentThermo, singleComponentMixture);
|
||||||
|
|
||||||
forTabulated(makeRhoMulticomponentThermos, valueMultiComponentMixture);
|
forTabulated(makeRhoMulticomponentThermos, valueMulticomponentMixture);
|
||||||
forTabulated(makeRhoMulticomponentThermo, singleComponentMixture);
|
forTabulated(makeRhoMulticomponentThermo, singleComponentMixture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ nInterfaceCorrectors 1;
|
|||||||
|
|
||||||
gas
|
gas
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel none;
|
diameterModel none;
|
||||||
residualAlpha 1e-6;
|
residualAlpha 1e-6;
|
||||||
Sct 0.7;
|
Sct 0.7;
|
||||||
@ -30,7 +30,7 @@ gas
|
|||||||
|
|
||||||
liquid
|
liquid
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel constant;
|
diameterModel constant;
|
||||||
d 5e-4;
|
d 5e-4;
|
||||||
residualAlpha 1e-6;
|
residualAlpha 1e-6;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo eConst;
|
thermo eConst;
|
||||||
equationOfState rhoConst;
|
equationOfState rhoConst;
|
||||||
|
|||||||
@ -22,7 +22,7 @@ nInterfaceCorrectors 1;
|
|||||||
|
|
||||||
gas
|
gas
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel none;
|
diameterModel none;
|
||||||
residualAlpha 1e-6;
|
residualAlpha 1e-6;
|
||||||
Sct 0.7;
|
Sct 0.7;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -18,7 +18,7 @@ thermoType
|
|||||||
{
|
{
|
||||||
|
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture coefficientWilkeMultiComponentMixture;
|
mixture coefficientWilkeMulticomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture coefficientWilkeMultiComponentMixture;
|
mixture coefficientWilkeMulticomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type hePsiThermo;
|
type hePsiThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
energy sensibleEnthalpy;
|
energy sensibleEnthalpy;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -20,7 +20,7 @@ phases (gas liquid);
|
|||||||
|
|
||||||
gas
|
gas
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel isothermal;
|
diameterModel isothermal;
|
||||||
isothermalCoeffs
|
isothermalCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -20,7 +20,7 @@ phases (gas liquid);
|
|||||||
|
|
||||||
gas
|
gas
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel isothermal;
|
diameterModel isothermal;
|
||||||
isothermalCoeffs
|
isothermalCoeffs
|
||||||
{
|
{
|
||||||
@ -33,7 +33,7 @@ gas
|
|||||||
|
|
||||||
liquid
|
liquid
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
diameterModel constant;
|
diameterModel constant;
|
||||||
constantCoeffs
|
constantCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo eConst;
|
thermo eConst;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo eConst;
|
thermo eConst;
|
||||||
equationOfState rPolynomial;
|
equationOfState rPolynomial;
|
||||||
|
|||||||
@ -22,7 +22,7 @@ populationBalances (aggregates);
|
|||||||
|
|
||||||
particles
|
particles
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
|
|
||||||
diameterModel velocityGroup;
|
diameterModel velocityGroup;
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo hConst;
|
thermo hConst;
|
||||||
equationOfState rhoConst;
|
equationOfState rhoConst;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
@ -22,7 +22,7 @@ populationBalances (aggregates);
|
|||||||
|
|
||||||
particles
|
particles
|
||||||
{
|
{
|
||||||
type multiComponentPhaseModel;
|
type multicomponentPhaseModel;
|
||||||
|
|
||||||
diameterModel velocityGroup;
|
diameterModel velocityGroup;
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport const;
|
transport const;
|
||||||
thermo hConst;
|
thermo hConst;
|
||||||
equationOfState rhoConst;
|
equationOfState rhoConst;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
thermoType
|
thermoType
|
||||||
{
|
{
|
||||||
type heRhoThermo;
|
type heRhoThermo;
|
||||||
mixture multiComponentMixture;
|
mixture multicomponentMixture;
|
||||||
transport sutherland;
|
transport sutherland;
|
||||||
thermo janaf;
|
thermo janaf;
|
||||||
equationOfState perfectGas;
|
equationOfState perfectGas;
|
||||||
|
|||||||
Reference in New Issue
Block a user