mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DOC: elaborate the usage of function objects
ENH: update libs of etc/caseDicts/postProcess items
ENH: ensure destructor=default
ENH: ensure constness
ENH: ensure no 'copy construct' and 'no copy assignment' exist
TUT: add examples of function objects with full set
of settings into a TUT if unavailable
TUT: update pisoFoam/RAS/cavity tutorial in terms of usage
This commit is contained in:
committed by
Andrew Heather
parent
b549116588
commit
a5c6516e23
@ -115,8 +115,8 @@ bool Foam::functionObjects::continuityError::write()
|
||||
const volScalarField error(fvc::div(*phiPtr));
|
||||
const scalar deltaT = mesh_.time().deltaTValue();
|
||||
|
||||
scalar local = deltaT*mag(error)().weightedAverage(mesh_.V()).value();
|
||||
scalar global = deltaT*error.weightedAverage(mesh_.V()).value();
|
||||
const scalar local = deltaT*mag(error)().weightedAverage(mesh_.V()).value();
|
||||
const scalar global = deltaT*error.weightedAverage(mesh_.V()).value();
|
||||
cumulative_ += global;
|
||||
|
||||
Ostream& os = file();
|
||||
|
||||
Reference in New Issue
Block a user