Diffusivity object

The Diffusivity object specifies mass diffusivity.

The following topics are discussed:

Access

materialApi.materials()[name].diffusivity()

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, D.

  • Concentration, c.

  • 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:

  • D11.

  • D22.

  • D33.

  • Concentration, c.

  • 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:

  • D11.

  • D12.

  • D22.

  • D13.

  • D23.

  • D33.

  • Concentration, c.

  • 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.

Members

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:

Prototype

odb_PressureEffect pressureEffect() const;
odb_SoretEffect soretEffect() const;
pressureEffect

A PressureEffect object.

soretEffect

A SoretEffect object.

Corresponding analysis keywords