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

Axisymmetric swirl - angular velocity for UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2011, 07:05
Default Axisymmetric swirl - angular velocity for UDF
  #1
New Member
 
Tsaba Nagy
Join Date: Nov 2011
Location: Miskolc, Hungary
Posts: 10
Rep Power: 15
NTSbike is on a distinguished road
hi everyone

i'm making a momentum field (tangential - like lorenz force in a magnetic case) to spin/rotate liquid metal in a cylindrical space. I need the angular velocity of every cell for my UDF. In 3D i can get it from velocity components and radius (radius is generated from coordinates).

but what is c_u(), c_v(), c_w() in axisymmetric swirl 2d. how can I get the angular velocity in rad/sec (or tangential velocity).

thanks
cheers
TS
NTSbike is offline   Reply With Quote

Old   July 27, 2012, 08:46
Default plz help me!!!
  #2
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
Hi dear Tsaba Nagy.
I need to use 2D geometry for my solver and see axisymmetric swirl 2d in your comment!!!please tell me how can I do this for my project?
vahid.najafi is offline   Reply With Quote

Old   July 27, 2012, 08:50
Default
  #3
New Member
 
Tsaba Nagy
Join Date: Nov 2011
Location: Miskolc, Hungary
Posts: 10
Rep Power: 15
NTSbike is on a distinguished road
please write, what you want since the post I developed a lot in these stuff. I hope I can help you
NTSbike is offline   Reply With Quote

Old   July 27, 2012, 10:29
Default details
  #4
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
dear Tsaba Nagy.
I want to use 2Daxisymmetric for openFoam,and for this reason used makeAxialmesh and coolapse to make wedge type for boundary.
I make it,but my result after run is not correct and differrent with 3Dmodel.other friends tell me ,I must be use axisymmetric swirl 2d .....
if my work in modelling 2DAxisymetric is not correct please tell me???
Thanks a lot.
Attached Images
File Type: jpg geometry.jpg (18.9 KB, 107 views)
File Type: jpg make.jpg (18.1 KB, 76 views)
vahid.najafi is offline   Reply With Quote

Old   July 27, 2012, 10:43
Default
  #5
New Member
 
Tsaba Nagy
Join Date: Nov 2011
Location: Miskolc, Hungary
Posts: 10
Rep Power: 15
NTSbike is on a distinguished road
the 2d axs. swirl solver is needed when there are swirling velocities too in the system you wanna model. In this case I'm not sure, that there is this type of velocity inside but worth to try.

forget this wedge cut shape model. for 3D draw the full media. for 2D the half of the meridional cut is enough - as you drew on the bottom of the first paper. set axis boundary condition here, others can be simple in/otlets, walls, etc.

if the inlet of the pressure is homogenous on the surface, the 2D is totally enoug to see what's happening inside.

did I understood well, what you want?
NTSbike is offline   Reply With Quote

Old   July 27, 2012, 11:13
Default answer
  #6
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
Thanks for your answer.
but i know my drew on the bottom of the first paper is correct!!!!but i dont know how can i do this???in openFoam 2D, conveted in 3D!!!
vahid.najafi is offline   Reply With Quote

Old   July 27, 2012, 11:35
Default
  #7
New Member
 
Tsaba Nagy
Join Date: Nov 2011
Location: Miskolc, Hungary
Posts: 10
Rep Power: 15
NTSbike is on a distinguished road
I just work with FLUENT, so I can help justwith it now :/
NTSbike is offline   Reply With Quote

Old   June 30, 2015, 09:09
Default Tangential velocity in 2D axisymmetric flow with swirl
  #8
New Member
 
Rob V
Join Date: Mar 2015
Posts: 5
Rep Power: 11
Robb13 is on a distinguished road
I am currently working on the modelling of droplets in swirling, turbulent, pipe flow. I use a UDF to model the evaporation of the droplets, however, there is a problem with the particle and fluid velocities.

The fluid swirl-velocity is an output parameter of the calculations. However, I do not know how to use this parameter in Fluent. It is not the same as the cell velocity C_W(c,t), since that value is (null) in the calculations.

Thanks in advance!
Robb13 is offline   Reply With Quote

Old   July 2, 2015, 08:23
Default
  #9
New Member
 
Tsaba Nagy
Join Date: Nov 2011
Location: Miskolc, Hungary
Posts: 10
Rep Power: 15
NTSbike is on a distinguished road
Maybe a too stupid/basic question, but are you pointing at the correct thread level for C_W, like


Thread *t_l = THREAD_SUB_THREAD(t,0);
real parameter =C_W(c,t_l);



It would be great to get more info about your case...


Cheers


