RAHerschelBulkleyRheologicalModel#

class ansys.rocky.app.ra_fluid_material.RAHerschelBulkleyRheologicalModel(rheological_model: Any)#

Overview#

GetBehaviorIndex

Get the value of “Behavior Index”.

SetBehaviorIndex

Set the value of “Behavior Index”.

GetMaximumViscosity

Get the value of “Maximum Viscosity”.

SetMaximumViscosity

Set the value of “Maximum Viscosity”.

GetReferenceViscosity

Get the value of “Reference Viscosity”.

SetReferenceViscosity

Set the value of “Reference Viscosity”.

GetYieldStress

Get the value of “Yield Stress”.

SetYieldStress

Set the value of “Yield Stress”.

Import detail#

from ansys.rocky.app.ra_fluid_material import RAHerschelBulkleyRheologicalModel

Attribute detail#

RAHerschelBulkleyRheologicalModel.subject: _typeshed.Incomplete#

Method detail#

classmethod RAHerschelBulkleyRheologicalModel.GetWrappedClass() → type[rocky30.models.material.fluid_material.HerschelBulkleyRheologicalModel]#
classmethod RAHerschelBulkleyRheologicalModel.GetClassName() → str#
RAHerschelBulkleyRheologicalModel.GetBehaviorIndex() → float#

Get the value of “Behavior Index”.

RAHerschelBulkleyRheologicalModel.SetBehaviorIndex(value: str | float) → None#

Set the value of “Behavior Index”.

Parameters:

value – The value to set. This value can be an expression with input variables or float type.

RAHerschelBulkleyRheologicalModel.GetMaximumViscosity(unit: str | None = None) → float#

Get the value of “Maximum Viscosity”.

Parameters:

unit – The unit for the returned value. If no unit is provided, the returned value will be in “Pa.s”.

RAHerschelBulkleyRheologicalModel.SetMaximumViscosity(value: str | float, unit: str | None = None) → None#

Set the value of “Maximum 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”.

RAHerschelBulkleyRheologicalModel.GetReferenceViscosity(unit: str | None = None) → float#

Get the value of “Reference Viscosity”.

Parameters:

unit – The unit for the returned value. If no unit is provided, the returned value will be in “Pa.s”.

RAHerschelBulkleyRheologicalModel.SetReferenceViscosity(value: str | float, unit: str | None = None) → None#

Set the value of “Reference 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”.

RAHerschelBulkleyRheologicalModel.GetYieldStress(unit: str | None = None) → float#

Get the value of “Yield Stress”.

Parameters:

unit – The unit for the returned value. If no unit is provided, the returned value will be in “Pa”.

RAHerschelBulkleyRheologicalModel.SetYieldStress(value: str | float, unit: str | None = None) → None#

Set the value of “Yield Stress”.

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”.