29.107 Viscosity object

The Viscosity object specifies mechanical viscosity.

Access
import material
mdb.models[name].materials[name].viscosity
import odbMaterial
session.odbs[name].materials[name].viscosity


29.107.1 Viscosity(...)

This method creates a Viscosity object.

Path
mdb.models[name].materials[name].Viscosity
session.odbs[name].materials[name].Viscosity

Required argument

table

A sequence of sequences of Floats specifying the items described below.

Optional arguments

type

A SymbolicConstant specifying the type of viscosity. The default value is NEWTONIAN.

temperatureDependency

A Boolean specifying whether the data depend on temperature. The default value is OFF.

dependencies

An Int specifying the number of field variable dependencies. The default value is 0.

Table data

If type=NEWTONIAN, the table data specify the following:

  • Viscosity, .

  • Temperature, if the data depend on temperature.

  • Value of the first field variable, if the data depend on field variables.

  • Value of the second field variable.

  • Etc.

Return value

A Viscosity object.

Exceptions

RangeError.


29.107.2 setValues(...)

This method modifies the Viscosity object.

Required arguments

None.

Optional arguments

The optional arguments to setValues are the same as the arguments to the Viscosity method.

Return value

None

Exceptions

RangeError.


29.107.3  Members

The Viscosity object has members with the same names and descriptions as the arguments to the Viscosity method.

In addition, the Viscosity object can have the following member:

trs

A Trs object.


29.107.4  Corresponding analysis keywords

*VISCOSITY