|
[Sponsors] |
How to write UDF to add a source term to the new transport equation ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 20, 2012, 04:14 |
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: 14 |
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. |
|
October 22, 2012, 07:31 |
|
#2 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 |
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 |
|
October 22, 2012, 08:23 |
|
#3 |
New Member
IVI
Join Date: Oct 2012
Posts: 14
Rep Power: 14 |
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 |
|
|
|
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 |