CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > 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 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: 11
Rep Power: 5
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,005
Rep Power: 43
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
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 On
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 FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 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 19:07


All times are GMT -4. The time now is 22:05.