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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2016, 11: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, 05: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:09
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 22, 2015 23:05
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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