Using frontal area calculation script in Hyperworks CFD


Frontal area calculation in HWCFD using tcl script attached.

Steps:

1. Set an environment variable: HWCFD_SHOW_CMDWIN with a value of 1

2. Launch Hyperworks CFD

3. Display only the surfaces for frontal area calculation. (surfaces must be meshed) 

4. In attached script, update plane on which you want to calculate frontal area - these are the first three entries (x, y, z) to set the projection normal

5. View menu > Tcl Console

6. In tcl console type: source <complete path to frontalArea.tcl script>

                  Example: source C:/Users/frontalArea.tcl

This will print frontal area value in the console.