|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,921
Rep Power: 145 ![]() ![]() ![]() ![]() |
Would it be easier to do this in CFD-Post in post processing?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,921
Rep Power: 145 ![]() ![]() ![]() ![]() |
There are example fortran for accessing particles in the CFX documentation - I think it is in reference guide.
|
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 10 ![]() |
Quote:
![]() Last edited by amd18; March 19, 2017 at 14:11. |
||
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Michael Emter
Join Date: Mar 2017
Posts: 15
Rep Power: 10 ![]() |
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |