repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forward compatibility: flex
[foam-extend-3.2.git]
/
applications
/
solvers
/
incompressible
/
icoDyMSimpleFoam
/
checkTotalVolume.H
blob
75d7f8c683fa91b8861f6dcea6f6acd029916162
1
scalar newTotalVolume = sum(mesh.cellVolumes());
2
3
Info<< "Volume: new = " << newTotalVolume << " old = " << totalVolume
4
<< " change = " << Foam::mag(newTotalVolume - totalVolume) << endl;
5
6
totalVolume = newTotalVolume;