# Tominaga 2011: Which solver for releasing a contaminant?

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

 February 27, 2014, 06:45 Tominaga 2011: Which solver for releasing a contaminant? #1 Senior Member   Join Date: Jul 2009 Posts: 211 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: 211 Rep Power: 9 speciesTransportFoam? Anybody done something similar to this? Just want to use a non-reacting 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: 13 Hi Kingjewel, Since it concerns a non-reacting 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: 211
Rep Power: 9
Quote:
 Originally Posted by Lieven Hi Kingjewel, Since it concerns a non-reacting 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
Thank you for the explanation. I envisaged using LES so ultimately being a transient flow. I have some reservations about using a pure scalar (mainly because of my experience from fluent) and maybe a gas like CO_2 might be more realistic. Any thoughts about a solver or procedure here?

 March 2, 2014, 18:18 #5 Senior Member   Lieven Join Date: Dec 2011 Location: Mol, Belgium Posts: 295 Rep Power: 13 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 (one-way 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 Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Smaras FLUENT 2 February 19, 2013 07:58 danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 03:09 Roued CFX 1 October 2, 2001 16:49 tokai CFX 10 July 17, 2001 16:25 cfd guy CFX 4 May 8, 2001 06:04

All times are GMT -4. The time now is 04:16.