|October 26, 2010, 06:27||
CFX User Fortran: Multiple Outputs
Join Date: May 2010
Posts: 9Rep Power: 8
I'm working with an User Fortran routine interfacing with ansys cfx.
It works and I get some good results, but now i have to modify something.
I need the routine to output 2 or more variables, but I'm not able to set the correct "Results Units" string in the function tab in cfx-pre.
I don't even know how to set the correct expression string that will recall the correct (only the 1st, or only the 2nd, etc) variable from the function...
Anyone with ideas?
Thanks to all, and thanks to CFDonline!!
|October 26, 2010, 14:49||
Join Date: Mar 2009
Posts: 168Rep Power: 9
Two return arguments are not supported yet. You have to re-organize your routines and calculate the values in two USER CEL routines.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Comparison between C/C++ and Fortran?||rick||Main CFD Forum||45||September 6, 2011 00:52|
|Best Code for User Fortran||worth||Main CFD Forum||4||November 14, 2003 11:21|
|Error when compiling user fortran||Mads Bang||CFX||1||October 8, 2002 11:47|
|how to use USER FORTRAN with CFX||cfd_99||Main CFD Forum||1||June 4, 1999 05:42|
|CFX User Subroutine Archive||David Creech||Main CFD Forum||0||March 17, 1999 13:41|