
[Sponsors] 
November 26, 2010, 04:26 
Mass conservation in COMSOL

#1 
New Member
Diego Ubeda
Join Date: Mar 2009
Posts: 7
Rep Power: 9 
Hello,
I am a user of COMSOL 3.5 and have realized something a little bit strange with mass conservation during my simulations. Therefore, I decided to build the easiest model I could in order to study this issue. I created a hexahedral pipe through which oxygen and water (gas phase) circulate. NavierStokes and MaxwellStefan equations are used to describe momentum and mass transport. The lower boundary is supposed to be a reactive surface and therefore an oxygen flux is set as boundary condition. If I calculate the oxygen mass flow (kg/s) that is going into the system (using the boundary integration tool, integrating the flux) and subtract the oxygen mass flow that is going out, I approximately obtain the same amount of oxygen that is disappearing through the reactive boundary, which means that mass balance for oxygen meets satisfactorily. However, if I do the same to check the water mass balance, the result is really not good. Calculating the difference between the water mass flux at the inlet and at the outlet, I obtain a noticeably different amount than the water that is being generated on the reactive boundary, which is the same (in mass terms) as the oxygen that is being consumed. The minimum mesh element quality is 1.000, so I guess that I cannot blame this on truncation errors or similar. Can you give me an explanation for this? Thank you very much for your help. 

December 27, 2010, 06:14 

#2  
New Member
Niklas Rom
Join Date: Dec 2010
Posts: 3
Rep Power: 7 
Hi, I suspect that you need to compensate the total mass balance for the reacting species. It is all described here:
http://www.comsol.com/support/knowledgebase/1100/ Niklas Rom, COMSOL Quote:


Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
lost of mass conservation  jjchristophe  FLUENT  0  June 18, 2010 05:44 
Mass conservation problem in mixing tank multiphase simulation  rockewan  FLUENT  0  April 6, 2010 12:34 
mass flow in is not equal to mass flow out  saii  CFX  2  September 18, 2009 08:07 
Mass Conservation  Balaji  FLUENT  0  May 11, 2005 07:16 
Mass conservation  Diego Nogueira  Main CFD Forum  1  July 30, 2004 15:50 