|
[Sponsors] |
November 18, 2011, 12:01 |
Check particle impaction with User Fortran
|
#1 |
Member
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17 |
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 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 Thanks!
__________________
grid generation: ICEM CFD 13.0 solver: CFX 13.0 Last edited by Julian K.; November 23, 2011 at 18:02. |
|
Tags |
impaction, particle, particle tracking, user fortran |
|
|
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 |