Skip to content

Integration of NASA CEA into MATLAB for project at École Polytechnique de Montréal

License

Notifications You must be signed in to change notification settings

Progdrasil/CEAMatlabAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chemical Equilibrium with Applications for MATLAB

NOTE: Seeing as this was a project from when I was a student, I do not have much time to work on this in my free time. I am seeing some interest from a few people, therefore I do have plans to come back to this and refactor it to python instead of matlab (Again since i am no loger a student and MatLab is expensive). It will still be supported in matlab using this feature. Pull requests are welcome if you wish to add more support (chemical output for example).

This project aims to modify NASA's Chemical Equilibrium with Applications to be able to use it's functionalities with MATLAB in a much easier and powerful way.

MEX

The MEX folder holds the modified cea2.f file with it's compiled mex64 file and the CEA class to set the input parameters and run the program properly. This folder also holds an example file called initialize.m.

IMPORTANT

The mex version on CEA only supports the rocket application at this time.

DEV

The DEV folder holds doccumentation for the developement of the API and the tracking of changes of the MEX files.

OLD

The OLD folder holds the following files which will be deleted in the comming weeks

In the OLD/NasaSource folder there is all the original files downloaded straight from NASA's CEA website. It was supposed to be better commented, however I never got around to doing it.

The OLD/CEA_Wrapper folder holds a quickly made matlab wrapper of CEA which consists of a function that writes the input file, calls the compiled CEA program, and translates the output file into a struct matrix which is returned to the user. Will be deleted since the MEX method is faster and much more accurate for the output data.

Created as a project in collaboration with École Polytechnique de Montréal

About

Integration of NASA CEA into MATLAB for project at École Polytechnique de Montréal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published