src/twoPhaseModels: Checked and updated for clang
This commit is contained in:
@ -88,8 +88,8 @@ Foam::twoPhaseChangeModels::cavitationModel::Sp_rgh
|
||||
dimensionedScalar pCoeff(1.0/mixture_.rho1() - 1.0/mixture_.rho2());
|
||||
Pair<tmp<volScalarField>> mDotP = this->mDotP();
|
||||
|
||||
const volScalarField vDotcP = pCoeff*mDotP[0];
|
||||
const volScalarField vDotvP = pCoeff*mDotP[1];
|
||||
const volScalarField vDotcP(pCoeff*mDotP[0]);
|
||||
const volScalarField vDotvP(pCoeff*mDotP[1]);
|
||||
|
||||
return
|
||||
(vDotvP - vDotcP)*(pSat() - rho*gh)
|
||||
|
||||
@ -70,8 +70,6 @@ class noInterfaceCompressionNew
|
||||
{
|
||||
// Private member data
|
||||
|
||||
const surfaceScalarField& phi_;
|
||||
|
||||
//- Base scheme to which the compression is applied
|
||||
tmp<surfaceInterpolationScheme<scalar>> tScheme_;
|
||||
|
||||
@ -93,7 +91,6 @@ public:
|
||||
)
|
||||
:
|
||||
surfaceInterpolationScheme<scalar>(mesh),
|
||||
phi_(faceFlux),
|
||||
tScheme_
|
||||
(
|
||||
surfaceInterpolationScheme<scalar>::New(mesh, faceFlux, is)
|
||||
|
||||
Reference in New Issue
Block a user