COMP: Resolved compiler warning messages

This commit is contained in:
Andrew Heather
2020-06-10 14:26:43 +01:00
parent 6a8dab0011
commit e2ad9f08a8
4 changed files with 15 additions and 5 deletions

View File

@ -386,6 +386,9 @@ public:
);
}
//- Destructor
virtual ~omegaWallFunctionFvPatchScalarField() = default;
// Member Functions

View File

@ -129,7 +129,7 @@ protected:
const fvPatch& patch,
scalarField& G,
scalarField& epsilon
) override final;
);
public:
@ -200,6 +200,9 @@ public:
);
}
//- Destructor
virtual ~atmEpsilonWallFunctionFvPatchScalarField() = default;
// Member Functions

View File

@ -127,7 +127,7 @@ protected:
const fvPatch& patch,
scalarField& G,
scalarField& omega
) override final;
);
public:
@ -199,6 +199,10 @@ public:
}
//- Destructor
virtual ~atmOmegaWallFunctionFvPatchScalarField() = default;
// Member Functions
// Mapping functions
@ -217,7 +221,7 @@ public:
// I-O
//- Write
virtual void write(Ostream&) const override;
virtual void write(Ostream&) const;
};

View File

@ -80,7 +80,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3
// (ARAL:Eq. 10), with a typo of (C2_) instead of using (C2_ - 1.0)
volScalarField::Internal alphaB(1.0 - LbyLmax);
alphaB ==
alphaB =
neg0(Rig)*(1.0 - (1.0 + (C2_ - 1.0)/(C2_ - C1_))*LbyLmax)
+ pos(Rig)*(1.0 - LbyLmax);
@ -114,7 +114,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3
// (ARAL:Eq. 10)
volScalarField::Internal alphaB(1.0 - LbyLmax);
alphaB ==
alphaB =
neg0(Rig)*(1.0 - (1.0 + beta/(beta - gamma))*LbyLmax)
+ pos(Rig)*(1.0 - LbyLmax);