有用的网站:

http://www.engr.colostate.edu/~marchese/combustion08/cec.html

1 把三个压缩包解压到同一个Ubuntu文件夹CEAexec

2 设置环境变量(这步很重要!)

PATH=$PATH:~/Downloads/CEAexec/

不设置环境变量的话,运行程序会提示不能执行FECA2。其实可执行文件FECA2已经在当前目前下了,但是不设置环境变量程序找不到这个可执行文件。

3 运行./runCEA.sh

File: Readme_CEAgui-win.txt

The CEA GUI Download Readme file for Microsoft Windows:

( Win98/ NT4.0 / Win2000 / winXP )

Last update: July 24, 2008, Minna.M.Chao@nasa.gov 216-433-5197

http://www.grc.nasa.gov/WWW/CEAWeb/ceaguiDownload-win.htm

A) The CEA GUI Download consists of the following files:

  1. CEAgui-jar.zip - CEAgui JAR file:

    If you have previously installed CEAgui Package , then update to a NEW

    version of CEAgui by downloading the newest JAR file (CEAgui.jar).
  1. CEA+Fortran.zip - CEA Fortran Package consists of the Source code, Libraries, and examples files.

    If the Fortran files(cea2.f, cea.inc, syntax.f, b1b2b3.f) must be

    recompiled on your local machine, then the Fortran executable files for

    cea2.f, syntax.f, b1b2b3.f should be renamed as FCEA2.exe, syntax.exe,

    b1b2b3.exe respectively. It included the CEA related packages - CAP, PAC, MISC.
  1. CEAexec-win.zip - CEAexec Package consists of the following files:

    b1b2b3.exe, syntax.exe - The executables for CEAgui.

    FCEA2.exe - The executable for cea2.

    thermo.lib, trans.lib - The cea2 Fortran library files

    ceaguiDownload-win.htm - The web page for download.

    Readme_CEAgui-win.txt - The file you are reading.

    CEAexec-win.bat - run CEAgui using this Batch File

The batch files must contain the following line:

java -classpath "CEAgui.jar" CEAgui

  1. If your local system has not installed the Java SE Development Kit (JDK), you must

    install the Java SE Runtime Environment(JRE) which consists of Java Virtual

    Machine, the Java platform core classes, and supporting files. It is the runtime part of the JDK.

    You always download the latest releases of JDK or JRE from the Sun Microsystems at

    http://java.sun.com/javase/downloads/index.jsp

B) The CEAexec Package installaton procedures for Windows:

1.Create the installation Directory on your local machine (e.g. mkdir C:\CEAexec)

2.Download all three ZIP files and the executable file into the SAME directory

(e.g. cd C:\CEAexec)

3.Unzip the Fortran Source Code (CEA+Fortran.zip) and save into the SAME directory.

4.Unzip the CEA GUI Execution file(CEAexec-win.zip)and save into the SAME directory.

5.Unzip the CEAgui JAR file (CEAgui-jar.zip) and save into the SAME directory..

6.Double-click on the file (jre-6u5-windows-i586-p.exe) to install

Java Runtime Environment(JRE)by using the system DEFAULT directory

(e.g. C:\Program Files\Java\jre1.6.0_05)

7.Execute the batch file (CEAexec-win.bat) for using the file CEAgui.jar.

Try examples by selecting "Open Examples" from the "File" Menu and choosing an example.

Then select "Run CEA2 Executable" from the "Activity" Menu.

最新文章

  1. 动态加载JS脚本
  2. Apache Commons 系列简介 之 Pool
  3. ArrayList排序
  4. windows系统调用 利用事件对象实现进程通信
  5. XmlSerializer 对象的Xml序列化和反序列化,XMLROOT别名设置
  6. Oracle 物化视图 说明
  7. Docker仓库搭建(Registry + Portus)
  8. Gradle 1.3之前的Publishing artifacts
  9. spring mvc 重新定向到一个新的Url
  10. 分析Model2系统心得
  11. Spring+SpringMVC+MyBatis+easyUI整合优化篇(七)图片上传功能
  12. macos解决Hadoop之Unable to load native-hadoop library
  13. 关于Mybatis浅谈
  14. linux centos6.8搭建 jdk 环境
  15. for循环案例
  16. opencv2函数学习之flip:实现图像翻转
  17. mysql字段集合中如何去除其中一个元素
  18. AWS CSAA -- 02 AWS - 10000 Feet Overview
  19. 防止js拦截跳转请求的方法
  20. leetcode7 Rerver Integer

热门文章

  1. 用Vue来实现音乐播放器(10):Scroll组件的抽象和应用
  2. python-加密(base64)
  3. 常用的adb命令收集
  4. SQLServer中的top、MySql中的limit、Oracle中的rownum
  5. 数论-欧拉函数-LightOJ - 1370
  6. vue-router路由如何实现传参
  7. .Net core 3.0 SignalR+Vue 实现简单的即时通讯/聊天IM (无jq依赖)
  8. 来自python自学者的小问题
  9. SpringBoot使用RestTemplate
  10. 【题解】Oh My Holy FFF