ThermallyPerfectGas#

class ThermallyPerfectGas[source]#

Bases: Flow360BaseModel

Multi-species thermally perfect gas model.

Attributes

species: list[flow360_schema.models.simulation.models.material.FrozenSpecies]#

List of species with their NASA 9 coefficients and mass fractions. Mass fractions must sum to 1.0.

Methods

validate_mass_fractions_sum_to_one()[source]#

Validate that mass fractions sum to 1 and re-normalize if within tolerance.

validate_unique_species_names()[source]#

Validate that all species have unique names.

validate_temperature_ranges_match()[source]#

Validate all species have matching temperature range boundaries.