RANewtonianRheologicalModel#
- class ansys.rocky.app.ra_fluid_material.RANewtonianRheologicalModel(rheological_model: Any)#
Overview#
Get the value of “Viscosity”. |
|
Set the value of “Viscosity”. |
Import detail#
from ansys.rocky.app.ra_fluid_material import RANewtonianRheologicalModel
Attribute detail#
- RANewtonianRheologicalModel.subject: _typeshed.Incomplete#
Method detail#
- classmethod RANewtonianRheologicalModel.GetWrappedClass() type[rocky30.models.material.fluid_material.NewtonianRheologicalModel]#
- RANewtonianRheologicalModel.GetViscosity(unit: str | None = None) float#
Get the value of “Viscosity”.
- Parameters:
unit – The unit for the returned value. If no unit is provided, the returned value will be in “Pa.s”.
- RANewtonianRheologicalModel.SetViscosity(value: str | float, unit: str | None = None) None#
Set the value of “Viscosity”.
- Parameters:
value – The value to set. This value can be an expression with input variables or float type.
unit – The unit for value. If no unit is provided, value is assumed to be in “Pa.s”.