|
[Sponsors] |
March 10, 2017, 07:36 |
Where to implement particle user routine?
|
#1 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9 |
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 |
|
March 10, 2017, 07:59 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
Would it be easier to do this in CFD-Post in post processing?
|
|
March 10, 2017, 08:36 |
|
#3 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9 |
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 |
|
March 11, 2017, 05:21 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
There are example fortran for accessing particles in the CFX documentation - I think it is in reference guide.
|
|
March 19, 2017, 10:59 |
|
#5 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9 |
ok, thanks
Last edited by amd18; March 19, 2017 at 14:11. |
|
March 23, 2017, 04:53 |
|
#6 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 9 |
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?
|
|
Tags |
fortran, particle, routine |
|
|
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 |