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

Where to implement particle user routine?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2017, 07:36
Default Where to implement particle user routine?
  #1
New Member
 
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9
amd18 is on a distinguished road
Hello dear community,

i want to save the temperature of particles in a free jet into a .txt file to certain condition. To do this i want to create a Fortran particle user routine, which get temperature of particle to certain time as an argument and save this to a txt file. But i don't know where to implement this routine in my model.

Best regards
amd18 is offline   Reply With Quote

Old   March 10, 2017, 07:59
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Would it be easier to do this in CFD-Post in post processing?
ghorrocks is offline   Reply With Quote

Old   March 10, 2017, 08:36
Default
  #3
New Member
 
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9
amd18 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Would it be easier to do this in CFD-Post in post processing?
Your are right, but my longterm aim is to set the particle temperature with the user routine during the simulation by considering the conductive heat transfer in particle and the melting and vaporization enthalpy (latent heat). To do this i will simulate the temperature distribution (with a finite difference method in the fortran code) in particle during the simulation process and implement the latent heats.

Best regards
amd18 is offline   Reply With Quote

Old   March 11, 2017, 05:21
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There are example fortran for accessing particles in the CFX documentation - I think it is in reference guide.
ghorrocks is offline   Reply With Quote

Old   March 19, 2017, 10:59
Default
  #5
New Member
 
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9
amd18 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
There are example fortran for accessing particles in the CFX documentation - I think it is in reference guide.
ok, thanks

Last edited by amd18; March 19, 2017 at 14:11.
amd18 is offline   Reply With Quote

Old   March 23, 2017, 04:53
Default
  #6
New Member
 
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9
amd18 is on a distinguished road
I couldn't find a way to get an access to the variables in cfx for setting up the arguments and results in fortran. Where can i find a good description?
amd18 is offline   Reply With Quote

Reply

Tags
fortran, particle, routine


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
UDF for particle interception with pt_termination fortran routine abcdefgh CFX 6 October 6, 2019 14:30
particle user routines Felix CFX 1 July 24, 2006 13:32
user defined function cfduser CFX 0 April 29, 2006 11:58
User CEL or Junction Box routine? Lexi CFX 6 January 22, 2004 09:52
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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