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

Evaluate three points in CFX-Post

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2009, 20:29
Default Evaluate three points in CFX-Post
  #1
New Member
 
Join Date: Mar 2009
Posts: 21
Rep Power: 9
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 im 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, 06:46
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 12,411
Rep Power: 97
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 08:54
Default
  #3
New Member
 
Join Date: Mar 2009
Posts: 21
Rep Power: 9
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 11:30.
ehrenwirth is offline   Reply With Quote

Old   September 11, 2009, 13:58
Smile
  #4
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 8
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, 09:22
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 12,411
Rep Power: 97
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 15:01
Smile Can not export the information at points
  #6
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 8
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, 18:36
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 12,411
Rep Power: 97
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 09:33
Smile Is it related to the number of points?
  #8
New Member
 
Rachel
Join Date: Sep 2009
Posts: 9
Rep Power: 8
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
CFX Post processing aditya CFX 1 July 6, 2008 12:09
Can you post a blade data points file example??? Nicola NUMECA 0 September 21, 2007 11:38
Chart Generation in CFX Post Vadim Baines-Jones CFX 2 August 28, 2007 09:14
Tecplot for CFX post processing pantangi goud CFX 2 August 24, 2005 16:42


All times are GMT -4. The time now is 02:57.