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

How to use the data generated by function objects at run-time?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2016, 12:44
Default How to use the data generated by function objects at run-time?
  #1
New Member
 
Jun Zhang
Join Date: Jan 2014
Posts: 12
Rep Power: 12
bigfeather is on a distinguished road
Hi All

I have used function objects (put it in /system/controdict) to extract iso-surface for each output time step.

Now I want to develop some code using the iso-surface to calculate some more quantities at run-time. And these quantities are then used as input parameters for some equations.

How can I get access to the data generated by function objects at run-time?

Many thanks!
bigfeather is offline   Reply With Quote

Old   November 1, 2016, 06:55
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bigfeather View Post
Hi All

I have used function objects (put it in /system/controdict) to extract iso-surface for each output time step.

Now I want to develop some code using the iso-surface to calculate some more quantities at run-time. And these quantities are then used as input parameters for some equations.

How can I get access to the data generated by function objects at run-time?

Many thanks!
Calculating values (average temperatures for instance) on sampledSurfaces (your iso-surface) can be done with swak4Foam. An example would be in the folder Examples/other/capillaryRise
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 08:09
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 23, 2015 00:05
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 13:41.