
[Sponsors] 
February 27, 2014, 06:45 
Tominaga 2011: Which solver for releasing a contaminant?

#1 
Senior Member
Join Date: Jul 2009
Posts: 228
Rep Power: 9 
I'd like to release a scalar/dye/contaminant from a volume or point source at a fixed location throughout my simulation As per the following image.
Which solver/method would you use to model this in openfoam? I'm leaning towards simplifiedSiwek but 

March 2, 2014, 11:07 

#2 
Senior Member
Join Date: Jul 2009
Posts: 228
Rep Power: 9 
speciesTransportFoam? Anybody done something similar to this? Just want to use a nonreacting tracer gas that includes turbulences and mass.


March 2, 2014, 15:36 

#3 
Senior Member
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 14 
Hi Kingjewel,
Since it concerns a nonreacting tracer, the tracer does not affect the velocity field so you have two options: 1. If the velocity field is steady steate, you can first solve the flow field using an appropriate solver (e.g. simpleFoam). Next, you can use the generated velocity field in scalarTransportFoam to solve the dispersion. Note that this will require to modify the latter to account for the turbulence diffusion. 2. You can create your own solver which directly combines the two steps above. Cheers, L 

March 2, 2014, 15:52 

#4  
Senior Member
Join Date: Jul 2009
Posts: 228
Rep Power: 9 
Quote:


March 2, 2014, 18:18 

#5 
Senior Member
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 14 
With LES, the easiest will be to start from the pisoFoam or pimpleFoam and add the scalar transport equation to it. Basically combining the piso/pimpleFoam with scalarTransportFoam. You can compute the turbulent diffusion coefficient using the nuSgs of the LES model.
At first, I would start with a passive scalar (oneway coupling). Afterwards, you could add some complexity by adding the effect of the scalar on the wind field... If you have any other questions, feel free to ask! Cheers, L 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
3d vof  Smaras  FLUENT  2  February 19, 2013 07:58 
Interfoam blows on parallel run  danvica  OpenFOAM Running, Solving & CFD  16  December 22, 2012 03:09 
CFX 5.5  Roued  CFX  1  October 2, 2001 16:49 
Setting a B.C using UserFortran in 4.3  tokai  CFX  10  July 17, 2001 16:25 
Error during Solver  cfd guy  CFX  4  May 8, 2001 06:04 