Test for mass conservation

1 次查看(过去 30 天)
Moritz
Moritz 2013-3-2
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by