BUG: Removed unused look-up of Cp name for ico turb heat flux BC

This commit is contained in:
andy
2011-11-18 08:53:33 +00:00
parent 736f3c1d8e
commit 7db0461d06
2 changed files with 5 additions and 13 deletions

View File

@ -78,8 +78,7 @@ turbulentHeatFluxTemperatureFvPatchScalarField
fixedGradientFvPatchScalarField(p, iF),
heatSource_(hsPower),
q_(p.size(), 0.0),
alphaEffName_("undefinedAlphaEff"),
CpName_("undefinedCp")
alphaEffName_("undefinedAlphaEff")
{}
@ -95,8 +94,7 @@ turbulentHeatFluxTemperatureFvPatchScalarField
fixedGradientFvPatchScalarField(ptf, p, iF, mapper),
heatSource_(ptf.heatSource_),
q_(ptf.q_, mapper),
alphaEffName_(ptf.alphaEffName_),
CpName_(ptf.CpName_)
alphaEffName_(ptf.alphaEffName_)
{}
@ -111,8 +109,7 @@ turbulentHeatFluxTemperatureFvPatchScalarField
fixedGradientFvPatchScalarField(p, iF),
heatSource_(heatSourceTypeNames_.read(dict.lookup("heatSource"))),
q_("q", dict, p.size()),
alphaEffName_(dict.lookup("alphaEff")),
CpName_(dict.lookup("Cp"))
alphaEffName_(dict.lookup("alphaEff"))
{
fvPatchField<scalar>::operator=(patchInternalField());
gradient() = 0.0;
@ -128,8 +125,7 @@ turbulentHeatFluxTemperatureFvPatchScalarField
fixedGradientFvPatchScalarField(thftpsf),
heatSource_(thftpsf.heatSource_),
q_(thftpsf.q_),
alphaEffName_(thftpsf.alphaEffName_),
CpName_(thftpsf.CpName_)
alphaEffName_(thftpsf.alphaEffName_)
{}
@ -143,8 +139,7 @@ turbulentHeatFluxTemperatureFvPatchScalarField
fixedGradientFvPatchScalarField(thftpsf, iF),
heatSource_(thftpsf.heatSource_),
q_(thftpsf.q_),
alphaEffName_(thftpsf.alphaEffName_),
CpName_(thftpsf.CpName_)
alphaEffName_(thftpsf.alphaEffName_)
{}

View File

@ -98,9 +98,6 @@ private:
//- Name of effective thermal diffusivity field
word alphaEffName_;
//- Name of specific heat capacity field
word CpName_;
public: