|
[Sponsors] |
Implementation of pimpleFoam to incorporate pollutant dispersion |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 24, 2014, 04:04 |
Implementation of pimpleFoam to incorporate pollutant dispersion
|
#1 |
New Member
sakagura goemon
Join Date: Apr 2014
Posts: 1
Rep Power: 0 |
Hey guys,
I am quite new to OpenFOAM. And now I am trying to simulate pollutant transportation with LES simulation by using pimpleFoam. But there might be a problem about implementation of code. I added "#include CEqn.H" into pimpleFoam.C. The CEqn.H is: { volScalarField DCEff("DCEff", turbulence->nu()/Sct + turbulence->nuSgs()/Sct); fvScalarMatrix CEqn ( fvm::ddt(C) + fvm::div(phi, C) - fvm::laplacian(DCEff, C) ); CEqn.relax(); CEqn.solve(); } But, there was an error when I compiled it. The error message was: 'class Foam::incomplessible::turbulenceModel' has no member named 'nuSgs' So, I chenged the first line into: volScalarField DCEff("DCEff", turbulence->nuEff()/Sct); Since nuEff = nu + nuSgs, I think there is no problem. And there is no error when I compiled this program. But I am curious about if it is correct or not. If you have any ideas or advice, please let me know!! Thank you!! |
|
Tags |
implementation, pimplefoam, pollutant |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pollutant dispersion in the environment | alberto | OpenFOAM Running, Solving & CFD | 24 | November 29, 2014 14:31 |
Pollutant Dispersion Modeling for Urban Environment | Alex Lee | OpenFOAM Verification & Validation | 0 | October 25, 2013 03:43 |
Turbulent Dispersion for Coal Combustion | gravis | CFX | 2 | March 24, 2010 00:56 |
pollutant dispersion | Andy | CFX | 1 | August 26, 2007 19:41 |
Simulation of pollutant dispersion in a city | George | Siemens | 1 | June 27, 2007 05:26 |