|
[Sponsors] |
How can I define lateral axis as axis of rotation in Ansys UDF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 24, 2018, 04:17 |
How can I define lateral axis as axis of rotation in Ansys UDF?
|
#1 |
New Member
Aamir Sultan
Join Date: May 2018
Posts: 12
Rep Power: 8 |
Hello Everyone ,
I am giving sinusoidal oscillatory motion to a 3D airfoil about longitudinal axis (lateral oscillations ) . How can I define "X-axis" as axis of rotation . As you know that by default Z-axis is axis of rotation . My Code is as follow ; # include "udf.h" DEFINE_ZONE_MOTION(sinusoidal,omega,axis,origin,ve locity,time,dtime) { real w = 2.0*M_PI*0.5; real wt = w*time; real axis[1]; real th, thd; th = -0.017453*sin(wt); thd = -0.017453*w*cos(wt); *omega = thd; } |
|
October 13, 2018, 08:01 |
|
#2 |
Member
mohamed
Join Date: Apr 2016
Posts: 34
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to get the average temperature of a face and use it to define a property | gdb | Fluent UDF and Scheme Programming | 19 | November 3, 2022 04:11 |
How to define moving wall rotation axis origin in Dynamic mesh | touyet | FLUENT | 1 | July 4, 2016 10:24 |
using define mass transfer udf for cavitation | Komon | Fluent UDF and Scheme Programming | 14 | June 21, 2016 03:50 |
Can you help me with a problem in ansys static structural solver? | sourabh.porwal | Structural Mechanics | 0 | March 27, 2016 18:07 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |