COMP: remove unused variable from phasePressureModel

This commit is contained in:
Mark Olesen
2020-08-05 15:08:34 +02:00
committed by Sergio Ferraris
parent 99e20b3b6f
commit a192095ce0
4 changed files with 8 additions and 20 deletions

View File

@ -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")),

View File

@ -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
// 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:

View File

@ -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")),

View File

@ -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
// Private Member Functions // Private Member Functions
//- Disabled
void correctNut() void correctNut()
{} {}