Abstract

The large-scale computer simulation of a system of physical fields governed by partial differential equations requires some means of approximating the mathematical limit of continuity. For example, conservation laws are often treated with a ‘finite-volume’ approach in which space is partitioned into a large number of small ‘cells,’ with fluxes through cell faces providing an intuitive discretization modeled on the mathematical definition of the divergence operator. Here we describe and make available Fortran 2003 classes furnishing extensible object-oriented implementations of simple meshes and the evolution of generic conserved currents thereon, along with individual ‘unit test’ programs and larger example problems demonstrating their use. These classes inaugurate the Mathematics division of our developing astrophysics simulation code GenASiS (Gen eral A strophysical Si mulation S ystem), which will be expanded over time to include additional meshing options, mathematical operations, solver types, and solver variations appropriate for many multiphysics applications. Program SummaryProgram Title: SineWave, SawtoothWave, RiemannProblem, RayleighTaylor, SedovTaylor, and FishboneMoncrief (fluid dynamics example problems illustrating GenASiSMathematics)Program Files doi:http://dx.doi.org/10.17632/mzvxngwtw6.1Licensing provisions: GPLv3Programming language: Fortran 2003 (tested with gfortran 6.2.0, Intel Fortran 16.0.3, Cray Compiler 8.5.3)External routines/libraries: MPI [1] and Silo [2]Nature of problem: By way of illustrating GenASiSMathematics functionality, solve example fluid dynamics problems.Solution method: Finite-volume discretization; second-order slope-limited reconstruction; HLL Riemann Solver; Runge–Kutta time integration.Additional comments including Restrictions and Unusual features: The example problems named above are not ends in themselves, but serve to illustrate the functionality available though GenASiSMathematics. In addition to these more substantial examples, we provide individual unit test programs for the classes comprised by GenASiSMathematics.GenASiSMathematics is available in the CPC Program Library and also at https://github.com/GenASiS. [1]http://www.mcs.anl.gov/mpi/[2]https://wci.llnl.gov/simulation/computer-codes/silo

Full Text
Paper version not known

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.