PyFoam.Applications.CommonPrePostHooks module

Class that implements the common functionality for executing hooks before and after the running of the solver

class PyFoam.Applications.CommonPrePostHooks.CommonPrePostHooks[source]

Bases: object

The class that runs the hooks

addOptions(auto_enable=True)[source]
prepareHooks()[source]

Prepare the hooks and output additional info if wanted

runPostHooks()[source]

Run the hooks after the execution of the solver

runPreHooks()[source]

Run the hooks before the execution of the solver