Automatic Generation of Matlab Functions Using Mathematica and Thermath | IEEE Journals & Magazine | IEEE Xplore

Automatic Generation of Matlab Functions Using Mathematica and Thermath


Abstract:

The program tool Thermath now lets researchers automatically generate complete, ready-to-use Matlab functions. The examples here deal with critical-point calculations and...Show More

Abstract:

The program tool Thermath now lets researchers automatically generate complete, ready-to-use Matlab functions. The examples here deal with critical-point calculations and the development of equipment models for separations in the chemical industry, but the ability to automatically generate Matlab functions is useful in many areas of science and engineering.
Published in: Computing in Science & Engineering ( Volume: 10, Issue: 4, July-Aug. 2008)
Page(s): 41 - 49
Date of Publication: 24 June 2008

ISSN Information:

Department of Chemical engineering, Federal University of Rio de Janeiro, Brazil
Raquel S. Macedo is an undergraduate chemical engineering student at the Federal University of Rio de janeiro, Brazil. Her interests include computer applications to chemical engineering and the development of technological processes. Contact her at raquelmacedo@uol.com.br.
Raquel S. Macedo is an undergraduate chemical engineering student at the Federal University of Rio de janeiro, Brazil. Her interests include computer applications to chemical engineering and the development of technological processes. Contact her at raquelmacedo@uol.com.br.View more
Empresa de Pesquisa Energética, Rio de Janeiro, Brazil
Marcelo F. Alfradique is a researcher at Empresa de Pesquisa Enerqetica, Rio de janeiro, Brazil. His research interests include high-pressure phase equilibrium, the design of reactive distillation columns, and computer algebra applications to engineering problems. Alfradique has a DSc in chemical engineering from the Federal University of Rio de janeiro, Brazil. Contact him at alfradik@gmail.com.
Marcelo F. Alfradique is a researcher at Empresa de Pesquisa Enerqetica, Rio de janeiro, Brazil. His research interests include high-pressure phase equilibrium, the design of reactive distillation columns, and computer algebra applications to engineering problems. Alfradique has a DSc in chemical engineering from the Federal University of Rio de janeiro, Brazil. Contact him at alfradik@gmail.com.View more
United Arab Emirates University, UAE
Marcelo Castier is an associate professor at the United Arab Emirates Universitv, AI Ain, United Arab Emirates. (He was with the Federal University of Rio de Janeiro, Brazil, when this work was performed.) His research interests include chemical engineering thermodynamics. Castier has a PhD in chemical engineering at the Technical University of Denmark. Contact him at mcastier@gmail.com.
Marcelo Castier is an associate professor at the United Arab Emirates Universitv, AI Ain, United Arab Emirates. (He was with the Federal University of Rio de Janeiro, Brazil, when this work was performed.) His research interests include chemical engineering thermodynamics. Castier has a PhD in chemical engineering at the Technical University of Denmark. Contact him at mcastier@gmail.com.View more

Thermath Extension

Mathematica is a large commercial program capable of performing various analytical operations, such as differentiation, integration, and formula simplification. It also has intrinsic functions, such as FortranForm, which take a formula's internal representation as an input argument and output the corresponding code in Fortran. However, FortranForm won't

Take more than one formula at a time

Look for common subexpressions

Look for symmetries, or

Produce a complete subroutine or function to implement the formula(s).

Department of Chemical engineering, Federal University of Rio de Janeiro, Brazil
Raquel S. Macedo is an undergraduate chemical engineering student at the Federal University of Rio de janeiro, Brazil. Her interests include computer applications to chemical engineering and the development of technological processes. Contact her at raquelmacedo@uol.com.br.
Raquel S. Macedo is an undergraduate chemical engineering student at the Federal University of Rio de janeiro, Brazil. Her interests include computer applications to chemical engineering and the development of technological processes. Contact her at raquelmacedo@uol.com.br.View more
Empresa de Pesquisa Energética, Rio de Janeiro, Brazil
Marcelo F. Alfradique is a researcher at Empresa de Pesquisa Enerqetica, Rio de janeiro, Brazil. His research interests include high-pressure phase equilibrium, the design of reactive distillation columns, and computer algebra applications to engineering problems. Alfradique has a DSc in chemical engineering from the Federal University of Rio de janeiro, Brazil. Contact him at alfradik@gmail.com.
Marcelo F. Alfradique is a researcher at Empresa de Pesquisa Enerqetica, Rio de janeiro, Brazil. His research interests include high-pressure phase equilibrium, the design of reactive distillation columns, and computer algebra applications to engineering problems. Alfradique has a DSc in chemical engineering from the Federal University of Rio de janeiro, Brazil. Contact him at alfradik@gmail.com.View more
United Arab Emirates University, UAE
Marcelo Castier is an associate professor at the United Arab Emirates Universitv, AI Ain, United Arab Emirates. (He was with the Federal University of Rio de Janeiro, Brazil, when this work was performed.) His research interests include chemical engineering thermodynamics. Castier has a PhD in chemical engineering at the Technical University of Denmark. Contact him at mcastier@gmail.com.
Marcelo Castier is an associate professor at the United Arab Emirates Universitv, AI Ain, United Arab Emirates. (He was with the Federal University of Rio de Janeiro, Brazil, when this work was performed.) His research interests include chemical engineering thermodynamics. Castier has a PhD in chemical engineering at the Technical University of Denmark. Contact him at mcastier@gmail.com.View more
Contact IEEE to Subscribe

References

References is not available for this document.