CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Adding passive scalar transport for incompressible flows

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2014, 00:09
Default Adding passive scalar transport for incompressible flows
  #1
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
Thangam is on a distinguished road
Hi

I am simulating an unsteady turbulent jet where air is released into a quiescent medium of air. I am trying to add passive scalar to my inlet (like a dye or tracer and no reactions) for the following reasons:
1) To monitor the concentration change due to diffusion and mixing.
2) To have a better visualizations since I assume they would take different colors in post processing since they are two different species though both are air.(I have attached a picture (westerweel et al. 2009)

A couple of ways I thought to do this:

1) rewrite scalarTransportFoam for concentration instead of temperature.
2) use reactingFoam with exactly the same properties for the species with no reaction and no combustion. However I failed to understand the difference between reactingFoam and RhoReactingFoam and I believe both are for compressible flows.Hence, rewrite a solver for incompressible flows?
3) Use interFoam and use similar properties for both the fluids

However I am not sure if any of the above would work though!

Any thoughts would be appreciated!

Thanks!
Attached Images
File Type: jpeg westerweel.jpeg (35.6 KB, 85 views)
Thangam is offline   Reply With Quote

Old   December 16, 2014, 01:48
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Hello,

I think you can use scalarTransportFoam directly as it is transient solver for passive scalar.

-Yogesh
ybapat is offline   Reply With Quote

Old   December 16, 2014, 02:17
Default
  #3
Member
 
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16
Thangam is on a distinguished road
Thanks Yogesh. I guess the scalarTransportFoam solves for the temperature as the transported scalar which I dont require in my case. I need something like a tracer that varies in concentration as diffusion takes place.
Thangam is offline   Reply With Quote

Old   December 16, 2014, 04:01
Default
  #4
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
Hello,

Take a look at the function Object "scalarTransport". Just add it in you controlDict + tracer name in 0 dict, and your done. Work will most of OF solver.
You can find some example in this forum.

regards,
olivier
olivierG is offline   Reply With Quote

Old   April 2, 2015, 18:04
Default
  #5
New Member
 
howgee
Join Date: Jun 2013
Posts: 12
Rep Power: 12
cfd_inquirer is on a distinguished road
hello there OliverG. I was trying to do what you said but it seemed like OpenFOAM ver 2.2.2 (what am using) doesn't recognize the

type scalarTransport

as a function object. :-(

Do you know where I could find such example? Thanks in advance.
cfd_inquirer is offline   Reply With Quote

Reply

Tags
concentrations, reacting foam, scalar transport, turbulence analysis


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a scalar transport equation to be conserved? immortality OpenFOAM Programming & Development 3 May 5, 2013 08:11
icoFoam with multiRegion and passive scalar transport RugbyGandalf OpenFOAM Programming & Development 1 January 2, 2013 02:41
Generic Scalar Transport Equations venkyr56 Main CFD Forum 4 February 6, 2011 05:20
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 19:53
transport equation for SGS scalar variance chinthakindi Main CFD Forum 0 April 27, 2004 09:26


All times are GMT -4. The time now is 00:29.