CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Implementation of pimpleFoam to incorporate pollutant dispersion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 24, 2014, 03:04
Default Implementation of pimpleFoam to incorporate pollutant dispersion
  #1
New Member
 
sakagura goemon
Join Date: Apr 2014
Posts: 1
Rep Power: 0
None is on a distinguished road
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!!
None is offline   Reply With Quote

Reply

Tags
implementation, pimplefoam, pollutant

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 02:43
Turbulent Dispersion for Coal Combustion gravis CFX 2 March 24, 2010 00:56
pollutant dispersion Andy CFX 1 August 26, 2007 18:41
Simulation of pollutant dispersion in a city George CD-adapco 1 June 27, 2007 04:26


All times are GMT -4. The time now is 03:56.