Perform Calculations

The gas dynamic calculator allows you to perform various gas dynamics manual calculations with engineering formulas.

Procedure

  1. Open the Calculator  dialog:
    • On the ribbon, click Flow Simulation > Tools > Calculator.

    • In the menu, select Tools > Flow Simulation > Tools > Calculator.

  2. In the Calculator menu click Edit > New Formula or right-click a cell in the Calculator sheet and select New Formula.
  3. In the Select the name of the new formula tree select the required formulas by clicking corresponding check boxes.

    If you select the Preview formula check box and click the selected formula name, you will see the formula definition.

  4. Click OK to insert the selected formulas into the Calculator sheet.
  5. Each selected formula is arranged in a row, in the Result (or A) column you see the formula name, and in the next columns (B, C, etc.) you see names of the formula arguments (variables and constants).

    Type the formula arguments’ values in cells under their names in the SI units, the result value appears in the Result column cell. If a formula argument is a material property (e.g., density, viscosity) you can take the property value directly from the Engineering Database (see “Import a Value from the Engineering Database”).

    • You can reorganize your formula by defining any variable of the formula as a result. Simply drag and drop this variable name to the Result cell. The result variable name will move to the argument place.

    • For any variable, you can equate its value to other values specified or obtained in different cells of the Calculator sheet (e.g., the cell can belong to another formula, or not belong to any formula).

      In the Calculator sheet, select the name of the formula variable, then right-click this cell and select Add Relation or click Edit > Add Relation.

      Next, click the sheet cell which value will be used for the selected formula argument. A continuous relation with this cell will be established. For clarity, this relation will be marked by appending =NM to the argument name, where NM is the cell number (column N, row M).

      To break a relation, select the cell and click Edit > Delete Relation or right-click the cell and select Delete Relation.

    • To delete a formula from the Calculator sheet, click Edit > Delete Formula or click Delete Formula from the shortcut menu.

    • For convenience, you can insert or delete rows between formulas in the Calculator sheet by clicking Edit > Insert Row or Edit > Delete Row, or by clicking the same items in the shortcut menu.

    • You can save the Calculator sheet state, as an *.fwc file by clicking File > Save.

      Click File > Open to open an existing file, or click File > New to create a new empty sheet.

    • Additionally, you can treat the Calculator sheet formulas and data as text.

      You can cut (click Edit > Cut as Text), copy (click Edit > Copy as Text), and paste (click Edit > Paste as Text) the selected cells.

      To select more than one cell, hold down the Shift key while you select. These operations result in a text-only output (formulas will not be retained).

    • Click Report > Excel to copy data from the Calculator sheet to the Microsoft Excel sheet for further processing.

      The data are copied as a text, therefore formulas and relations will not be retained.