Commit a192095c authored by Mark Olesen's avatar Mark Olesen Committed by Sergio Ferraris

COMP: remove unused variable from phasePressureModel

parent 99e20b3b
...@@ -58,8 +58,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel ...@@ -58,8 +58,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel
propertiesName propertiesName
), ),
phase_(phase),
alphaMax_(coeffDict_.get<scalar>("alphaMax")), alphaMax_(coeffDict_.get<scalar>("alphaMax")),
preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")), preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")),
expMax_(coeffDict_.get<scalar>("expMax")), expMax_(coeffDict_.get<scalar>("expMax")),
......
...@@ -78,12 +78,7 @@ class phasePressureModel ...@@ -78,12 +78,7 @@ class phasePressureModel
RASModel<EddyDiffusivity<phaseCompressibleTurbulenceModel>> RASModel<EddyDiffusivity<phaseCompressibleTurbulenceModel>>
> >
{ {
// Private data // Private Data
// Input Fields
const phaseModel& phase_;
// Kinetic Theory Model coefficients // Kinetic Theory Model coefficients
...@@ -102,14 +97,15 @@ class phasePressureModel ...@@ -102,14 +97,15 @@ class phasePressureModel
// Private Member Functions // Private Member Functions
//- Disabled
void correctNut() void correctNut()
{} {}
//- Disallow default bitwise copy construct //- No copy construct
phasePressureModel(const phasePressureModel&); phasePressureModel(const phasePressureModel&) = delete;
//- Disallow default bitwise assignment //- No copy assignment
void operator=(const phasePressureModel&); void operator=(const phasePressureModel&) = delete;
public: public:
......
...@@ -61,8 +61,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel ...@@ -61,8 +61,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel
propertiesName propertiesName
), ),
phase_(phase),
alphaMax_(coeffDict_.get<scalar>("alphaMax")), alphaMax_(coeffDict_.get<scalar>("alphaMax")),
preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")), preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")),
expMax_(coeffDict_.get<scalar>("expMax")), expMax_(coeffDict_.get<scalar>("expMax")),
......
...@@ -82,12 +82,7 @@ class phasePressureModel ...@@ -82,12 +82,7 @@ class phasePressureModel
>>> >>>
> >
{ {
// Private data // Private Data
// Input Fields
const phaseModel& phase_;
// Kinetic Theory Model coefficients // Kinetic Theory Model coefficients
...@@ -106,6 +101,7 @@ class phasePressureModel ...@@ -106,6 +101,7 @@ class phasePressureModel
// Private Member Functions // Private Member Functions
//- Disabled
void correctNut() void correctNut()
{} {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment