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

about use macro to compute torque in TASCflow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2003, 06:19
Default about use macro to compute torque in TASCflow
  #1
lancy
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
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Torque calculation of 2D VAWT Wind Turbine Anonymized_JL1 FLUENT 14 September 26, 2013 03:35
Compute Torque on Rotational Model rachid FLUENT 4 December 1, 2005 10:51
CFX TASCflow - while-endwhile loop ina macro Deepak Ganga CFX 0 September 6, 2003 22:21
Need a macro to compute Diffusion at Inlets Sridhar FLUENT 0 July 15, 2003 01:12
Torque calculations. J. Keays CFX 21 July 12, 2001 09:03


All times are GMT -4. The time now is 06:04.