CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Check particle impaction with User Fortran

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Julian K.

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 18, 2011, 12:01
Default Check particle impaction with User Fortran
  #1
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
Julian K. is on a distinguished road
Hi!

I am simulating the impaction of particles on a moving circular cylinder using Lagrangian particle tracking. I found out, that CFX does not consider the particle's radius while checking if a particle has collided with the cylinder's surface. Thus, the particle is captured, when its centre coordiantes of the coincide with the cylinder surface.
However, my case requires, that the particle is captured when the particle surface and the cylinder surface touch. Hence, I need to implement this simple algorithm:

Code:
if (x <= r_part + r_cyl)
then impaction
else no impaction
Where x is the distance between the centre coordiantes of the particle and the cylinder, r_part is the particle's radius and r_cyl is the radius of the cylinder.

I assume, that I need to implement the code via a User FORTRAN. Since I have absolutely no experience with this, I would like you to ask for some help. I found a file called 'pt_termination.F' (CFX\Samples\UserFortran) with the following code:

Code:
IF (DIST.GT.0.75) THEN
   FATE = DEAD
ENDIF
I wonder if this is the right point to start for me?! Do you have any other suggestions for me?

Thanks!
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0

Last edited by Julian K.; November 23, 2011 at 18:02.
Julian K. is offline   Reply With Quote

 

Tags
impaction, particle, particle tracking, user fortran


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
Importing external DLL to Ansys CFX using user Fortran snpradeep CFX 2 May 16, 2014 03:52
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 00:52
Particle User Source in ANSYS CFX Jun CFX 0 September 8, 2010 09:28
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
User Fortran and Particle momentum source alvio CFX 0 July 30, 2008 22:52


All times are GMT -4. The time now is 06:53.