Skip to content
Snippets Groups Projects
Commit e2ad9f08 authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: Resolved compiler warning messages

parent 6a8dab00
Branches
Tags
No related merge requests found
...@@ -386,6 +386,9 @@ public: ...@@ -386,6 +386,9 @@ public:
); );
} }
//- Destructor
virtual ~omegaWallFunctionFvPatchScalarField() = default;
// Member Functions // Member Functions
......
...@@ -129,7 +129,7 @@ protected: ...@@ -129,7 +129,7 @@ protected:
const fvPatch& patch, const fvPatch& patch,
scalarField& G, scalarField& G,
scalarField& epsilon scalarField& epsilon
) override final; );
public: public:
...@@ -200,6 +200,9 @@ public: ...@@ -200,6 +200,9 @@ public:
); );
} }
//- Destructor
virtual ~atmEpsilonWallFunctionFvPatchScalarField() = default;
// Member Functions // Member Functions
......
...@@ -127,7 +127,7 @@ protected: ...@@ -127,7 +127,7 @@ protected:
const fvPatch& patch, const fvPatch& patch,
scalarField& G, scalarField& G,
scalarField& omega scalarField& omega
) override final; );
public: public:
...@@ -199,6 +199,10 @@ public: ...@@ -199,6 +199,10 @@ public:
} }
//- Destructor
virtual ~atmOmegaWallFunctionFvPatchScalarField() = default;
// Member Functions // Member Functions
// Mapping functions // Mapping functions
...@@ -217,7 +221,7 @@ public: ...@@ -217,7 +221,7 @@ public:
// I-O // I-O
//- Write //- Write
virtual void write(Ostream&) const override; virtual void write(Ostream&) const;
}; };
......
...@@ -80,7 +80,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3 ...@@ -80,7 +80,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3
// (ARAL:Eq. 10), with a typo of (C2_) instead of using (C2_ - 1.0) // (ARAL:Eq. 10), with a typo of (C2_) instead of using (C2_ - 1.0)
volScalarField::Internal alphaB(1.0 - LbyLmax); volScalarField::Internal alphaB(1.0 - LbyLmax);
alphaB == alphaB =
neg0(Rig)*(1.0 - (1.0 + (C2_ - 1.0)/(C2_ - C1_))*LbyLmax) neg0(Rig)*(1.0 - (1.0 + (C2_ - 1.0)/(C2_ - C1_))*LbyLmax)
+ pos(Rig)*(1.0 - LbyLmax); + pos(Rig)*(1.0 - LbyLmax);
...@@ -114,7 +114,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3 ...@@ -114,7 +114,7 @@ Foam::fv::atmBuoyancyTurbSource::calcC3
// (ARAL:Eq. 10) // (ARAL:Eq. 10)
volScalarField::Internal alphaB(1.0 - LbyLmax); volScalarField::Internal alphaB(1.0 - LbyLmax);
alphaB == alphaB =
neg0(Rig)*(1.0 - (1.0 + beta/(beta - gamma))*LbyLmax) neg0(Rig)*(1.0 - (1.0 + beta/(beta - gamma))*LbyLmax)
+ pos(Rig)*(1.0 - LbyLmax); + pos(Rig)*(1.0 - LbyLmax);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment