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_; +} + + // ************************************************************************* //