Services on Demand
Journal
Article
Indicators
- Cited by SciELO
- Access statistics
Related links
- Similars in SciELO
Share
Revista de Matemática Teoría y Aplicaciones
Print version ISSN 1409-2433
Abstract
ALFARO, Francisco Frutos and MENDEZ, Rodrigo Carboni. Magnetohydrodynamic equations (MHD) generation code. Rev. Mat [online]. 2016, vol.23, n.1, pp.41-61. ISSN 1409-2433.
A program to generate codes in Fortran and C of the full magnetohydrodynamic equations is shown. The program uses the free computer algebra system software REDUCE. This software has a package called EXCALC, which is an exterior calculus program. The advantage of this program is that it can be modified to include another complex metric or spacetime. The output of this program is modified by means of a LINUX script which creates a new REDUCE program to manipulate the magnetohydrodynamic equations to obtain a code that can be used as a seed for a magnetohydrodynamic code for numerical applications. As an example, we present part of the output of our programs for Cartesian coordinates and how to do the discretization.
Keywords : magnetohydrodynamic; Cartan's exterior calculus; numerical discretization.