Skip to content
Snippets Groups Projects
Commit 7db0461d authored by andy's avatar andy
Browse files

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

parent 736f3c1d
Branches
Tags
No related merge requests found
......@@ -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_)
{}
......
......@@ -98,9 +98,6 @@ private:
//- Name of effective thermal diffusivity field
word alphaEffName_;
//- Name of specific heat capacity field
word CpName_;
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment