diff --git a/etc/caseDicts/createZeroDirectoryTemplates/boundaryConditions/fluid/incompressible/inletOptions b/etc/caseDicts/createZeroDirectoryTemplates/boundaryConditions/fluid/incompressible/inletOptions index c2bce6055e..56abfefd0f 100644 --- a/etc/caseDicts/createZeroDirectoryTemplates/boundaryConditions/fluid/incompressible/inletOptions +++ b/etc/caseDicts/createZeroDirectoryTemplates/boundaryConditions/fluid/incompressible/inletOptions @@ -41,7 +41,7 @@ flowSpecification U { type flowRateInletVelocity; - volumeFlowRate ${:VALUE.volumeFlowRate}; + volumetricFlowRate ${:VALUE.volumetricFlowRate}; value ${:VALUE.U}; } p diff --git a/src/functionObjects/field/Curle/Curle.C b/src/functionObjects/field/Curle/Curle.C index 200568ef75..fcdcdd05cb 100644 --- a/src/functionObjects/field/Curle/Curle.C +++ b/src/functionObjects/field/Curle/Curle.C @@ -99,7 +99,7 @@ bool Foam::functionObjects::Curle::calc() volScalarField& pDash = tpDash.ref(); const volVectorField d(scopedName("d"), C - x0_); - pDash = 4*mathematical::pi/c0_*(d/magSqr(d) & dfdt); + pDash = (d/magSqr(d) & dfdt)/(4.0*mathematical::pi*c0_); return store(resultName_, tpDash); } diff --git a/src/functionObjects/field/Curle/Curle.H b/src/functionObjects/field/Curle/Curle.H index 050970a05b..04e9f73112 100644 --- a/src/functionObjects/field/Curle/Curle.H +++ b/src/functionObjects/field/Curle/Curle.H @@ -33,7 +33,7 @@ Description Curle's analogy is implemented as: \f[ - p' = 4 \frac{\pi}{c_0}\frac{\vec d}{|\vec d|^2}\frac{d(F)}{d(t)} + p' = \frac{1}{4 \pi c_0}\frac{\vec d}{|\vec d|^2}\frac{d(F)}{d(t)} \f] @@ -68,8 +68,8 @@ Usage type | Type name: Curle | yes | field | Pressure field name | no | p result | Acoustic pressure field name | no | Curle - patches | Sound generation patch names | yes | - c0 | Reference speed of sound | yes | + patches | Sound generation patch names | yes | + c0 | Reference speed of sound | yes | \endtable