The SpecificHeat object specifies a material's specific heat.
materialApi.materials()[name].specificHeat()
This method creates a SpecificHeat object.
materialApi.materials()[name].SpecificHeat
odb_SpecificHeat& SpecificHeat(const odb_SequenceSequenceDouble& table, 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 specific heat behavior. Possible values are "CONSTANTVOLUME" and "CONSTANTPRESSURE". The default value is "CONSTANTVOLUME".
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
Specific heat per unit mass.
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 SpecificHeat object.
Exceptions
RangeError.
The SpecificHeat object has members with the same names and descriptions as the arguments to the SpecificHeat method.