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

How I can automatically refresh the forces.dat file?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2015, 06:10
Default How I can automatically refresh the forces.dat file?
  #1
Member
 
Mike Lob
Join Date: Oct 2015
Location: It
Posts: 51
Rep Power: 10
lpz_michele is on a distinguished road
Hi everyone! Could anyone help me with this problem?

I would like to generate an auto-refresing script (something like pyFoamWatcher.py) that could refresh gnuplot moment plot everytime a new value is written.

i have no experience with script, could you help me?

Thank you
lpz_michele is offline   Reply With Quote

Old   November 17, 2015, 04:10
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
In version 2.4.0 there is a script foamMonitor which does exactly that. You can find it using:

Code:
which foamMonitor
and than examine the file that the terminal shows you. This will allow you to modify it to your needs or maybe you can decide to use it as is.

Regards,
Tom
tomf is offline   Reply With Quote

Reply

Tags
moment, plot moment vs time, script


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
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


All times are GMT -4. The time now is 16:29.