Abstract

This work presents a Fortran code to solve the advection equation in 1, 2 and 3 dimensions. The scheme is based on a rational interpolation function. Not only the interpolation profile itself but also its first-order spatial derivatives are predicted by the governing equation. Using the Lagrangian invariant solution of the advection to evaluate the gradients makes the method compact. The scheme is indeed constructed over only one mesh cell. The method has third-order accuracy in the smooth region and appears to be able to suppress spurious numerical oscillations near great gradients.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.