Abstract

The paper explains a method by which discretizations of the continuity and momentum equations can be designed, such that they can be combined with an equation of state into a discrete energy equation. The resulting ‘MaMEC’ discretizations conserve mass, momentum as well as energy, although no explicit conservation law for the total energy is present. Essential ingredients are (i) discrete convection that leaves the discrete energy invariant, and (ii) discrete consistency between the thermodynamic terms. Of particular relevance is the way in which finite volume fluxes are related to nodal values. The method is an extension of existing methods based on skew-symmetry of discrete operators, because it allows arbitrary equations of state and a larger class of grids than earlier methods.The method is first illustrated with a one-dimensional example on a highly stretched staggered grid, in which the MaMEC method calculates qualitatively correct results and a non-skew-symmetric finite volume method becomes unstable. A further example is a two-dimensional shallow water calculation on a rectilinear grid as well as on an unstructured grid. The conservation of mass, momentum and energy is checked, and losses are found negligible up to machine accuracy.

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.