mahautils.multics

Classes for parsing Maha Multics input and output files

The mahautils.multics module provides file parsers compatible with Maha Multics input and output files. These objects are intended to aid in pre- and post-processing tasks.

File Parsers

The classes below can be used to read and/or write input and output files for the Maha Multics software.

Inheritance diagram of MahaMulticsConfigFile, FluidPropertyFile, PolygonFile, SimResults, VTKFile

MahaMulticsConfigFile([path, unit_converter])

A generic class for processing Maha Multics configuration files

FluidPropertyFile([path, unit_converter])

An object representing a Maha Multics fluid properties file

PolygonFile([path, unit_converter])

An object representing a Maha Multics polygon file

SimResults([path, unit_converter])

An object representing a Maha Multics simulation results file

VTKFile([path, unit_converter])

An object for representing VTK files

Unit Conversions

The classes below are customized versions of the unit converters found in the PyXX package. These objects can perform any unit conversions allowed by the Maha Multics software, and they allow users flexibility to define customized units.

MahaMulticsUnitSystem()

A Maha Multics-specific system of units

MahaMulticsUnit(base_unit_exps, scale, offset)

Class for representing units with linear transformations to/from the base units, customized to the Maha Multics software

MahaMulticsUnitConverter()

A unit converter using the SI system of units, pre-filled with common units