|
[Sponsors] |
UDf for calculating Cd in unsteady (transient) analysis |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2013, 06:39 |
UDf for calculating Cd in unsteady (transient) analysis
|
#1 |
Member
|
Anyone had experience with making UDF for calculating drag coeff (Cd) in unsteady (transient) analysis?
For example, a cube is rotating (sliding mesh, unsteady problem) and I want to plot (and write) Cd of the cube after every time step.
__________________
I'M NOT A GYNECOLOGIST BUT I'LL TAKE A LOOK. |
|
September 9, 2013, 07:16 |
|
#2 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
Why do you need UDF? Force monitor will work.
|
|
September 9, 2013, 07:25 |
|
#3 |
Member
|
Duri, thanks for reply. Can you be more precise? What do you mean by "Force monitor will work"?
Do you mean I can somehow setup this in Monitor options? Drag force = 0,5*density*Cd*A*v2 Keep in mind that A is changing during time, as well as Cd - and consequently drag force. Drag force is calculated in each step via integral(p*ds), so i guess if one knows change of A in each time step, then Cd can be calculated. But I am not sure how at this moment.
__________________
I'M NOT A GYNECOLOGIST BUT I'LL TAKE A LOOK. |
|
September 10, 2013, 05:29 |
|
#4 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
A is the reference area it is not necessarily the normal blockage area at that instant. (for eg., reference area of airfoil is chord length and it is same for all angle of attacks) It could be surface area or any reference area. If you are changing reference area to calculate cd at each instant, then whole purpose of drag coefficient is lost. In such case better use drag force itself.
|
|
September 10, 2013, 05:44 |
|
#5 |
Member
|
For my purpose (irregular rotating object), A (maximal exposed area to flow) is changing as the body moves through the air (and rotate in the same time).
For example, my body moves with velocity in excess of 4 Mach, and randomly tumbles. Velocity is lost exponentially, as well as kinetic energy. So, I want to determine fluctuations of Cd (from Cdmin to Cdmax) as body moves without stability through air. With that results I could use software for determination of maximal and minimal range of that body.
__________________
I'M NOT A GYNECOLOGIST BUT I'LL TAKE A LOOK. |
|
September 10, 2013, 06:09 |
|
#6 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
Reference area is used for engineering convenience and does not represent physics. Force are really critical for design and not the coefficient. It doesn't matter whether an object rotates or oscillates or what ever it does. Reference area is based on some geometry characteristics. (eg., In aircraft aerodynamics wing planform area is taken as reference area at all mach numbers and for all kind of trajectories, it doesn't matter it takes a cobra maneuver or cruise)
|
|
September 10, 2013, 06:31 |
|
#8 |
Senior Member
duri
Join Date: May 2010
Posts: 245
Rep Power: 17 |
Just calculated cd using some relevent geometric area and flow condition. Mention the reference conditions when you are supplying the data or publishing the data (not in numbers).
Eg., like free stream condtion and base area. Then your drag coefficient would be very generic. Represent drag coefficient with respect to rotational angles or something relevant. When you represent interms of instantaneous area. It would be very difficult for the users to interpret, interpolate and retrive any information from your data. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for Transient analysis of a VAWT | fkanyako | Fluent UDF and Scheme Programming | 7 | February 9, 2016 18:46 |
How to specify a transient profile with spacial variant without UDF? | joy2000 | Fluent UDF and Scheme Programming | 0 | February 6, 2013 09:51 |
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat | kokoory | FLUENT | 0 | August 17, 2011 03:07 |
Transient analysis with turbFoam very high Courant nr | hardy | OpenFOAM Running, Solving & CFD | 13 | November 19, 2008 14:36 |
UDF Unsteady velocity profile | Rashad | FLUENT | 0 | February 27, 2008 15:57 |