CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   stacks in User Fortran (http://www.cfd-online.com/Forums/cfx/115931-stacks-user-fortran.html)

D.ko April 9, 2013 11:48

stacks in User Fortran
 
basic form of user fortran is something like below.

Is it ok that i add more stacks than 5( CZ,DZ,IZ,LZ,RZ)??


#include "cfx5ext.h"
dllexport(udf)
SUBROUTINE udf (NLOC, NRET, NARG, RET, ARGS, CRESLT,
& CZ,DZ,IZ,LZ,RZ)

ghorrocks April 9, 2013 19:05

The whole point of a stack is that you have one of each variable type. Why would you want to create more? Why not just add your data to the existing stacks?


All times are GMT -4. The time now is 05:32.