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

Particle Transport & Termination Control with User FORTRAN

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2011, 12:41
Default Particle Transport & Termination Control 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 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'?
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Old   December 1, 2011, 21:15
Default
  #2
New Member
 
Liu Jian
Join Date: Nov 2011
Posts: 3
Rep Power: 15
frank0079 is on a distinguished road
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.
frank0079 is offline   Reply With Quote

Old   December 2, 2011, 10:24
Default
  #3
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
Julian K. is on a distinguished road
Quote:
Originally Posted by frank0079 View Post
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.
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Old   January 12, 2012, 10:48
Default
  #4
Member
 
Julian Krick
Join Date: May 2009
Location: Guelph
Posts: 88
Rep Power: 17
Julian K. is on a distinguished road
I found a way to solve my problem using a User Fortran. I posted the solution here.
__________________
grid generation: ICEM CFD 13.0
solver: CFX 13.0
Julian K. is offline   Reply With Quote

Reply

Tags
fortan, particle tracking, user defined function


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 04:52
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 01:52
Particle User Source in ANSYS CFX Jun CFX 0 September 8, 2010 10:28
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
Double precision & User Fortran Martijn CFX 3 April 4, 2009 06:43


All times are GMT -4. The time now is 12:17.