|
[Sponsors] |
January 24, 2011, 09:15 |
UDS source term problem
|
#1 |
New Member
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 16 |
i have two uds for scalar n0 and n1
now i want to add a source term "gradient (gradient n1)" in n0's equation but i only find that gradient n1=C_UDSI_G(c,t,1) how about "gradient (gradient n1)" ? |
|
January 24, 2011, 22:48 |
|
#2 |
Senior Member
Join Date: Feb 2010
Posts: 164
Rep Power: 17 |
Set another additional UDS2 and let UDS2=C_UDSI_G(c,t,1), Then C_UDSI_G(c,t,2) is what you want.
|
|
January 26, 2011, 03:22 |
|
#3 |
New Member
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 16 |
thanks for your anwser. There's another quastion about the error about type of variables.
C_UDSI(c,t,2) can't be equal to C_UDSI_G(c,t,1) seems like that C_UDSI(c,t,2) is a scalar but C_UDSI_G(c,t,1) is a vector? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problematic source term in UDS | ak6g08 | Fluent UDF and Scheme Programming | 6 | February 10, 2015 01:19 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
Problem with source term in the calculation domain | galaad | OpenFOAM Running, Solving & CFD | 0 | November 28, 2005 10:43 |
UDS n It's source term | Umesh | FLUENT | 3 | December 17, 2003 17:31 |