butterfly.controlDict module

BlockMeshDict class.

class butterfly.controlDict.ControlDict(values=None)[source]

Bases: butterfly.foamfile.FoamFile

Control dict class.

application

Set solver application.

(default: simpleFoam)

endTime

1000).

Type:Set end timestep (default
classmethod from_file(filepath)[source]

Create a FoamFile from a file.

Parameters:filepath – Full file path to dictionary.
functions

Function objects.

include

Get if any file is included in controlDict.

purgeWrite

0).

Type:Set the number of results folders to be kept (default
startTime

0).

Type:Set start timestep (default
writeCompression

Write results as .zip files.

Set to True to compress the results before writing to your machine (default: False)

writeInterval

100).

Type:Set the number of intervals for writing the results (default