|
[Sponsors] |
return more than one value from a user function |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2008, 11:00 |
return more than one value from a user function
|
#1 |
Guest
Posts: n/a
|
Hello,
I've got a question concerning the user functions. I want to return three values from my user function and use them in my sessionfile. With one return value, it works great, but when I want to return more values there will be faults. my user function factor.F: ... DO ILOC = 1,NLOC RET(ILOC,1) = velfactor RET(ILOC,1) = sinangular RET(ILOC,1) = cosangular END DO ... my sessionfile: ... LIBRARY: CEL: EXPRESSIONS: factor=UserFactor(1) sinangular=UserFactor(2) cosangular=UserFactor(3) END END END .... Why does this not work properly with three values? Thanks a lot for answering me. Best Regards Benny |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Function defination | aeroeng11 | CFX | 2 | October 8, 2011 13:11 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
User Defined Function for convection coefficient | ereiss | FLUENT | 1 | July 8, 2004 17:10 |
User define flux function | kethireddy | FLUENT | 0 | July 5, 2004 05:53 |