Using CEA from Command Prompt
A. Miyoshi

Using CEA from Command Prompt

  This document describes how to use NASA CEA2 from Command Prompt.   The executable program is the same as one included in the GUI version.

Downloading and Extracting Programs

Calculation with Sample Inputs

  1. Open the Command Prompt with the current directory set to the folder created above ("cea-exec").   (You need to use Command promt instead of PowerShell window to follow the instructions below.)
    * See Command Prompt Basics to use and configure the Command Prompt, or for the terms like current directory.
  2. invoke the "fcea2m" program.
    cea-exec>fcea2m
  3. Following the prompting message, Type "cea2" as below.
     ENTER INPUT FILE NAME WITHOUT .inp EXTENSION.
       THE OUTPUT FILES FOR LISTING AND PLOTTING WILL HAVE
     THE SAME NAME WITH EXTENSIONS .out AND .plt RESPECTIVELY
    
    
    cea2
    
    cea-exec>
  4. Make sure that three output files (cea2.out, cea2.plt, and cea2.csv) have been created in the folder, and check the error messages in the outputs.
  5. In order to perform calculation with the example inputs on the Top page, for example, to calculate for the example "CH4_O2_N2_tp.inp", place it in the current directory, and type "CH4_O2_N2_tp" on the prompt shown in 3. above.   (As noted in the prompt in 3., DO NOT enter ".inp".)