mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected Curle analogy implementation. See #574
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user