Diffusivity(...)
This method creates a Diffusivity object.
Path
materialApi.materials()[name].Diffusivity
Prototype
odb_Diffusivity& Diffusivity(const odb_SequenceSequenceDouble& table, const odb_String& type, const odb_String& law, bool temperatureDependency, int dependencies);
Required arguments
- table
An odb_SequenceSequenceDouble specifying the items described below.
Optional arguments
- type
An odb_String specifying the type of diffusivity. Possible values are "ISOTROPIC", "ORTHOTROPIC", and "ANISOTROPIC". The default value is "ISOTROPIC".
- law
An odb_String specifying the diffusion behavior. Possible values are "GENERAL" and "FICK". The default value is "GENERAL".
- 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 type=ISOTROPIC, the table data specify the following:
Diffusivity, .
Concentration, .
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 type=ORTHOTROPIC, the table data specify the following:
.
.
.
Concentration, .
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 type=ANISOTROPIC, the table data specify the following:
.
.
.
.
.
.
Concentration, .
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 Diffusivity object.
Exceptions
RangeError.