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

source term involving a gradient of the scalar var

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 14, 2007, 09:14
Default source term involving a gradient of the scalar var
  #1
sm
Guest
 
Posts: n/a
can anybody help how to include a source term which involves the gradient of the scalar using CFX 10 for user defined variable.

thanx

sm
  Reply With Quote

Old   May 14, 2007, 10:19
Default Re: source term involving a gradient of the scalar
  #2
opaque
Guest
 
Posts: n/a
Dear sm,

In ANSYS CFX 10.0, you must use User Fortran to access the gradient of a scalar, and use it as a source term.

The User CEL example number 2 in the User Fortran documentation uses the gradient of an additional variable (scalar) as a source term for the momentum equation.

In ANSYS CFX 11.0, you can do it w/o the User Fortran.

Hope this helps, and your choice of version to use

Opaque.

  Reply With Quote

Old   May 15, 2007, 03:51
Default Re: source term involving a gradient of the scalar
  #3
sm
Guest
 
Posts: n/a
Thanx opaque, i have found it. I will try to use it

sm
  Reply With Quote

Old   May 23, 2007, 09:34
Default Re: source term involving a gradient of the scalar
  #4
sm
Guest
 
Posts: n/a
Dear opaque,

Could you let me know how to do without User Fortran in CFX 11.0. I tried with CFX 10 but had some compiler problem.

With thanx

sm
  Reply With Quote

Reply

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
Source term linearization lost.identity Main CFD Forum 7 May 8, 2010 11:07
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
UDF Source Term Units? Brian FLUENT 1 October 24, 2005 09:15


All times are GMT -4. The time now is 00:42.