mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: Resolved compiler warning messages
This commit is contained in:
@ -386,6 +386,9 @@ public:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- Destructor
|
||||||
|
virtual ~omegaWallFunctionFvPatchScalarField() = default;
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- Destructor
|
||||||
|
virtual ~atmEpsilonWallFunctionFvPatchScalarField() = default;
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//- Destructor
|
||||||
|
virtual ~atmOmegaWallFunctionFvPatchScalarField() = default;
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
// Mapping functions
|
// Mapping functions
|
||||||
@ -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
|
|||||||
// (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
|
|||||||
// (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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user