diff --git a/applications/solvers/multiphase/cavitatingFoam/pEqn.H b/applications/solvers/multiphase/cavitatingFoam/pEqn.H index 462585bdc3..d0789e2198 100644 --- a/applications/solvers/multiphase/cavitatingFoam/pEqn.H +++ b/applications/solvers/multiphase/cavitatingFoam/pEqn.H @@ -69,7 +69,7 @@ // Remove the swirl component of velocity for "wedge" cases if (pimple.dict().found("removeSwirl")) { - label swirlCmpt(readLabel(pimple.dict().lookup("removeSwirl"))); + label swirlCmpt(pimple.dict().lookup