CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Monitoring points or planes in transient CFX simulations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2009, 19:22
Default Monitoring points or planes in transient CFX simulations
  #1
Member
 
James Willie
Join Date: Mar 2009
Posts: 81
Rep Power: 17
jwillie2000 is on a distinguished road
Hello all,

I am doing CFD simulation with combustion and I want to monitor the pressure in a plane or at a point for a number of time steps. Preferably, I would like the data to be saved in a file. Any help on how this can be done in CFX?

Thanks!

Jimmy
jwillie2000 is offline   Reply With Quote

Old   November 6, 2009, 06:24
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use a monitor point. Then the point can be exported from Solver Manager or even directly extracted if you like.

If you want to set up a whole bunch of monitor points this can be easily done by generating one monitor point and going to the CCL editor to copy the format the generate lots of them.
ghorrocks is offline   Reply With Quote

Old   May 17, 2011, 11:04
Default
  #3
New Member
 
Join Date: Jan 2010
Posts: 15
Rep Power: 16
harerton is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Use a monitor point. Then the point can be exported from Solver Manager or even directly extracted if you like.

If you want to set up a whole bunch of monitor points this can be easily done by generating one monitor point and going to the CCL editor to copy the format the generate lots of them.
In CFX Pre GUI, if I right click on a monitor on the "output control" object tree, I could duplicate a monitor and then click on the "Edit in command editor" and edit the appropriate parameters. Pretty easy.

But what if I need to insert 100 monitor points? Is there an easy way to achieve that?

Thanks!
harerton is offline   Reply With Quote

Old   May 17, 2011, 20:13
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Get the CCL for a monitor point. Put that in a text editor and write a routine which generates the CCL for 100 points using perl, python, excel (or anything else). Then import the CCL back into Pre and magically you will have zillions of points.
ghorrocks is offline   Reply With Quote

Old   May 17, 2011, 20:55
Default
  #5
New Member
 
Join Date: Jan 2010
Posts: 15
Rep Power: 16
harerton is on a distinguished road
Is there any example on using a routine like this (not necessarily to generate monitor points, just so that I see how it is programed)?

The monitors will only be generated when the *.cfx file is converted to a *.def file?

Thanks!

Harerton
harerton is offline   Reply With Quote

Old   May 18, 2011, 07:04
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can easily do something like this in something as simple as an excel spreadsheet. Type up a spreadsheet using the text you want, you can use fill and formula functions to get the tricky stuff in. Then export it in a text format and you have your own text file generator.

Of course this is more elegant if done in perl, python or one of the millions of languages out there. But if you are not familiar with these languages you will get there quicker in excel.
ghorrocks is offline   Reply With Quote

Old   May 20, 2011, 17:20
Default
  #7
New Member
 
Join Date: Jan 2010
Posts: 15
Rep Power: 16
harerton is on a distinguished road
It worked! Thanks!

I copied the commands for a single monitor and with a spreadsheet and a text editor (TextPad) I could generate all my monitors!
harerton 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
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
How are a transient simulations performed?? Luk Main CFD Forum 0 October 19, 2007 11:09
URANS and Transient Simulations bob Main CFD Forum 0 October 1, 2003 04:54
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07
CFX 5.5 Roued CFX 1 October 2, 2001 17:49


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