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
),
phase_(phase),
alphaMax_(coeffDict_.get<scalar>("alphaMax")),
preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")),
expMax_(coeffDict_.get<scalar>("expMax")),

View File

@ -78,12 +78,7 @@ class phasePressureModel
RASModel<EddyDiffusivity<phaseCompressibleTurbulenceModel>>
>
{
// Private data
// Input Fields
const phaseModel& phase_;
// Private Data
// Kinetic Theory Model coefficients
@ -102,14 +97,15 @@ class phasePressureModel
// Private Member Functions
//- Disabled
void correctNut()
{}
//- Disallow default bitwise copy construct
phasePressureModel(const phasePressureModel&);
//- No copy construct
phasePressureModel(const phasePressureModel&) = delete;
//- Disallow default bitwise assignment
void operator=(const phasePressureModel&);
//- No copy assignment
void operator=(const phasePressureModel&) = delete;
public:

View File

@ -61,8 +61,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel
propertiesName
),
phase_(phase),
alphaMax_(coeffDict_.get<scalar>("alphaMax")),
preAlphaExp_(coeffDict_.get<scalar>("preAlphaExp")),
expMax_(coeffDict_.get<scalar>("expMax")),

View File

@ -82,12 +82,7 @@ class phasePressureModel
>>>
>
{
// Private data
// Input Fields
const phaseModel& phase_;
// Private Data
// Kinetic Theory Model coefficients
@ -106,6 +101,7 @@ class phasePressureModel
// Private Member Functions
//- Disabled
void correctNut()
{}