|
[Sponsors] |
Additional Variables Defined By User FORTRAN CEL |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 6, 2013, 09:26 |
Additional Variables Defined By User FORTRAN CEL
|
#1 |
New Member
gaozengxun
Join Date: Aug 2013
Posts: 2
Rep Power: 0 |
Hi, all
Can additional variables be defined by using user fortran CEL, or only defined by CFX own CELs? The problem is, I defined an additional variable by using a fortran subroutine expression, but I can't plot this variable in CFD-Post and its value equals zero all over the field. On the other hand, when I use CFX own CELs to define an additional variable for a trial, it can be ploted in CFD-Post. That puzzles me! |
|
August 6, 2013, 19:16 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143 |
AVs need to be defined in CCL, but a user fortran routine can be used to put the value into a CEL expression which can be then used to set the AV.
|
|
August 6, 2013, 21:33 |
|
#3 |
New Member
gaozengxun
Join Date: Aug 2013
Posts: 2
Rep Power: 0 |
The problem has been solved!
The return value expression in my Fortran source file has been changed from RET(1,1) = ... into a DO-ENDDO loop INTEGER ILOC DO ILOC = 1, NLOC RET(ILOC,1) = ... ENDDO |
|
|
|
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 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
User Fortran and interior node information | John | CFX | 0 | August 26, 2008 22:24 |
User Fortran (CEL,,,).... | Bloshchitsyn Vladimir | CFX | 1 | October 11, 2007 07:45 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |