diff --git a/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C b/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C index 077e77fd..6d13bb92 100644 --- a/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C +++ b/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -194,19 +194,19 @@ void turbulentHeatFluxTemperatureFvPatchScalarField::updateCoeffs() // retrieve (constant) specific heat capacity from transport dictionary const IOdictionary& transportProperties = db().lookupObject("transportProperties"); - const scalar Cp0(readScalar(transportProperties.lookup("Cp0"))); + const scalar rhoCp0(readScalar(transportProperties.lookup("rhoCp0"))); switch (heatSource_) { case hsPower: { const scalar Ap = gSum(patch().magSf()); - gradient() = q_/(Ap*Cp0*alphaEffp); + gradient() = q_/(Ap*rhoCp0*alphaEffp); break; } case hsFlux: { - gradient() = q_/(Cp0*alphaEffp); + gradient() = q_/(rhoCp0*alphaEffp); break; } default: diff --git a/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H b/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H index 3a7e1d84..f06fa9dc 100644 --- a/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H +++ b/src/turbulenceModels/incompressible/turbulenceModel/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -54,9 +54,9 @@ Description \endverbatim Note - - it is assumed that the units of \c alphaEff are [kg/m/s] - - the specific heat capcaity is read from the transport dictionary entry - \c Cp0 + - The units of \c alphaEff are [kg/m/s] + - The density*specific heat capacity \c rhoCp0 (units [kg/m3]*[J/kg/K]) + is read from the transport dictionary entry SourceFiles turbulentHeatFluxTemperatureFvPatchScalarField.C