|
[Sponsors] |
May 11, 2009, 12:07 |
help with cfx-post script : "area....@..."
|
#1 |
New Member
joe
Join Date: May 2009
Posts: 4
Rep Power: 17 |
hello,
i want to write a post-script with a request of a certain area (exactly: the area of a contour level). I need a script, since i want to examine a row of res-files and contur-levels. I use the perl-command "! $area1 = area("UserSurface conc Bio");" to determine the area. Afterwards i can write $area1 to a file. The problem is, that, if the contur level does not have an area, i.e. area would be zero (area =0) it gives a failure and the script fails. Does oneone have an idea to solve this? thanks joe |
|
May 11, 2009, 22:34 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,841
Rep Power: 144 |
Hi,
Why don't you check the min/max values of the variable to ensure the iso-surface will exist before you get the area? Glenn Horrocks |
|
May 12, 2009, 04:36 |
|
#3 |
New Member
joe
Join Date: May 2009
Posts: 4
Rep Power: 17 |
thanks,
i thought the same already. problem (or not) are levels somewere in middle between min/max that have no area. But probleby such levels won't exists, so that the min/max method should work. joe |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient animation performance in CFX 5.5 POST | Sjoerd Romkes | CFX | 8 | February 5, 2013 15:53 |
CFX Post processing | aditya | CFX | 1 | July 6, 2008 13:09 |
Proper output of angle of attack in CFX post | Kevin | CFX | 3 | October 18, 2006 13:18 |
(CFX POST) Rotational Speed | ARJUN | CFX | 9 | July 13, 2006 21:38 |
creating expresions in cfx build or cfx post | alex | CFX | 1 | August 22, 2002 14:01 |