The Diffusivity object specifies mass diffusivity.
materialApi.materials()[name].diffusivity()
This method creates a Diffusivity object.
materialApi.materials()[name].Diffusivity
odb_Diffusivity& Diffusivity(const odb_SequenceSequenceDouble& table, const odb_String& type, const odb_String& law, bool temperatureDependency, int dependencies);
Required argument
An odb_SequenceSequenceDouble specifying the items described below.
Optional arguments
An odb_String specifying the type of diffusivity. Possible values are "ISOTROPIC", "ORTHOTROPIC", and "ANISOTROPIC". The default value is "ISOTROPIC".
An odb_String specifying the diffusion behavior. Possible values are "GENERAL" and "FICK". The default value is "GENERAL".
A Boolean specifying whether the data depend on temperature. The default value is false.
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.
.
.
.
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.
.
.
.
.
.
.
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.
The Diffusivity object has members with the same names and descriptions as the arguments to the Diffusivity method.
In addition, the Diffusivity object can have the following members:
odb_PressureEffect pressureEffect() const; odb_SoretEffect soretEffect() const;
A PressureEffect object.
A SoretEffect object.