|
[Sponsors] |
October 7, 2005, 17:47 |
I'm not sure. It's not my fiel
|
#21 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
I'm not sure. It's not my field. But you could give a look to the papers on dispersion in the environment where flacs calculations are presented.
They validated their models on large scale data and experiments. You can find the manual here (you need to subscribe for free): http://www.gexcon.com/index.php?src=...alidation.html Regards, Alberto
__________________
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. |
|
January 29, 2008, 21:27 |
Hi all,
So to revisit the q
|
#22 |
New Member
C.E.M.
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi all,
So to revisit the question raised by Alberto, does anyone know (or be willing to discuss) how to make an indexed list of constants that is read from a dictionary. So, the diffusivity example Alberto brought up would work great. That is, say you have n diffusion constants listed in your constants dictionary as: dimensionedScalar D1 (dictionary.lookup("D1")); . . . dimensionedScalar Dn (dictionary.lookup("DY")); but you want to index them in your solver (along with other indexed fields) as: for(label i=0; i<n; i++) { volScalarField& Yi = Y[i]; // call D[i] list here solve ( fvm::ddt(Yi) + fvm::D[i]*fvm::laplacian(Yi) ); etc. Or is there a better way about going about this? Mattijs' suggestion from before is currently over my head . Best, Evan |
|
May 23, 2008, 06:09 |
I have just needed to do this,
|
#23 |
Member
Andrew King
Join Date: Mar 2009
Location: Perth, Western Australia, Australia
Posts: 82
Rep Power: 17 |
I have just needed to do this, so I've posted what I have used.
for creating the scalar fields: Info<< "Reading number of scalars..."; scalar nScalar(readScalar(transportProperties.lookup("nSc alar"))); Info<< nScalar <<endl; PtrList<dimensionedscalar> DS(nScalar); PtrList<volscalarfield> S(nScalar); forAll(S, si) { Info<< "Reading diffusivity DS" << si << endl; dimensionedScalar DSi(transportProperties.lookup("DS" + Foam::name(si))); DS.set(si,new dimensionedScalar(DSi)); Info<< "Reading field S" << si << endl; S.set(si,new volScalarField( IOobject ( "S" + Foam::name(si), runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh )); } then to solve the (laminar) scalar transport forAll(S,si) { solve ( fvm::ddt(S[si]) + fvm::div(phi, S[si]) - fvm::laplacian(DS[si], S[si]) ); } } (corrections welcome) Regards, Andrew
__________________
Dr Andrew King Fluid Dynamics Research Group Curtin University |
|
September 21, 2010, 04:49 |
Linking species properties with species equation and spacies table
|
#24 | |
Member
Hrushikesh Khadamkar
Join Date: Jul 2010
Location: Mumbai
Posts: 68
Rep Power: 16 |
Quote:
I am also trying to develop steady state liquid phase multispecies solver. Can you elaborate more on how to link individual species properties in the species equation? Hrushikesh |
||
November 29, 2014, 14:31 |
|
#25 |
Member
azna
Join Date: Nov 2012
Posts: 30
Rep Power: 14 |
Hi,
I am working on a multiphase flow ( air-water) project in Fluent. I would like to assume that at time=0 (initial condition), nitrogen exists in the water ( without any inlet). I was wondering how can I define water+nitrogen, for e.g. 50mg/l nitrogen exists in water.? is there any section I can define concentration of nitrogen is water ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
pollutant source | J.Z | Phoenics | 2 | April 3, 2007 19:33 |
pollutant source | Riccardo Buccolieri | FLUENT | 0 | January 22, 2005 04:38 |
pollutant source | Riccardo Buccolieri | FLUENT | 0 | January 20, 2005 05:06 |