CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

DEFINE_SDOF_PROPERTIES external moment

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 26, 2010, 09:56
Default DEFINE_SDOF_PROPERTIES external moment
  #1
New Member
 
Join Date: Mar 2010
Posts: 19
Rep Power: 7
Randre is on a distinguished road
Hi all

I need to apply a new force / moment to my UDF file which describes the motion of an object: Mass matrix is defined and only zz rotation is allowed. This object is like a pendulum, doesn't rotate about it's CG.

Now I want to add a moment to the rotation point (defined in FLUENT dynamic mesh GUI, as CG). For that I want to apply the following macro: prop[SDOF_LOAD_M_Z],
but in this case my moment force changes with the rotation angle of the object, and FLUENT doesn't allow me to input the following function:
(-(mass*grav*L*sin(DT_THETA(dt)[2])*sin(DT_THETA(dt)[2])))-(-(mass*grav*L*cos(DT_THETA(dt)[2])*cos(DT_THETA(dt)[2])))

How can I add these force to DEFINE_SDOF_PROPERTIES ?

Thank you in advance
Randre is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 02:40
Update boundary conditions calculated by an external program CedricVH OpenFOAM 2 January 15, 2010 12:55
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:56
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:51
viscous moment Thierry FLUENT 0 April 8, 2003 05:43


All times are GMT -4. The time now is 05:38.