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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2015, 07: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: 9
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, 05:10
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 603
Rep Power: 30
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

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


All times are GMT -4. The time now is 20:44.