Quote:
Originally Posted by Robb13 View Post
I am currently working on the modelling of droplets in swirling, turbulent, pipe flow. I use a UDF to model the evaporation of the droplets, however, there is a problem with the particle and fluid velocities.

The fluid swirl-velocity is an output parameter of the calculations. However, I do not know how to use this parameter in Fluent. It is not the same as the cell velocity C_W(c,t), since that value is (null) in the calculations.

Thanks in advance!
NTSbike is offline   Reply With Quote

Old   July 2, 2015, 08:53
Default
  #10
New Member
 
Rob V
Join Date: Mar 2015
Posts: 5
Rep Power: 11
Robb13 is on a distinguished road
Currently, I am using it on the following way:

DEFINE_DPM_TIMESTEP(droplets_laws,p,dt_dpm)
{

... Other lines...

real W_C
cell_t c = P_CELL(p);
Thread *t = P_CELL_THREAD(p);
C_CENTROID(x,c,t);
W_C = C_W(c,t);

... Other lines...

}


However, I found out that C_WSWIRL(c,t) does return a value instead of C_W(c,t).


For my case, I model the evaporation of droplets using an inhouse-UDF.
In this routine, I use the difference between the particle velocity and the carrier phase velocity at particle position to calculate the particle Reynolds number.
For that purpose, the cell center velocity C_U(c,t) is interpolated to the particle position by means of the gradients C_DUDX(c,t) (with DUDZ, DYDZ and DWDZ zero by definition).
However, I found out that I also can use the inteprolated values from Fluent directly, so the problem is probably solved by making use of the following line:

W_C = p->cphase.V[3];
Robb13 is offline   Reply With Quote

Old   September 21, 2015, 16:03
Default
  #11
Member
 
azna
Join Date: Nov 2012
Posts: 30
Rep Power: 14
azna is on a distinguished road
Hi,

i need to run my case using 2D axisymmetric swirl, in Fluent. I was wondering that how can I define the swirl angle? I was wondering that do you know any tutorials that has used axisymmetric swirl.

Thanks a lot

Quote:
Originally Posted by NTSbike View Post
I just work with FLUENT, so I can help justwith it now :/
azna is offline   Reply With Quote

Old   March 6, 2018, 02:32
Smile Axisymmetric swirl-----space distribution for UDF
  #12
New Member
 
DENG Weriping
Join Date: Jun 2015
Posts: 16
Rep Power: 11
wpdeng is on a distinguished road
Hi,

I simplified 3D geometry to 2D axisymmetry swirl. And I want to load a heat source about space distribution, but it's wrong when I use Cartesian coordinate system.

What should I do to deal with it?
wpdeng is offline   Reply With Quote

Old   March 10, 2019, 08:36
Default
  #13
Senior Member
 
Join Date: Mar 2018
Posts: 115
Rep Power: 8
anon_q is on a distinguished road
Quote:
Originally Posted by NTSbike View Post
hi everyone

i'm making a momentum field (tangential - like lorenz force in a magnetic case) to spin/rotate liquid metal in a cylindrical space. I need the angular velocity of every cell for my UDF. In 3D i can get it from velocity components and radius (radius is generated from coordinates).

but what is c_u(), c_v(), c_w() in axisymmetric swirl 2d. how can I get the angular velocity in rad/sec (or tangential velocity).

thanks
cheers
TS
What is the answer to this thread????!!!!!

How to calculate the swirl, or the radial velocity in 2d swirl axisymmetric? can we use C_U(), C_V(), C_W() ?
anon_q is offline   Reply With Quote

Old   July 12, 2022, 03:08
Smile
  #14
New Member
 
Telangana
Join Date: Jul 2022
Posts: 8
Rep Power: 4
Abhijeeth is on a distinguished road
Quote:
Originally Posted by NTSbike View Post
hi everyone

i'm making a momentum field (tangential - like lorenz force in a magnetic case) to spin/rotate liquid metal in a cylindrical space. I need the angular velocity of every cell for my UDF. In 3D i can get it from velocity components and radius (radius is generated from coordinates).

but what is c_u(), c_v(), c_w() in axisymmetric swirl 2d. how can I get the angular velocity in rad/sec (or tangential velocity).

thanks
cheers
TS
Can you please share the answer to this question.
As u might hav already got it
Abhijeeth is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axisymmetric Swirl Arpit Tiwari Main CFD Forum 1 September 15, 2010 06:45
Swirl Velocity hamoudi FLUENT 0 June 17, 2009 03:49
Swirl Velocity hamoudi STAR-CD 0 June 12, 2009 15:22
Angular velocity Haritz COMSOL 0 March 19, 2006 14:59
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 16:02.