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

User FORTRAN for Monitoring in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2015, 13:25
Default User FORTRAN for Monitoring in CFX
  #1
New Member
 
Josh
Join Date: Aug 2013
Posts: 1
Rep Power: 0
jir2830 is on a distinguished road
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.
jir2830 is offline   Reply With Quote

Old   August 19, 2015, 18:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,852
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
How about:

T = if(u>10[m/s],1,0)

And then do an area integral of T over your surface.
ghorrocks is offline   Reply With Quote

Reply

Tags
advanced monitoring, fortran, junction box


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
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


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