This method creates a Viscous object.
Path
materialApi.materials()[name].Viscous
Prototype
odb_Viscous&
Viscous(const odb_SequenceSequenceDouble& table,
const odb_String& law,
bool temperatureDependency,
int dependencies);
Required arguments
- table
An odb_SequenceSequenceDouble specifying the items described below.
Optional arguments
- law
An odb_String specifying the creep law. Possible values are "STRAIN", "TIME", and "USER". The default value is "STRAIN".
- temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is false.
- dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
Table data
If law=STRAIN or law=TIME, the table data specify the following:
.
.
.
.
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.
If law=USER, the table data specify the following:
.
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 Viscous object.