Test for mass conservation
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Testing Frameworks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!