|
[Sponsors] |
August 12, 2021, 01:42 |
UDF for tangential force
|
#1 |
New Member
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
Hello all,
I want to give rolling motion to my system. For that, I vitally need to consider tangential force acting on any location in the system. How can I write UDF for that and add it as a source term in the momentum equation in FLUENT? if possible please give an example. Thanks in advance. |
|
August 12, 2021, 03:41 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
you may go to boundary conditions
select the air-solid boundary momentum tab as a wall motion select moving wall and specify your motion as well as shear conditions
__________________
best regards ****************************** press LIKE if this message was helpful |
|
August 13, 2021, 02:17 |
|
#3 |
New Member
Tanuj Srivastava
Join Date: Mar 2019
Posts: 15
Rep Power: 7 |
That's true thankyou Sir. But I want to give SHM with the maximum amplitude of 30 degrees. To do that I have to incorporate the effect of tangential force on the system and that needs to be done using UDF (T_{tangential} = angular acceleration * radius). That UDF will be added as a source term in momentum equation in the "cell zone boundary condition". So how to write code for that? I can define angular acceleration, but the main point is while defining "radius".
Can we define radius with the help of x and y positions with [ND_ND] (The system is 2-D)? Do I need to use for loop in UDF in DEFINE_SOURCE MACRO because at each cell radius value will be different? I tried doing with it but, could not find the difference, so I am a bit confused whether I am going in correct path or not. Please see the image attached for reference. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
Including the particle contact force in a DPM UDF | filippo | Fluent UDF and Scheme Programming | 3 | February 18, 2021 12:01 |
Drag Force Ratio for Flat Plate | Rob Wilk | Main CFD Forum | 40 | May 10, 2020 04:47 |
Different force result: DEFINE_Source UDF & without UDF | A.Rah | FLUENT | 1 | November 11, 2017 07:22 |
Udf define a force (harmonic force) | rain821024 | Fluent UDF and Scheme Programming | 0 | October 26, 2016 11:48 |