The CDCTerm object is used to create contributing terms for a DerivedComponent object.
sectionApi.sections()[name].behaviorOptions(i).connectorPotentials(i)\ .derivedComponent().cdcTerms(i) sectionApi.sections()[name].behaviorOptions(i).derivedComponent()\ .cdcTerms(i) sectionApi.sections()[name].behaviorOptions(i).evolutionPotentials(i)\ .derivedComponent().cdcTerms(i) sectionApi.sections()[name].behaviorOptions(i).initiationPotentials(i)\ .derivedComponent().cdcTerms(i)
This method creates a CDCTerm object.
sectionApi.sections()[name].behaviorOptions(i).connectorPotentials(i)\ .derivedComponent().CDCTerm sectionApi.sections()[name].behaviorOptions(i).derivedComponent()\ .CDCTerm sectionApi.sections()[name].behaviorOptions(i).evolutionPotentials(i)\ .derivedComponent().CDCTerm sectionApi.sections()[name].behaviorOptions(i).initiationPotentials(i)\ .derivedComponent().CDCTerm
odb_CDCTerm& CDCTerm(const odb_SequenceInt& intrinsicComponents, const odb_SequenceSequenceDouble& table, const odb_String& termOperator, const odb_String& termSign, bool localDependency, const odb_String& indepCompType, const odb_SequenceInt& indepComponents, bool tempDependency, int fieldDependencies);
Required arguments
An odb_SequenceInt specifying the components of relative motion for which the contributing term is defined. Possible values are 1
intrinsicComponents
6. Only available components can be specified if the DerivedComponent object is being referenced by a Potential object. This is not the case if the DerivedComponent object is referenced by a ConnectorFriction object directly. The default value is an empty sequence.
An odb_SequenceSequenceDouble specifying components numbers and temperature and field values. Each sequence of the table data specifies:
The default value is an empty sequence.
The first intrinsic component number.
If applicable, the second intrinsic component number.
Etc.
If applicable, the first independent component number.
If applicable, the second independent component number.
Etc.
If applicable, the temperature value.
If applicable, the value of the first field variable.
If applicable, the value of the second field variable.
Etc.
Optional arguments
An odb_String specifying the method for combining contributing terms: square root of a sum of the squares, direct sum, or Macauley sum. Possible values are "RSS", "SUM", and "MACAULEY". The default value is "RSS".
An odb_String specifying the overall sign for the contributing term. Possible values are "POSITIVE" and "NEGATIVE". The default value is "POSITIVE".
A Boolean specifying whether the table data depend on either components of relative position or components of constitutive relative motion. The default value is false.
An odb_String specifying whether localDependency refers to components of relative position or components of constitutive relative motion. Possible values are "POSITION" and "MOTION". The default value is "POSITION".
The indepCompType argument applies only if localDependency=true.
An odb_SequenceInt specifying the independent components included in the derived component definition. Possible values are 1
indepComponents
6. Only available components can be specified. The indepComponents argument applies only if localDependency=true. The default value is an empty sequence.
A Boolean specifying whether the table data depend on temperature. The default value is false.
An Int specifying the number of field variable dependencies. The default value is 0.
Return value
A CDCTerm object.
Exceptions
ValueError and TextError.
This method modifies the CDCTerm object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the CDCTerm method.
Return value
Exceptions
ValueError.
The CDCTerm object has members with the same names and descriptions as the arguments to the CDCTerm method.
In addition, the CDCTerm object can have the following member:
odb_ConnectorOptions options() const;
A ConnectorOptions object specifying the ConnectorOptions used to define tabular options for this ConnectorBehaviorOption.