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

Evaluate three points in CFX-Post

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2009, 21:29
Default Evaluate three points in CFX-Post
  #1
New Member
 
Join Date: Mar 2009
Posts: 21
Rep Power: 17
ehrenwirth is on a distinguished road
Hi there,

i have a (assumedley) simple problem: I have some simulations where the boundary-conditions are variing. In every simulation i´m interessting in the velocity and temperature at some point to compare the simulations. My question now is how to read out this variables at a point-location. How can i make a table where in each row is the number of a point and in the columns are the variables of interesst, for example velocity, temperature, wall heat transfer coeffizient and so on. At the moment i get theese informations with the "probe"-tool but it is very uncomfortable to type the coordinates of each point in this probe-tool.

Would be glad if someone can help me!
ehrenwirth is offline   Reply With Quote

Old   August 9, 2009, 07:46
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hi,

There are lots of ways to help you here. Here are some suggestions:
1) Record a session file in CFD-Post of you creating a point and extracting the data. You can then load the session file in a text editor and edit it to make as many points
as you like. If you feel clever you can put in a perl script loop.
2) The monitor points in the CCL file to define the points can be extracted into their own little CCL file. Again you can edit it in a text editor to generate lots of monitor points. You can then re-insert the CCL commands in CFX-Pre or as a command line argument when you fire off the simulation.
3) Generate all the probe points in CFD-Post and save it as a state file. Then you can load the state file when you have another results file to analyse.
4) In CFD-Post you can use the table editor to display the results of some monitor points in a format similar to Excel. It is then easy to copy/paste these results into another package for further analysis.

You have not specified what you are trying to do so I have listed lots of ways of doing it at various stages through the simulation.

Glenn
ghorrocks is offline   Reply With Quote

Old   August 9, 2009, 09:54
Default
  #3
New Member
 
Join Date: Mar 2009
Posts: 21
Rep Power: 17
ehrenwirth is on a distinguished road
Hi Glenn, thanks for your reply!

found it out, i just was confuse about how to use the table-commands.

Anyway, thnaks a lot!

Last edited by ehrenwirth; August 9, 2009 at 12:30.
ehrenwirth is offline   Reply With Quote

Old   September 11, 2009, 14:58
Smile
  #4
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 16
Rachel_09 is on a distinguished road
Hi Glenn

I am very interested in the first method you mention. I have many points whose coordinates are in a txt file. I am thinking maybe perl script might be the best way for this applicaiton to read the point coordinates and then export the flow infomation. But I have never used perl script. Could you give an example on it.

Many thanks!

Quote:
Originally Posted by ghorrocks View Post
Hi,

There are lots of ways to help you here. Here are some suggestions:
1) Record a session file in CFD-Post of you creating a point and extracting the data. You can then load the session file in a text editor and edit it to make as many points
as you like. If you feel clever you can put in a perl script loop.
2) The monitor points in the CCL file to define the points can be extracted into their own little CCL file. Again you can edit it in a text editor to generate lots of monitor points. You can then re-insert the CCL commands in CFX-Pre or as a command line argument when you fire off the simulation.
3) Generate all the probe points in CFD-Post and save it as a state file. Then you can load the state file when you have another results file to analyse.
4) In CFD-Post you can use the table editor to display the results of some monitor points in a format similar to Excel. It is then easy to copy/paste these results into another package for further analysis.

You have not specified what you are trying to do so I have listed lots of ways of doing it at various stages through the simulation.

Glenn
Rachel_09 is offline   Reply With Quote

Old   September 12, 2009, 10:22
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I hate perl script and avoid it as much as possible. Some people love it - I just don't happen to be one of them.

So rather than write it in perl script I generate a simple big script file which does every command sequentially. You can generate the script file in any text editor or even excel if you want to drive some functions. Of course there are more elegant ways of doing it using emacs but I assume this is not familiar to you either.
ghorrocks is offline   Reply With Quote

Old   September 14, 2009, 16:01
Smile Can not export the information at points
  #6
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 16
Rachel_09 is on a distinguished road
Hi

I generated a session file while creating a points. Then I modified the session file by adding many other points (by a Matlab script). Then I run session to load these points. I assumed I could export these points with the flow information. But I came across the following quesitons when I export the points:

ERROR
Object 'Point' referred to in 'EXPORT/Location List' does not exist.
ERROR
Object 'Point' does not exist.

Does any one have an idea on how to solve?

I appreciate your comments.

have a nice day!
Rachel_09 is offline   Reply With Quote

Old   September 14, 2009, 19:36
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error message is telling you exactly what is wrong. You are trying to export a location called "Point" and it does not exist. You simply need to do some debugging in your script.
ghorrocks is offline   Reply With Quote

Old   September 15, 2009, 10:33
Smile Is it related to the number of points?
  #8
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 16
Rachel_09 is on a distinguished road
I am thinking maybe it is related to the number of points of exporting. I have 3338 points in the session file and import these points by playig the session file. When I export all the point at one time, it doese not work and I have that error message. but if I just export part of them, it seems OK. So I will assume that the error is related to the number of points of exporting.

Does anyone have a idea on it.

many thanks
Rachel_09 is offline   Reply With Quote

Reply

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
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
CFX Post processing aditya CFX 1 July 6, 2008 13:09
Can you post a blade data points file example??? Nicola Fidelity CFD 0 September 21, 2007 12:38
Chart Generation in CFX Post Vadim Baines-Jones CFX 2 August 28, 2007 10:14
Tecplot for CFX post processing pantangi goud CFX 2 August 24, 2005 17:42


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