diff --git a/applications/utilities/mesh/manipulation/topoSet/topoSet.C b/applications/utilities/mesh/manipulation/topoSet/topoSet.C index e4acfcdeab147070617dfbf04c0aaf3129e2c6ec..2f15bdce1d76f661e21af1ad9ff4e1f7bc172a52 100644 --- a/applications/utilities/mesh/manipulation/topoSet/topoSet.C +++ b/applications/utilities/mesh/manipulation/topoSet/topoSet.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -154,7 +154,7 @@ int main(int argc, char *argv[]) IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE ) - ) + ) ); diff --git a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.C b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.C index 5ac41aa0e6c3f59791254eb45d03843a1905b460..839ef42ba22e2708442a9892ffe8f0bc4b65b0dc 100644 --- a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.C +++ b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.C @@ -108,6 +108,8 @@ void Foam::singleStepReactingMixture<ThermoType>::calculateMaxProducts() Yprod0_[specieI] = this->speciesData()[specieI].W()/Wm*Xi[i]; } + Info << "Maximum products mass concentrations :" << Yprod0_<< endl; + // Normalize the stoichiometric coeff to mass forAll(specieStoichCoeffs_, i) { diff --git a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H index 5f31f225eab6f374287c5c7d87ac7666e506af2f..9e1270de055ead4ace28bbf06fe0735e9357308d 100644 --- a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H +++ b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H @@ -152,6 +152,9 @@ public: //- Return the list to indicate if specie is produced/consumed inline const List<int>& specieProd() const; + //- Return the list of products mass concentrations + inline const scalarList& Yprod0() const; + // I-O diff --git a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixtureI.H b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixtureI.H index f8cfe1d9f14d290fa3d2d7a5212a34bd782142a9..9fab9b30a07b2ab3e55bbac0cc3995e2a885bd8a 100644 --- a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixtureI.H +++ b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixtureI.H @@ -94,4 +94,12 @@ Foam::singleStepReactingMixture<ThermoType>::specieProd() const } +template<class ThermoType> +inline const Foam::scalarList& +Foam::singleStepReactingMixture<ThermoType>::Yprod0() const +{ + return Yprod0_; +} + + // ************************************************************************* //