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

Compute_Force_And_Moment

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2012, 05:00
Question Compute_Force_And_Moment
  #1
New Member
 
Join Date: Apr 2012
Posts: 1
Rep Power: 0
littlewhite is on a distinguished road
The problem i want to study is about fluid-structure coupling. In the UDF procedure, force of the cylinder in X and Y direction is calculated respectively by the function " Compute_Force_And_Moment(domain, tf1, CG, force, moment, FALSE)", Then the motion of the body is decided by solving the "m-c-k" differential equations of motion , in which m c k are defined at the beginning.
What's strange is that, in any one instant, force[0] computed in the UDF is quite different from the value obtained in "report-force" calculated by the software itself. However, force[1] by UDF is the same as the value offered by software itself.
From the results, i find the value from "report-force" is resonable, however, force[0] calculated by "Compute_Force_And_Moment" is quite small. I don't know why.
Who could help me solve the problem? Here is the UDF precedure.Thanks!
Attached Files
File Type: c 2dof-cfdonline.c (2.0 KB, 114 views)
littlewhite is offline   Reply With Quote

Old   July 4, 2012, 01:55
Default
  #2
New Member
 
saurav
Join Date: Jul 2012
Posts: 2
Rep Power: 0
saurav2012 is on a distinguished road
Hi i am also wrking on the same problem ...have u overcome the above difficulty???
saurav2012 is offline   Reply With Quote

Reply

Tags
compute force, coupling, udf

Thread Tools Search this Thread
Search this Thread:

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



All times are GMT -4. The time now is 14:56.