Exporting Properties for Converge
The export script, fl export converge, generates property data files for use in Converge CFD simulations.
There are two options for exporting data:
1. Mixture Properties: This option generates a csv file named mixturePropsGCM_<fuel_name>.csv containing
mixture property predictions for a given fuel over a specified temperature range.
2. Individual Component Properties: This option generates a directory named <fuel_name> containing individual
component property files (<k>_<component_name>.csv) and a composition file (composition_<fuel_name>.csv)for the fuel.
The properties include:
Critical temperature
Dynamic viscosity
Surface tension
Latent heat of vaporization
Vapor pressure
Density
Mass specific heat
Thermal conductivity
Note
The property predictions of individual compounds or for the mixture may not be valid from the specified temp_min to temp_max.
Constant values are set for temperatures below the freezing point of the mixture or above
the minimum critical temperature of all compounds in the fuel. These temperature values will be noted in the
terminal output and should be considered when using the mixture properties in a simulation.
This example walks through the process and the available options for exporting GCM-based properties for
“posf10325”, which is conventional Jet-A, using the fl export converge command.
Default Options
After installing FuelLib with pip install fuellib (see pypi.org/project/fuellib), run the following command in the terminal, noting that --fuel-name is the only required input:
fl export converge --fuel-name posf10325
Or using the short option -f:
fl export converge -f posf10325
This generates the files for each compound and a composition description in FuelLib/exportData/posf10325 with
property predictions from 0 K to 1000 K for use in a Converge simulation.
Additional Options
There are several additional options that can be specified when running the fl export converge command:
-dir, --fuel-data-dir PATH: Directory containing the fuel data files. Default:fuellib/data.-t, --temp-min K: Minimum temperature for property calculations. Default:0.-T, --temp-max K: Maximum temperature for property calculations. Default:1000.-s, --temp-step K: Step size for temperature. Default:10.-o, --export-dir PATH: Directory to export the file. Default:./exportData.-m, --export-mix: Export mixture properties only (no individual components).
For example, run the following command to export mixture properties from 273 K to 550 K with 5 K steps:
fl export converge -f posf10325 -m -t 273 -T 550 -s 5
Or with long options:
fl export converge --fuel-name posf10325 --export-mix --temp-min 273 --temp-max 550 --temp-step 5
This generates the file FuelLib/exportData/mixturePropsGCM_posf10325.csv with mixture
property predictions from 273 K to 550 K for use in a Converge simulation.
Warning
Mixture properties for critical temperature, latent heat, and specific heat are provided by Conventional mixing rules and need additional validation.