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

Add mass sink to compressibleMultiInterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2022, 01:18
Default Add mass sink to compressibleMultiInterFoam
  #1
New Member
 
Viktor
Join Date: Nov 2020
Posts: 3
Rep Power: 6
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

Reply

Tags
interfoam bubble, multyphase, sink term, solver


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 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


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