• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PurdueH2Lab/MatlabCEA: A Matlab interface for NASA CEA

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

PurdueH2Lab/MatlabCEA

开源软件地址(OpenSource Url):

https://github.com/PurdueH2Lab/MatlabCEA

开源编程语言(OpenSource Language):

MATLAB 95.3%

开源软件介绍(OpenSource Introduction):

MatlabCEA

This Matlab package contains tools for configuring and running NASA's CEA program.

Installation

Using SSH or Linux (recommended)

Use an SSH client to log in to a Linux server if you are not on one, or just open a terminal. To clone this repository into your Matlab folder (assuming it is at ~/Personal/MATLAB), enter the following commands:

cd ~/Personal/MATLAB
git clone git://github.com/PurdueH2Lab/MatlabCEA.git

Note: if you are a developer (and want to be able to push changes to this repository), use the following notation instead:

git clone git@github.com/PurdueH2Lab/MatlabCEA.git

To update your version of the code if you have already cloned the repository:

cd ~/MATLAB/MatlabCEA
git pull

To have the MatlabCEA folder added to your Matlab path by default, add the following line to your startup.m file in your default Matlab path (create startup.m if it does not exist):

addpath(fullfile(fileparts(userpath),'MATLAB','MatlabCEA'));

Using the GitHub Windows Client

Download GitHub for Windows and install it. Click the Clone in Desktop button on the right to clone this repository onto your local machine. The repository will be saved in your GitHub folder by default.

To update your version of the code, use the 'Sync' button in the GitHub program.

To have the MatlabCEA folder added to your Matlab path by default, add the following line to your startup.m file in your default Matlab path (create startup.m if it does not exist):

addpath(fullfile(fileparts(userpath),'GitHub','MatlabCEA'));

Using the Source Download

Download the source zip file. Extract its contents to your default Matlab folder and rename the newly created MatlabCEA-master folder to MatlabCEA.

To update your version of the code, delete the existing MatlabCEA folder and repeat the above procedure.

To have the MatlabCEA folder added to your Matlab path by default, add the following line to your startup.m file in your default Matlab path (create startup.m if it does not exist):

addpath(fullfile(fileparts(userpath),'MATLAB','MatlabCEA'));

User Guide

The MatlabCEA package documentation can be viewed in Matlab by typing

doc CEA

which will give you a list of functions and classes that are publicly accessible in the CEA package.

There are example scripts in the tests folder showing how to use the currently implemented features in MatlabCEA.

Future Development

This section lists, in no particular order, areas for future development of this tool.

  • The current version of MatlabCEA uses a Windows CEA executable that is more than a decade old. The newest version available from NASA, however uses an interactive prompt that makes it difficult to script. There may be a way to get around this, or the Fortran source file could be modified and re-compiled. This would also allow this to be used in Linux environments.

  • Currently, only rocket problems are implemented. On an as-needed basis, some of the other possible problem types (e.g. detonation) could be implemented too.

  • The output currently only reads the data in the Detn.plt file, although there is a lot more information present in Detn.out. The script could be modified to read Detn.out if a specific need arose, which would give species compositions among other things.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap