Backward Compatibility with Version 6.3 and Earlier
Quaternion Variables
In the Attachment, Average Rotation, Rigid Connector, and Rigid Material nodes in 3D, the internal dependent variable for the quaternion has been modified in order to be safely initialized with a zero solution. When opening an old model, this rescaling is done automatically to maintain full compatibility.
When building a model using the API, the new behavior will be used. This is true even if, for example, a Java file created from an older version is used.
If you have manually changed the scale of the DOF in the solver sequence for the quaternion defined by an Average Rotation node, you need to replace lines similar to
model.sol("sol1").feature("v1").feature("comp1_solid_avgr1_q")
.set("scaleval", 1);
with a line similar to
model.sol("sol1").feature("v1").feature("comp1_solid_avgr1_qd").set("scaleval", 1);
For the Attachment, Rigid Connector, and Rigid Material nodes, you only need to update existing code if you have deselected grouping of ODE variables in the physics interface (this is on by default). In that case, you need to replace lines similar to
model.sol("sol1").feature("v1").feature("comp1_solid_att1_a")
.set("scaleval", 1);
model.sol("sol1").feature("v1").feature("comp1_solid_a_rig1")
.set("scaleval", 1);
model.sol("sol1").feature("v1").feature("comp1_solid_rd1_a")
.set("scaleval", 1);
with lines similar to
model.sol("sol1").feature("v1").feature("comp1_solid_att1_a0")
.set("scaleval", 1);
model.sol("sol1").feature("v1").feature("comp1_solid_a0_rig1")
.set("scaleval", 1);
model.sol("sol1").feature("v1").feature("comp1_solid_rd1_a0")
.set("scaleval", 1);
Fasteners
The Fasteners node and its associated Hole Selection subnode in the Shell interface are now defined as global features. A new fastener hole detection criterion is used to incorporate the fastener diameter as the reference length. This change of criterion requires a slightly different tolerance value. When opening an old model, the conversion is done automatically, and the automatic hole detection provides the same hole selection as in previous versions. You may consider adjusting the diameter tolerance as this is the new filtering criterion.
When building a model using the API, the new behavior will be used. This is true even if, for example, a Java file created from an older version is used. Some older syntax, however, need manual conversion.
The source and destination selections for the Fasteners node and Hole Selection subnode that were defined with lines similar to
model.physics("shell").feature("fst1").selection().set(1);
model.physics("shell").feature("fst1").selection("bndDst")
.set(2);
model.physics("shell").feature("fst1").feature("hsel1")
.selection().all();
need to be replaced with
model.physics("shell").feature("fst1").selection("fstSrc")
.set(1);
model.physics("shell").feature("fst1").selection("fstDst")
.set(2);
model.physics("shell").feature("fst1").feature("hsel1")
.selection("edgSelSrc").all();
To convert the center offset tolerance to the new criterion, change the line
model.physics("shell").feature("fst1").feature("hsel1")
.selection("epsilon_c",0.1);
to
model.physics("shell").feature("fst1").feature("hsel1")
.selection("epsilon_c",0.1/2);
Finally, to enable the former radius difference criterion and discard the newly added diameter tolerance criterion, include the following line:
model.physics("shell").feature("fst1").feature("hsel1")
.set("hasEpsilon_r",true);
model.physics("shell").feature("fst1").feature("hsel1")
.set("epsilon_d",10);
Spring–Damper
In the Spring–Damper node, available in the Solid Mechanics, Shell, Plate, Membrane and Truss interfaces, the energy dissipated in the damper is computed only when it is indicated in the Energy Dissipation section in the settings of the physics interface.