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

SDOF_Overwrite_Motion & SDOF_Get_Motion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2020, 11:07
Default SDOF_Overwrite_Motion & SDOF_Get_Motion
  #1
New Member
 
Join Date: Jun 2020
Posts: 8
Rep Power: 5
aCamb27 is on a distinguished road
I found an example UDF in the Ansys Fluent Manual that contains the functions SDOF_Overwrite_Motion and SDOF_Get_Motion, but can't seem to find any additional documentation about them. Can someone explain how these functions work, what arguments they require, and what exactly they do?


Link to Ansys Fluent Manual: http://www.pmt.usp.br/academic/marto...F%20Manual.pdf (go to page 203-205)


Also, below is the section of the UDF that contains these functions:



Thanks for the help!

aCamb27 is offline   Reply With Quote

Old   June 24, 2020, 13:09
Default
  #2
New Member
 
Join Date: Jun 2020
Posts: 8
Rep Power: 5
aCamb27 is on a distinguished road
A quick update. Looking through the Fluent src directory, in six_dof.h, both these functions are named, with the arguments of both being (dt, real[3], real[3], real[3]). From the sample UDF, it seems like the three arrays correlate to velocity, omega, and theta. There are no more details though about how the functions work or what they exactly do. Anyone have any sense?
aCamb27 is offline   Reply With Quote

Old   June 24, 2020, 16:04
Default SDOF Macros
  #3
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Both the macros have self explanatory names and the comments clarify those explanations.

Get_Motion fills in the values of translational velocity, rotational velocity, and angular orientation in the three vectors. It is essentially same information that is displayed in Rigid Body Dynamic Mesh object, if you open Dynamic Mesh object creation window.

Overwrite replaces those values with user provided values.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
6dof, fluent, sdof, udf


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 00:00.