Viscosity(...)
This method creates a Viscosity object.
Path
mdb.models[name].materials[name].Viscosity session.odbs[name].materials[name].Viscosity
Required arguments
- 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.