:class:`RANewtonianRheologicalModel` ==================================== .. py:class:: ansys.rocky.app.ra_fluid_material.RANewtonianRheologicalModel(rheological_model: Any) .. py:currentmodule:: RANewtonianRheologicalModel Overview -------- .. tab-set:: .. tab-item:: Constructors .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~GetWrappedClass` - * - :py:attr:`~GetClassName` - .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~GetViscosity` - Get the value of "Viscosity". * - :py:attr:`~SetViscosity` - Set the value of "Viscosity". .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~subject` - Import detail ------------- .. code-block:: python from ansys.rocky.app.ra_fluid_material import RANewtonianRheologicalModel Attribute detail ---------------- .. py:attribute:: subject :type: _typeshed.Incomplete Method detail ------------- .. py:method:: GetWrappedClass() -> type[rocky30.models.material.fluid_material.NewtonianRheologicalModel] :classmethod: .. py:method:: GetClassName() -> str :classmethod: .. py:method:: GetViscosity(unit: str | None = None) -> float Get the value of "Viscosity". :param unit: The unit for the returned value. If no unit is provided, the returned value will be in "Pa.s". .. !! processed by numpydoc !! .. py:method:: SetViscosity(value: str | float, unit: str | None = None) -> None Set the value of "Viscosity". :param value: The value to set. This value can be an expression with input variables or float type. :param unit: The unit for `value`. If no unit is provided, `value` is assumed to be in "Pa.s". .. !! processed by numpydoc !!