CFD Online Discussion Forums

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

Julian K. December 1, 2011 11: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 20: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 09: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 09: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 11:50.