The Viscosity object specifies mechanical viscosity.
import material mdb.models[name].materials[name].viscosity import odbMaterial session.odbs[name].materials[name].viscosity
This method creates a Viscosity object.
mdb.models[name].materials[name].Viscosity session.odbs[name].materials[name].Viscosity
Required argument
A sequence of sequences of Floats specifying the items described below.
Optional arguments
A SymbolicConstant specifying the type of viscosity. The default value is NEWTONIAN.
A Boolean specifying whether the data depend on temperature. The default value is OFF.
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.
This method modifies the Viscosity object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the Viscosity method.
Return value
Exceptions
RangeError.