mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected if condition in wavSurfacePressure BC
This commit is contained in:
@ -187,7 +187,7 @@ void Foam::waveSurfacePressureFvPatchScalarField::updateCoeffs()
|
||||
|
||||
operator==(-g.value() & zetap);
|
||||
}
|
||||
else if (phi.dimensions() = dimDensity*dimVelocity*dimArea)
|
||||
else if (phi.dimensions() == dimDensity*dimVelocity*dimArea)
|
||||
{
|
||||
const scalarField& rhop =
|
||||
patch().lookupPatchField<volScalarField, scalar>(rhoName_);
|
||||
|
||||
Reference in New Issue
Block a user