New BCs: Updated for single-precision compilation
This commit is contained in:
@ -169,7 +169,7 @@ void Foam::flowRateInletVelocityFvPatchVectorField::updateValues
|
||||
Up -= nUp*n;
|
||||
|
||||
// Remove any reverse flow
|
||||
nUp = min(nUp, 0.0);
|
||||
nUp = min(nUp, scalar(0));
|
||||
|
||||
const scalar flowRate = flowRate_->value(t);
|
||||
const scalar estimatedFlowRate = -gSum(rho*(this->patch().magSf()*nUp));
|
||||
|
||||
@ -160,7 +160,7 @@ void Foam::flowRateOutletVelocityFvPatchVectorField::updateValues
|
||||
Up -= nUp*n;
|
||||
|
||||
// Remove any reverse flow
|
||||
nUp = max(nUp, 0.0);
|
||||
nUp = max(nUp, scalar(0));
|
||||
|
||||
const scalar flowRate = flowRate_->value(t);
|
||||
const scalar estimatedFlowRate = gSum(rho*(this->patch().magSf()*nUp));
|
||||
|
||||
@ -148,7 +148,7 @@ void Foam::matchedFlowRateOutletVelocityFvPatchVectorField::updateValues
|
||||
Up -= nUp*n;
|
||||
|
||||
// Remove any reverse flow
|
||||
nUp = max(nUp, 0.0);
|
||||
nUp = max(nUp, scalar(0));
|
||||
|
||||
// Lookup non-const access to velocity field
|
||||
volVectorField& U
|
||||
|
||||
Reference in New Issue
Block a user