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:
Henry
2015-02-18 21:21:22 +00:00
parent 9cd665988d
commit 4db6925cee
69 changed files with 851 additions and 453 deletions

View File

@ -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