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

Read the density - fortran

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 5, 2008, 07:08
Default Read the density - fortran
  #1
Ollimarc
Guest
 
Posts: n/a
hi there,

please help. i think this is not a problem for the most user. but i do not know how to solve this.

i have this loop inside my fortran file which describes a return variable.

DO ILOC = 1,NLOC

RET(ILOC,1) = 1004.4 + B*ARGS(ILOC,1)

ENDDO

now i want to influence that value by the density. how to read out the density out of the stack? i tried so much since weeks... getvar, user_getvar... nothing works. anyone a good idea? please please help!

all the best ollimarc
  Reply With Quote

 


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
Fortran 'list-directed I/O syntax error' (KIVA 3V) ottbot Main CFD Forum 7 June 11, 2013 12:09
Problem of UDF using fortran programs hlsky FLUENT 0 October 12, 2011 11:07
Problem of UDF including fortran programs hlsky Fluent UDF and Scheme Programming 0 October 12, 2011 10:47
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 00:52
Variable Density Function ryzd FLUENT 1 August 25, 2011 14:16


All times are GMT -4. The time now is 08:21.