uclchem#

UCLCHEM project entry.

The UCLCHEM python module is divided into several parts:
  • model contains the functions for running chemical models under different physics.

  • analysis contains functions for reading output files as well

    as investigating the chemistry.

  • plot contains functions for plotting output files.

  • advanced provides access to Fortran modules, parameters, heating/cooling controls

    and advanced solver parameters.

Subpackages#

Submodules#

Package Contents#

Functions#

auto_initialize_coolant_directory(→ bool)

Automatically initialize the coolant data directory for the Fortran module.

uclchem.auto_initialize_coolant_directory() bool[source]#

Automatically initialize the coolant data directory for the Fortran module.

This is a convenience wrapper around initialize_coolant_directory() that: - Attempts to locate coolant data files - Sets the coolant directory in the Fortran module if found - Logs warnings instead of raising exceptions if initialization fails

This function is called automatically when the uclchem module is imported.

Returns:

True if initialization succeeded, False if it failed

Return type:

bool

Examples

>>> from uclchem.advanced.advanced_heating import auto_initialize_coolant_directory
>>> if auto_initialize_coolant_directory():
...     print("Coolant data initialized successfully")
...
Coolant data initialized successfully