mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: correction for Clang
This commit is contained in:
@ -176,7 +176,7 @@ void Foam::outletMachNumberPressureFvPatchScalarField::updateCoeffs()
|
|||||||
const vectorField UbOld(U.oldTime().boundaryField()[patchi]);
|
const vectorField UbOld(U.oldTime().boundaryField()[patchi]);
|
||||||
|
|
||||||
// relax U
|
// relax U
|
||||||
Ub = relax_*UbOld + (1 -relax_)*Ub;
|
Ub = relax_*UbOld + (1 - relax_)*Ub;
|
||||||
|
|
||||||
const scalarField gamma(thermoPtr->gamma()().boundaryField()[patchi]);
|
const scalarField gamma(thermoPtr->gamma()().boundaryField()[patchi]);
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ void Foam::outletMachNumberPressureFvPatchScalarField::updateCoeffs()
|
|||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
const scalarField r = pBack_/ptot;
|
const scalarField r(pBack_/ptot);
|
||||||
const scalar area = gSum(mag(patch().Sf()));
|
const scalar area = gSum(mag(patch().Sf()));
|
||||||
M =
|
M =
|
||||||
A1_/(c1_*area)
|
A1_/(c1_*area)
|
||||||
|
|||||||
Reference in New Issue
Block a user