|
[Sponsors] |
August 19, 2015, 13:25 |
User FORTRAN for Monitoring in CFX
|
#1 |
New Member
Josh
Join Date: Aug 2013
Posts: 1
Rep Power: 0 |
I am trying to create a way to calculate the percent of area above a certain velocity on a given plane and monitor that value in the solver manager while the run is still going. This is a calculation I've done in Post using defined planes, ISO-Clip planes, and expressions.
I've been looking at User FORTRAN and Junction Box Routines, assuming that is the approach I'm going to have to take, but after all the reading in the ANSYS help, I still need help. I'm assuming that I will need a native face in the geometry to export information and feed into the FORTRAN code, since you can't create planes in Pre like you can in Post to calculate things on. Any thoughts on how to export from a native face, the structure and types of Routines I'd need to the FORTRAN related to the solver, I think I have a good idea what the layout of the code to actually calculate everything will be. And then sending the value back to the solver in order to plot? Any help, thoughts, or ideas would be much appreciated, thank you in advance. |
|
August 19, 2015, 18:48 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
How about:
T = if(u>10[m/s],1,0) And then do an area integral of T over your surface. |
|
Tags |
advanced monitoring, fortran, junction box |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set environmental variables of Intel Fortran +CFX? | Christine MO | CFX | 0 | September 23, 2011 12:11 |
how to write user fortran for turbulence model | waynezw0618 | CFX | 2 | July 10, 2009 02:55 |
Context of user fortran functions | Bloshchitsyn Vladimir | CFX | 0 | October 17, 2007 07:28 |
CFX arc-modeling, User Fortran, CEL.... | Bloshchitsyn Vladimir | CFX | 0 | October 15, 2007 07:17 |
how to use USER FORTRAN with CFX | cfd_99 | Main CFD Forum | 1 | June 4, 1999 06:42 |