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

Adding a scalar transport equation to twoPhaseEulerFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2018, 12:32
Default Adding a scalar transport equation to twoPhaseEulerFoam
  #1
Member
 
Join Date: Apr 2016
Posts: 30
Rep Power: 10
shanvach is on a distinguished road
Hi all,

I am trying to use twoPhaseEulerFoam for simulating a flow with Three Phases. Two phases are solved by the Navier Stokes Equation and one phase with the scalar transport equation. What would be the procedure to add the transport equation. Also, I am assuming incompressible flow without solving the energy equation

assuming
Volume fraction of Phase 1 = volfr1
Volume fraction of Phase 2 = volfr2

Both of these phases are solved by Navier Stokes Equation.

So for the transport of the third phase

Volume fraction of Phase 3 (volfr3) = 1 - volfr1 - volfr2

So my question is by using volfr3 in the the scalar transport equation, would that ensure mass conservation?
Do I have to edit the continuity.H file as well?

Thanks and regards,
Shantanu Vachhani
shanvach is offline   Reply With Quote

Old   October 29, 2018, 04:17
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
There are tutorials on how to add a scalart transport equation to icoFoam and pisoFoam. Maybe you can employ the same way for twoPhaseEulerFoam?!
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Reply

Tags
continuity equation, euler-euler, momentum equation, scalar transport, twophaseeulerfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Re: scalar transport equation problem Benny FLUENT 5 March 22, 2018 13:28
conjugateHeatFoam + interFoam farhagim OpenFOAM Programming & Development 15 July 19, 2016 07:55
Adding transport equation to twoPhaseEulerFoam (OF231) derkermit OpenFOAM Programming & Development 8 March 8, 2016 09:36
Is it possible to use divergence in the source term of an scalar transport equation? jannnesss CFX 0 January 8, 2010 19:53


All times are GMT -4. The time now is 11:31.