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

How to assign an initial velocity to a particle?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2016, 01:19
Default How to assign an initial velocity to a particle?
  #1
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
I'm simulating collision of a particle onto a droplet in mid-air. The particle is launched with 6 m/s towards the droplet while the drop is moving in opposite direction (pls. see Fig. 1, solution is symmetric).
For solving this problem, I want to use the basics of moving mesh tutorial for "falling box into water". However, I have no idea how to assign an initial velocity to my particle (wall).
It's different than "velocity of centre of gravity" which is adjustable in dynamic mesh window. It's just initial vel. of particle and all velocities for t>0 will be calculated step by step based on air drag, interfacial forces with droplet, etc.

Can anyone give me some hints how to do that?
I appreciate your answers.
Attached Images
File Type: png mesh.png (14.7 KB, 53 views)

Last edited by Hossein1; November 20, 2016 at 01:27. Reason: better figure
Hossein1 is offline   Reply With Quote

Old   December 23, 2016, 21:34
Default
  #2
Member
 
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15
shashank312 is on a distinguished road
1. Make sure your particle has a different boundary ID on FLUENT. If not, please differentiate it by using "named selections" in the meshing suite under Ansys Workbench.

2. Particle can be assigned a velocity by using a "moving wall". One can assign x- or a y- velocity or a user-defined profile. Essentially, as the water droplet hits the wall or vice-versa, the wall exchanges momentum with the droplet.
shashank312 is offline   Reply With Quote

Old   December 23, 2016, 23:30
Default
  #3
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
My particle is defined as a wall and with a different boundary ID. Also, in 'Phases' => 'Interaction' I have activated 'wall adhesion' with 'surface tension'.

I am using moving mesh right now and with the "Centre of Gravity Velocity" in the Dynamic Mesh window, the simulation runs well. However, the particle velocity remains constant (the same value that I've defined for C.G), particle velocity doesn't change even after impacting onto the droplet. That's why I need to define just an "initial" velocity for particle.

As you mentioned in your point#2, I need a user defined velocity and I think I should use DEFINE_INIT. But, in all examples in manuals, they first determine those fluid 'cells' in which the velocity should be applied (e.g. with a FOR loop), and then they assign the initial velocity to those cells. My problem is that I don't know how to use this command for giving an initial vel to a solid object.

Last edited by Hossein1; January 14, 2017 at 19:52.
Hossein1 is offline   Reply With Quote

Old   December 24, 2016, 00:53
Default
  #4
Member
 
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15
shashank312 is on a distinguished road
To be honest with you, an easier way of solving this problem is to move the fluid in the opposite direction of the particle and keep the particle stationary. You can specify that same initial velocity to the fluid region (including the droplet), and see what happens as the particle collides with the droplet.

Use DEFINE_INIT or patch the fluid region with a user-defined velocity. If it is a constant value, using patch is an easier way. If the initial velocity is a function of time or space, you can also create a custom-field-function and then patch that onto the fluid domain.

Hope this helps.
shashank312 is offline   Reply With Quote

Old   December 24, 2016, 01:14
Default
  #5
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
I think, for using moving reference frame, I need to calculate the particle momentum and assign the equivalent velocity to the droplet. However, I prefer not to use this method.

Last edited by Hossein1; January 14, 2017 at 19:53.
Hossein1 is offline   Reply With Quote

Old   December 24, 2016, 01:50
Default
  #6
Member
 
Shashank
Join Date: Apr 2011
Posts: 74
Rep Power: 15
shashank312 is on a distinguished road
Who said anything about a moving reference frame? You cannot use moving reference frame in your problem because it would again fix that velocity to the particle.

What I was trying to convey is if the particle had to be initialized to the left at a velocity of U m/s, then instead of that you can simply initialize the entire fluid domain (barring the particle) at a velocity of U m/s to the right.

Hope you understand that. Forces like drag and shear can then be computed on the particle surface via post-processing.
shashank312 is offline   Reply With Quote

Old   November 16, 2017, 04:52
Default
  #7
New Member
 
Misa
Join Date: Oct 2017
Posts: 10
Rep Power: 8
mmj_blackforce is on a distinguished road
Quote:
Originally Posted by shashank312 View Post
If the initial velocity is a function of time or space, you can also create a custom-field-function and then patch that onto the fluid domain.
Dear Shashank
how can we patch velocity as a function of time using a custom-field-function can u please explain?
mmj_blackforce is offline   Reply With Quote

Old   October 25, 2018, 09:43
Default
  #8
New Member
 
Mehul
Join Date: Sep 2018
Posts: 1
Rep Power: 0
mehulm is on a distinguished road
Hi Hossein1, actually I have to perform a similar simulation of the collision of particle and drop. Can you please tell me which model did you use VOF/DPM/DDPM in ANSYS Fluent.

Thanks.
mehulm is offline   Reply With Quote

Reply

Tags
dynamic mesh, initial velocity, moving particle, vof


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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 14:26
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 17:36
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


All times are GMT -4. The time now is 21:45.