|
[Sponsors] |
June 24, 2020, 11:07 |
SDOF_Overwrite_Motion & SDOF_Get_Motion
|
#1 |
New Member
Join Date: Jun 2020
Posts: 8
Rep Power: 6 |
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! |
|
June 24, 2020, 13:09 |
|
#2 |
New Member
Join Date: Jun 2020
Posts: 8
Rep Power: 6 |
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?
|
|
June 24, 2020, 16:04 |
SDOF Macros
|
#3 |
Senior Member
|
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. |
|
Tags |
6dof, fluent, sdof, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|