CFD Online Logo CFD Online URL
Home > Forums > CFX


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   July 18, 2005, 19:24
Default dT/dt - FORTRAN
Posts: n/a

I am trying to write a FORTRAN routine which needs the local heating/cooling rate.

The utility USER_GETVAR can be used to get the local gradients (d/dx, d/dy, d/dz). Does anyone know how to get the local rate change?

Thanks Malcolm
  Reply With Quote

Old   July 19, 2005, 21:07
Default Re: dT/dt - FORTRAN
Robin K
Posts: n/a
Hi, This answer is based on CFX 4.4 (as this is what I use) may not helpful...sorry if this is the case!

In USRSRC (for example) to calculate dw/dt (a scalar variable), this can be done by getting the old scalar value in USRSRC:


Then dw/dt at a node would be given by something like:


Note: DT can be obtained in USRSRC by including the named COMMON block /TRANSR/ TIME,DT,DTINVF,TPARM (similar to USRTRN)

Hope it helps.

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 13 March 27, 2017 05:37
Intrinsic Procedure 'ISNAN' in GNU FORTRAN 77 hawk Main CFD Forum 1 April 12, 2005 22:13
visual fortran Monica Main CFD Forum 1 August 28, 2004 20:45
Fortran77 or Fortran 90 Swapnil CFX 2 November 26, 2002 16:16
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 09:34

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