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

develop solver with using concentration advection diffusion

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By dlahaye

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2021, 04:43
Default develop solver with using concentration advection diffusion
  #1
New Member
 
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6
ms.hashempour is on a distinguished road
Dear guys

I want to develop solver with using advection diffusion eq. for concentration. I have to add the following eq. to the multiphaseInterMixingFoam solver:

∂Ci/∂t = − ( u + u si ) ∇C i + ∇ ( α ( ν + ν t ) ∇C )


where α is the phase fraction of water in the domain. u is the fluid velocity, usi is the sediment particles settling velocity.

would you plz guide me to add this eq to the solver?


many thanks
ms.hashempour is offline   Reply With Quote

Old   January 2, 2021, 05:32
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 723
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Look at scalarTransportFoam.
ms.hashempour likes this.
dlahaye is offline   Reply With Quote

Old   January 2, 2021, 06:03
Default
  #3
New Member
 
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6
ms.hashempour is on a distinguished road
Dear Domenico

Thanks for your answer.
I have problem to add this term:

(u + u si)

when I want to add usi (particles settling velocity) which is vector, I face an error. I did as exact as your suggestion. But I could not add another vector.
ms.hashempour 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
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 15:44
Hybrid discretisation - blend factor gcoopermax CFX 5 September 23, 2016 08:05
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
convection, diffusion, advection, dispersion Lam Main CFD Forum 7 May 18, 2007 12:04
2D advection - diffusion Radu Main CFD Forum 1 September 28, 2004 03:47


All times are GMT -4. The time now is 07:12.