help with cfx-post script : "area....@..."
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 |
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 |
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 |
All times are GMT -4. The time now is 12:31. |