Skip to content
Snippets Groups Projects
Commit d509c581 authored by andy's avatar andy
Browse files

BUG: Corrected if condition in wavSurfacePressure BC

parent db4d7361
Branches
Tags
No related merge requests found
......@@ -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_);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment