PostprocessData update

Modifications on fieldsDataBase to work both during simulation and post-simulation
Some bug fixes and changes to the code based
Correction for region volume
This commit is contained in:
Hamidreza
2025-04-18 15:32:53 +03:30
parent 61be8c60fb
commit d69203168e
44 changed files with 1065 additions and 383 deletions

View File

@ -36,6 +36,12 @@ pFlow::PostprocessComponent<RegionType,ProcessMethodType>::PostprocessComponent
(
regionPointsPtr_().size()
),
volumeFactor_
(
"volumeFactor",
regionPointsPtr_(),
1.0
),
operationDicts_(readDictList("operations", dict))
{
@ -106,7 +112,7 @@ bool pFlow::PostprocessComponent<RegionType, ProcessMethodType>::execute
for(auto& op:operatios_)
{
if( !op->execute(weights) )
if( !op->execute(weights, volumeFactor_) )
{
fatalErrorInFunction
<<"error occured in executing operatoin defined in dict "