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

CFX User Fortran: Multiple Outputs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2010, 06:27
Default CFX User Fortran: Multiple Outputs
  #1
New Member
 
Join Date: May 2010
Posts: 9
Rep Power: 15
pingub is on a distinguished road
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!!
pingub is offline   Reply With Quote

Old   October 26, 2010, 14:49
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
Two return arguments are not supported yet. You have to re-organize your routines and calculate the values in two USER CEL routines.
joey2007 is offline   Reply With Quote

Reply


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
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 10: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 12:41


All times are GMT -4. The time now is 06:39.