Thermodyamics: Add support for multiphase
Pass the phase-name through hierarchy Add phase-name to variables Split basicCombustionMixture Update applications accordingly
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -39,11 +39,12 @@ namespace Foam
|
||||
|
||||
Foam::basicSolidChemistryModel::basicSolidChemistryModel
|
||||
(
|
||||
const fvMesh& mesh
|
||||
const fvMesh& mesh,
|
||||
const word& phaseName
|
||||
)
|
||||
:
|
||||
basicChemistryModel(mesh),
|
||||
solidThermo_(solidReactionThermo::New(mesh))
|
||||
basicChemistryModel(mesh, phaseName),
|
||||
solidThermo_(solidReactionThermo::New(mesh, phaseName))
|
||||
{}
|
||||
|
||||
|
||||
@ -88,7 +89,7 @@ Foam::tmp<Foam::DimensionedField<Foam::scalar, Foam::volMesh> >
|
||||
Foam::basicSolidChemistryModel::calculateRR
|
||||
(
|
||||
const label reactionI,
|
||||
const label specieI
|
||||
const label speciei
|
||||
) const
|
||||
{
|
||||
notImplemented
|
||||
|
||||
Reference in New Issue
Block a user