Merge branch 'master' into develop

This commit is contained in:
Andrew Heather
2017-08-31 14:08:17 +01:00
3 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,7 @@ flowSpecification
U U
{ {
type flowRateInletVelocity; type flowRateInletVelocity;
volumeFlowRate ${:VALUE.volumeFlowRate}; volumetricFlowRate ${:VALUE.volumetricFlowRate};
value ${:VALUE.U}; value ${:VALUE.U};
} }
p p

View File

@ -99,7 +99,7 @@ bool Foam::functionObjects::Curle::calc()
volScalarField& pDash = tpDash.ref(); volScalarField& pDash = tpDash.ref();
const volVectorField d(scopedName("d"), C - x0_); 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); return store(resultName_, tpDash);
} }

View File

@ -33,7 +33,7 @@ Description
Curle's analogy is implemented as: Curle's analogy is implemented as:
\f[ \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] \f]
@ -68,8 +68,8 @@ Usage
type | Type name: Curle | yes | type | Type name: Curle | yes |
field | Pressure field name | no | p field | Pressure field name | no | p
result | Acoustic pressure field name | no | Curle result | Acoustic pressure field name | no | Curle
patches | Sound generation patch names | yes | patches | Sound generation patch names | yes |
c0 | Reference speed of sound | yes | c0 | Reference speed of sound | yes |
\endtable \endtable