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 29 mag 2015, 07:25 GMT-4 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 29 mag 2015, 14:50 GMT-4