CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Add mass sink to compressibleMultiInterFoam

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2022, 00:18
Default Add mass sink to compressibleMultiInterFoam
New Member
Join Date: Nov 2020
Posts: 3
Rep Power: 5
asenya is on a distinguished road
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 m_{new}=0.9*m_{0} 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.
asenya is offline   Reply With Quote


interfoam bubble, multyphase, sink term, solver

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
How can I add mass source or area source(if possible) to a Wall boundary in Fluent? THA SEANGHAI FLUENT 2 September 9, 2020 20:51
Coupled Heat and Mass Transfer Mecroob OpenFOAM Running, Solving & CFD 1 July 12, 2020 19:24
liquidEvaporation in simpleReactingFoam neilk OpenFOAM Programming & Development 0 May 16, 2019 19:37
How to add a Sink for Passive Scalar Mehar OpenFOAM Running, Solving & CFD 1 August 21, 2016 09:01
Add total mass using sources to multi component fluids mullenc525 CFX 1 February 5, 2011 04:56

All times are GMT -4. The time now is 15:54.