|
[Sponsors] |
October 26, 2010, 07:27 |
CFX User Fortran: Multiple Outputs
|
#1 |
New Member
Join Date: May 2010
Posts: 9
Rep Power: 16 |
Hi all,
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, 15:49 |
|
#2 |
Senior Member
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17 |
Two return arguments are not supported yet. You have to re-organize your routines and calculate the values in two USER CEL routines.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01: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 12:47 |
how to use USER FORTRAN with CFX | cfd_99 | Main CFD Forum | 1 | June 4, 1999 06:42 |
CFX User Subroutine Archive | David Creech | Main CFD Forum | 0 | March 17, 1999 13:41 |