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

Passive Scalar Transport, Diffusivity and PimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Talerbla
  • 1 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2021, 09:24
Default Passive Scalar Transport, Diffusivity and PimpleFoam
  #1
New Member
 
Join Date: May 2021
Posts: 1
Rep Power: 0
Talerbla is on a distinguished road
Hi everyone,

I am currently working on a incompressible laminar pipe flow simulation combined with a passive scalar transport. Therefore I chose the pimpleFoam solver (max Courant Number of about 20) and the scalarTransport function object. So the scalar transport is solved after the outer-corrector loop of pimpleFoam. Everything works fine so far but I fear I have a little misunderstanding / problem in my setup. The reason why I am suspicious is that in my results I see unrealistic concentration osciallations (of the passive scalar) close to the walls whereas the velocity field looks normal. Ignoring numerics for a second, my understanding is:

I have a underlying velocity field with a certain viscosity (momentum diffusion). When I solve the passive transport (with a diffusion coefficient of 0) I would not expect these oscillations as the advection is basically "limited" by the viscosity of the fluid. I am most likely mistaken here!?

My other thought is that because the velocity close to the wall is very small, the scalar can "stay" there without being advected and then form these weird osciallations, as there is no diffusion that allows to smooth out the concentration gradients.


As soon as I set my diffusion coeffcient to something like 1e-6, these osciallations vanish as the additional artifical diffusion improves the numerical stability.


Best
Tobias
Talerbla is offline   Reply With Quote

Old   May 6, 2021, 09:02
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 634
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Without diffusion you indeed run into stability problems that can cause these oscillations. There are some differences in the schemes to use, but using a Courant number of 20 may not help in this sense.

I guess some explanation, even if it is not exactly the same problem is found here.

I would expect to see oscillations damp out with lower Courant number and indeed by choosing a small value of D. I would also expect some diffusion to be present. The choice of discretisation schemes also influences the result of course.

Cheers,
Tom
tomf is offline   Reply With Quote

Reply


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
scalarTransportFoam does not reach 100% of the input scalar RobertHB OpenFOAM Running, Solving & CFD 4 February 1, 2021 08:53
[Solved] Passive Scalar Source Term "Bug" taalf OpenFOAM Running, Solving & CFD 1 July 13, 2016 08:29


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