CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

strange performance of execFlowFunctionObjects

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 28, 2017, 11:57
Default strange performance of execFlowFunctionObjects
  #1
New Member
 
Join Date: Mar 2016
Posts: 17
Rep Power: 10
dupeng is on a distinguished road
I recently find that execFlowFunctionObjects outputs different results with the solver output. Take the DTCHull case as an example, when I use interFoam and output the log file. The forces output in the last timestep is:

=====================================
forces forces output:
sum of forces:
pressure : (-2.87174 1621.49 3915.17)
viscous : (-12.8331 -0.209267 -0.278943)
porous : (0 0 0)
sum of moments:
pressure : (-521.019 27.7322 430.802)
viscous : (0.023115 3.04292 -3.95596)
porous : (0 0 0)
=====================================

and when I recalculate the force using execFlowFunctionObjects -latestTime, it outputs:

=====================================
forces forces output:
sum of forces:
pressure : (-2.87174 1621.49 3915.17)
viscous : (-68.8092 -12.4143 5.80855)
porous : (0 0 0)
sum of moments:
pressure : (-829.102 -3807.88 2019.12)
viscous : (3.00731 -44.1551 -66.8254)
porous : (0 0 0)
=====================================

Only the pressure forces are the same. Does anybody know the reason? Thanks
dupeng is offline   Reply With Quote

Old   March 25, 2017, 08:19
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: execFlowFunctionObjects was deprecated precisely because it didn't support all transport models, such as multiphase.

You need to either run it with the solver in older versions, or create a modified version of execFlowFunctionObjects or use OpenFOAM 4.0 and newer to use the solver itself, e.g. interFoam -postProcess. More details in the release notes, look for "function objects": https://openfoam.org/release/4-0/
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM strange performance decrease with many injections einandr Fluent Multiphase 7 August 28, 2023 20:27
Strange residuals behaviour xxxx Main CFD Forum 1 July 13, 2013 15:40
parallel performance on BX900 uzawa OpenFOAM Installation 3 September 5, 2011 16:52
Linux kernel performance enhancement ConnClark OpenFOAM 0 January 17, 2011 19:18
ANSYS CFX 10.0 Parallel Performance for Windows XP Saturn CFX 4 August 13, 2006 13:27


All times are GMT -4. The time now is 08:36.