CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Monitoring points or planes in transient CFX simulations (https://www.cfd-online.com/Forums/cfx/69828-monitoring-points-planes-transient-cfx-simulations.html)

jwillie2000 November 5, 2009 18:22

Monitoring points or planes in transient CFX simulations
 
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

ghorrocks November 6, 2009 05:24

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.

harerton May 17, 2011 10:04

Quote:

Originally Posted by ghorrocks (Post 235329)
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!

ghorrocks May 17, 2011 19:13

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.

harerton May 17, 2011 19:55

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

ghorrocks May 18, 2011 06:04

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.

harerton May 20, 2011 16:20

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!


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