NASA9Coefficients#

class NASA9Coefficients[source]#

Bases: Flow360BaseModel

NASA 9-coefficient polynomial coefficients for computing temperature-dependent thermodynamic properties.

Attributes

temperature_ranges: list[flow360_schema.models.simulation.models.material.NASA9CoefficientSet]#

List of NASA 9-coefficient sets for different temperature ranges. Must be ordered by increasing temperature and be continuous. Maximum 5 ranges supported.

Additional Constructors

classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

get_coefficients_at_temperature(temp_k)[source]#

Get the NASA 9 coefficients for a given temperature.

Parameters:

temp_k (float)

Return type:

list

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None