Reference Guide

The zCFD control file is a python file that is executed at runtime. This provides a flexible way of specifying key parameters, enabling user defined functions and leveraging the rich array of python libraries available.

A python dictionary called ‘parameters’ provides the main interface to controlling zCFD

parameters = {....}

zCFD will validate the parameters dictionary specified at run time against a set of expected values for each key. In general, values that should be integers and floats will be coerced to the correct type. Values which should be strings, booleans, lists or dictionaries will cause an error if they are the incorrect type. The time marching scheme and solver/equation set chosen defines which dictionary keys are valid. A simple script is provided to allow the user to check the validity of their input parameters before submitting their job. See Input Validation.

This reference guide documents the parameters available in a zCFD control dictionary and the valid values for those keywords.

parameters = {
    'reference': IC_1,
    'initial': { Initial State },
    'restart': False,
    'partitioner': 'metis',
    'scale': [1,1,1],
    'time marching': { Time Marching },
    'equations': { Equations },
    'material': { Material Specification },
    'IC_1': {Initial Conditions}
    'BC_1': {Boundary Conditions}
    'mapping': {Overset}
    'write output': {Write Output}
    'report': {Reporting}