Test for mass conservation

15 vues (au cours des 30 derniers jours)
Moritz
Moritz le 2 Mar 2013
Hello,
i am not sure how to test my solution for a compressible sediment during centrifguation.
I do not use mass but concentration instead. If i then integrate the resulting concentration profile i do get more than 100 % recovery compared to the area of my initial profile.
Test(end,:)=cumtrapz(sol(end,1:end))./cumtrapz(ustart(1:end))
Where sol = time x space
Should i convert to mass before i do that ? It would cancel out i guess, so using concentrations should be fine. Or am i wrong with that and just too tired.
Thanks

Réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by