|
[Sponsors] |
June 30, 2022, 01:18 |
Add mass sink to compressibleMultiInterFoam
|
#1 |
New Member
Viktor
Join Date: Nov 2020
Posts: 3
Rep Power: 6 |
Good afternoon. I numerically simulate the growth and collapse of a vapor bubble. The growth of the bubble occurs due to the difference in pressure inside the gas bubble and the liquid around it. I want to implement the collapse in the following way. In each cell of the computational domain, the condition alpha.gas > 0 is checked, if yes, then the mass in this cell =0.9* is subtracted.
I am new to changing the solver, but as I understand it, I need to add a forALL loop with an if condition to the compressibleMultiphaseInterFoam.C file, so far I have not been able to do this. |
|
Tags |
interfoam bubble, multyphase, sink term, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I add mass source or area source(if possible) to a Wall boundary in Fluent? | THA SEANGHAI | FLUENT | 2 | September 9, 2020 21:51 |
Coupled Heat and Mass Transfer | Mecroob | OpenFOAM Running, Solving & CFD | 1 | July 12, 2020 20:24 |
liquidEvaporation in simpleReactingFoam | neilk | OpenFOAM Programming & Development | 0 | May 16, 2019 20:37 |
How to add a Sink for Passive Scalar | Mehar | OpenFOAM Running, Solving & CFD | 1 | August 21, 2016 10:01 |
Add total mass using sources to multi component fluids | mullenc525 | CFX | 1 | February 5, 2011 05:56 |