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

Source term for alpha equation with multiple phases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2024, 03:11
Default Source term for alpha equation with multiple phases
  #1
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 278
Rep Power: 12
mostanad is on a distinguished road
Hi foamers,
I am working on a case with three phases. Because of dealing with multiple phases, I found multiphaseInterFoam a proper option for my aim.
But in my simulation case, just for one existing phase, and not between two of them, I need to add a source term to that specific phase alpha equation.
We know alpha equation for interFoam is solved in alphaEqn.H. However, in multiphaseInterFoam, the calculation of this equation using MULES solver has been included in multiphaseMixture.C.
https://github.com/OpenFOAM/OpenFOAM...phaseMixture.C
When we look at its line 657, it seems that Su and Sp for source terms is set zeroFields in the explicit solver.
Code:
MULES::explicitSolve
        (
            geometricOneField(),
            alpha,
            alphaPhi,
            zeroField(),
            zeroField()
           );
and it is not possible to add a source term for multiphase solver, even for a single phase.
So can anyone guide my on this matter whether it is feasible to have source term in a multiple phase solver using multiphaseMixture?
mostanad is offline   Reply With Quote

Old   August 18, 2024, 20:44
Default
  #2
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 278
Rep Power: 12
mostanad is on a distinguished road
No comment from OF experts?!
mostanad 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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 03:52
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44


All times are GMT -4. The time now is 01:24.