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.
Numerical Derivative is Jagged
Posted Apr 22, 2015, 10:58 a.m. EDT Parameters, Variables, & Functions Version 5.0 2 Replies
Please login with a confirmed email address before reporting spam
Hello, I'm modeling the unsteady state diffusion of a protein out of a hollow cylinder. Two plots I'm interested in are the cumulative mass release and the release rate. I obtained the former by integrating concentration over the domains the protein had diffused into and the latter by taking the time derivative of the cumulative release curve. However, my release rate graph has become very jagged. I've tried both decreasing the time step and refining the mesh to very small values, and while it has helped some, the curve is remains jagged and noisey. I read that because comsol works with derivatives and integrals numerically, taking the numerical derivative of a numerical integration can introduce a lot of noise as seen in my graph.
I attached my cumulative mass release plot where the integration gives a smooth curve, and the release rate where the time derivative of the integration becomes jagged. Is there any way to get rid of the jaggedness/noise that's introduced with taking a numerical derivative of a numerical integration?
I attached my cumulative mass release plot where the integration gives a smooth curve, and the release rate where the time derivative of the integration becomes jagged. Is there any way to get rid of the jaggedness/noise that's introduced with taking a numerical derivative of a numerical integration?
Attachments:
2 Replies Last Post Apr 22, 2015, 12:27 p.m. EDT