|
[Sponsors] |
about use macro to compute torque in TASCflow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2003, 07:19 |
about use macro to compute torque in TASCflow
|
#1 |
Guest
Posts: n/a
|
In TASCflow, I use the Macro(torque,see the ) to compute the torque,but the computational torque always smaller than the practical. Why?
And I define macro torque use the Macro to compute the torque in pump, the computational efficiency is over 100%. --================================================== =============== -- -- Calculate the torque on the blade -- if ("$1" = "'$1'") echo echo Enter blade surface region: input _x_ask define region _x_bldreg = $_x_ask else define region _x_bldreg = $1 endif -- if (existscalar 'area_wall_x') calc _tq@_x_bldreg = _p*area_wall_y*x-_p*area_wall_x*y calc torque = -1.0*sum(_tq@_x_bldreg) calc _tq@_x_bldreg = visc_bnd_fy*area_wall*x-visc_bnd_fx*area_wall*y calc torque = torque-sum(_tq@_x_bldreg) echo touque=$torque -- delete scalar _tq endif -- else echo echo ERROR: AREA_WALL fields not available. The torque calculation echo has been aborted. Run TASCflow with BCINFO=T in the PRM file to echo have these fields added to the RSO file. echo calc torque=0.0 endif endmacro -- torque |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Torque calculation of 2D VAWT Wind Turbine | Anonymized_JL1 | FLUENT | 14 | September 26, 2013 04:35 |
Compute Torque on Rotational Model | rachid | FLUENT | 4 | December 1, 2005 11:51 |
CFX TASCflow - while-endwhile loop ina macro | Deepak Ganga | CFX | 0 | September 6, 2003 23:21 |
Need a macro to compute Diffusion at Inlets | Sridhar | FLUENT | 0 | July 15, 2003 02:12 |
Torque calculations. | J. Keays | CFX | 21 | July 12, 2001 10:03 |