CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How to write UDF to add a source term to the new transport equation ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2012, 04:14
Default How to write UDF to add a source term to the new transport equation ?
  #1
New Member
 
IVI
Join Date: Oct 2012
Posts: 14
Rep Power: 13
89566008 is on a distinguished road
please help me to write UDF for this type of source term

S=-d/dx(AZ+B)
where A and B are constant and Z is the new scalar.
89566008 is offline   Reply With Quote

Old   October 22, 2012, 07:31
Default
  #2
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 16
mvee is on a distinguished road
Please describe your problem.
Why do want scalar equation and how its source term exist?
How do you couple its solution with NS equation?

Best wishes
Mvee
mvee is offline   Reply With Quote

Old   October 22, 2012, 08:23
Default
  #3
New Member
 
IVI
Join Date: Oct 2012
Posts: 14
Rep Power: 13
89566008 is on a distinguished road
the scalar equation is for ion density in ESP .
the source term is in below form :
S=d/dx(constant1*uds0*grad_uds1+constant2)
uds0 is the current scalar that the source term is for it
and uds1 is the scalar that defined separate
thanks
IVI
89566008 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
how to troduce a source term in ICOFOAM solver's equation sawyer86 OpenFOAM Running, Solving & CFD 0 July 20, 2012 12:15
Source term energy equation for reactive flows DaIN Main CFD Forum 0 October 6, 2011 16:11
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 20:53
source term udf tas38 FLUENT 1 August 14, 2009 11:44


All times are GMT -4. The time now is 12:49.