Compositions
Documentation TODO
This page is a work in progress.
fullflow.Composition
Container for species mass-fraction states.
Composition stores a set of species and their associated mass-fraction State objects. It is used by FullFlow property lookups and flow-mixing components to represent pure fluids, mixtures, and dynamically changing mixture compositions.
Species names are normalized through FluidRegistry, so aliases may be used when constructing or accessing a composition.
Parameters
| Name | Type | Description |
|---|---|---|
fluid | dict[str, State or float] or str, optional | Initial species composition |