Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
PDE with algebraic equation
Posted May 29, 2015, 7:25 a.m. EDT 3 Replies
Please login with a confirmed email address before reporting spam
I am trying to implement mass concervation myself, but I do not understand how to do this correctly. To keep it simple at first, the density rho is constant
Mass conservation PDE:
d(rho)/dt + d(u*rho)/dt = 0
Algebraic equation
rho = 8 kg/m^3
Later I will try to couple this with Transport of diluted species, then the density rho will be changing since a difference is gas composition (molecular mass of the mixture changes due to different in composition)
Any help on how to implement the algebraic equation, I think I need to take the derivative somehow, but how do I do that neatly in Comsol?
Mass conservation PDE:
d(rho)/dt + d(u*rho)/dt = 0
Algebraic equation
rho = 8 kg/m^3
Later I will try to couple this with Transport of diluted species, then the density rho will be changing since a difference is gas composition (molecular mass of the mixture changes due to different in composition)
Any help on how to implement the algebraic equation, I think I need to take the derivative somehow, but how do I do that neatly in Comsol?
3 Replies Last Post May 29, 2015, 2:50 p.m. EDT