|
[Sponsors] |
May 27, 2011, 06:28 |
Source Term in Canyon Simulations
|
#1 |
New Member
Abhinav Sharma
Join Date: Sep 2010
Posts: 28
Rep Power: 15 |
Hello,
I'm trying to replicate wind tunnel experiments done for pollutant dispersion inside isolated street canyon. Most of the work is based on the set up published by Meroney et al (1996). I'm having trouble (physics) incorporating the source for the scaler pollutant inside my domain. I've modified pisoFoam to incorporate scaler transport as Code:
fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(turbulence->nut()+DT, T) == source Regards, Abhinav |
|
May 28, 2011, 02:27 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
You can use setValues to do what you ask for. Please, search on the forum to see how to use it.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 13, 2015, 03:51 |
|
#3 | |
Member
Yan Wang
Join Date: May 2015
Location: Beijing
Posts: 41
Rep Power: 10 |
Quote:
Thank you! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem of SOURCE term gradient in UDS | wind | Fluent UDF and Scheme Programming | 6 | December 1, 2022 14:21 |
Read txt file and import values to source term. | Constantine | Fluent UDF and Scheme Programming | 40 | July 21, 2016 17:20 |
How to write source term into scalar Fiel | JimKnopf | OpenFOAM Programming & Development | 0 | March 23, 2011 05:59 |
Is it possible to use divergence in the source term of an scalar transport equation? | jannnesss | CFX | 0 | January 8, 2010 19:53 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 03:43 |