|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 4 ![]() |
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)" ? |
|
|
|
|
|
|
|
|
#2 |
|
Member
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 94
Rep Power: 5 ![]() |
Set another additional UDS2 and let UDS2=C_UDSI_G(c,t,1), Then C_UDSI_G(c,t,2) is what you want.
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
tom pan
Join Date: Nov 2010
Posts: 14
Rep Power: 4 ![]() |
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? |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problematic source term in UDS | ak6g08 | Fluent UDF and Scheme Programming | 3 | July 15, 2009 09:30 |
| OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
| DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
| Problem with source term in the calculation domain | galaad | OpenFOAM Running, Solving & CFD | 0 | November 28, 2005 09:43 |
| UDS n It's source term | Umesh | FLUENT | 3 | December 17, 2003 16:31 |