CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Particle Transport & Termination Control with User FORTRAN (http://www.cfd-online.com/Forums/cfx/94975-particle-transport-termination-control-user-fortran.html)

Julian K. December 1, 2011 12:41

Particle Transport & Termination Control with User FORTRAN
 
Hi!

I would like to use a User FORTRAN to implement my own particle-surface interaction, i.e. I would like a particle to be capture by a cylinder when the surface of the particle and the surface of the cylinder touch. I tried to use the "stick-to-wall" BC, but in this case the particle is only captured, when it's centre coordinates coincide with the surface.

Now my problem: I wrote an User FORTRAN based on the example file "pt_termination.F". I created a 'Particle User Routine' and tried to find the option 'User Defined' in 'Solver Control > Particle Control > Particle Termination Control'.

Thus, does anyone know how to implement a 'Particle User Termination Criteria'?

frank0079 December 1, 2011 21:15

The CFX exmaple pt_breakup_rd.F and pt_breakup_rd.ccl in the file
\ANSYS Inc\v130\CFX\examples\UserFortran show u how to use it.

Julian K. December 2, 2011 10:24

Quote:

Originally Posted by frank0079 (Post 334349)
The CFX exmaple pt_breakup_rd.F and pt_breakup_rd.ccl in the file
\ANSYS Inc\v130\CFX\examples\UserFortran show u how to use it.

Thanks Liu!

I can choose the option 'User defined' as a particle breakup model. However, does this help me, because I'm not interested in the particle-particle interaction, but rather in the particle-wall interaction.

There is also the example 'pt_breakup_wall.F', but this routine is called, when the particle already hit the wall, i.e. when the particle's centre coordinates coincide with the surface. My routine however needs to be called before that. My routine checks if the distance between the wall and the particle's centre coordinates is less than the particle's radius.

Julian K. January 12, 2012 10:48

I found a way to solve my problem using a User Fortran. I posted the solution here.


All times are GMT -4. The time now is 04:54.