CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Initialising Force Monitors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2011, 11:59
Lightbulb Initialising Force Monitors
  #1
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26
stuart23 will become famous soon enoughstuart23 will become famous soon enough
Hi guys

I would like to know if there is a way to create the force-monitor output files without actually running iterations. I have a journal file which includes a monitor using the following TUI code:
Code:
/solve/monitors/force/drag-coefficient yes body front_wing rear_wing front_wheel rear_wheel () no yes "CDA-history.dat" no yes 1. 0 0
I also have a gnuplot script that runs every 10 iterations so I can graphically monitor convergence. When my journal is run, Fluent only creates the "CDA-history.dat" file on the first iteration. I then have Fluent run a bash script that uses gawk to extract the column headers and pass them to gnuplot every 10 iterations.
Instead, I would like Fluent to create the dat file without any data in it before I start iterating so I can run gawk once rather than every 10 iterations.

I think it must have something to do with one of the following scheme envvars: (monitor-forces-init) or (monitor-forces). I know this because I can get the GUI window to specify the monitors to pop-up using (gui-monitor-forces 1), and these are the only 2 similar commands from http://www.polo.ufsc.br/~tiagom/docu...programing.pdf

If anyone has any ideas, I would be extremely grateful. Unfortunately, Fluent Scheme is not well documented, so I have no way of working this out myself.

Thanks in advance
Stu
stuart23 is offline   Reply With Quote

Old   September 5, 2011, 13:19
Default
  #2
Member
 
fox000002's Avatar
 
Join Date: Apr 2009
Posts: 46
Rep Power: 17
fox000002 is on a distinguished road
Why not use Fluent's plot to monitor it?

===

You can use following code to create the dat file.

Code:
(iterate 0)

Last edited by fox000002; September 5, 2011 at 13:47.
fox000002 is offline   Reply With Quote

Old   September 5, 2011, 15:04
Default
  #3
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26
stuart23 will become famous soon enoughstuart23 will become famous soon enough
Excellent, thank you very much Fox.

I cannot monitor Fluent Cortex because my simulations are run on a cluster which I do not have physical access to. I have the option of using VNC through a tunnel, but I enjoy typing white characters in a little black window too much!

Stu
stuart23 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
Urgently Need the code of Lift force and VM force Kai Yan Main CFD Forum 0 July 16, 2008 08:07
DEFINE_CG_MOTION and pressure force Teo Fumagalli FLUENT 0 April 11, 2008 11:25
floating operating pressure and monitors force Lavastre jeremie FLUENT 2 September 7, 2007 09:10
pressure force and viscous force CFD FLUENT 0 March 7, 2006 02:03
Force monitors Phil FLUENT 1 June 4, 2004 03:21


All times are GMT -4. The time now is 21:43.