Shell Pairs
 
The shell pairs are created based on the surfaces belonging to a part. The shell pairs are compressed to a mid surface or set of mid surfaces and shell elements are assigned to it.
The functions described in this section provide read and write access to the data and contents of the shell pair objects. Shell pairs use the ProType field in the ProMechitem structure as PRO_SIMULATION_SHELL_PAIR.
Functions Introduced:
The function ProMechshellpairMaterialIdGet() returns the material used to create the shell pair. Use the function ProMechshellpairMaterialIdSet() to set the material id of the shell pair.
The function ProMechshellpairReferencesGet() returns the geometric references for the shell pair item. Use the function ProMechshellpairReferencesSet() to set the geometric references for the shell pair item.
The function ProMechshlpairrefsTypeGet() returns the type of shell pair references. The types of shell pairs are:
PRO_MECH_SHELL_PAIR_CONSTANT—Specifies a shell pair with constant thickness. All opposing surfaces parallel to each other and equidistant from the opposing surface for a constant-thickness shell pair.
PRO_MECH_SHELL_PAIR_VARIABLE—Specifies a variable thickness shell pair. Both opposing surfaces are neither parallel nor concentric for a variable thickness shell pair.
Note:
 
From onwards, the shell type PRO_MECH_SHELL_PAIR_VARIABLE is also supported in the Native mode of .
PRO_MECH_SHELL_PAIR_MULTI_CONSTANT—Specifies a shell pair with multiple pairs of surfaces. For a pair of surfaces, each surface is parallel to and equidistant from the opposing surface. However, the distance between the surfaces for each of the multiple pairs may vary.
Note:
 
From onwards, the thickness type PRO_MECH_SHELL_PAIR_MULTI_CONSTANT has been deprecated and the function ProMechshlpairrefsTypeSet() will return an error type PRO_TK_UNSUPPORTED.
Use the function ProMechshlpairrefsTypeSet() to set the type of shell pair references.
The functions ProMechshlpairrefsTopreferencesGet() and ProMechshlpairrefsBottomreferencesGet() provide access to the top and bottom references for the shell pair. This should be defined for all shell pair types. Use the functions ProMechshlpairrefsBottomreferencesSet() and ProMechshlpairrefsTopreferencesSet() to set the top and bottom references for the shell pair.
The function ProMechshlpairrefsPlacementtypeGet() returns the placement of shell pair. The types of placement references are as follows:
PRO_MECH_SHELL_PAIR_PLACEMENT_TOP—Specifies that the placement uses the top surface of the surface pair.
PRO_MECH_SHELL_PAIR_PLACEMENT_BOTTOM— Specifies that the placement uses the bottom surface of the surface pair.
PRO_MECH_SHELL_PAIR_PLACEMENT_MIDDLE— Specifies that the placement uses the mid surface of the surface pair.
— Specifies that the placement uses an arbitrary selected surface, which can be a datum surface.
Use the function ProMechshlpairrefsPlacementtypeSet() to set the placement type of the shell pair.
Use the function ProMechshlpairrefsSelectedplacementGet() to access the data structure containing the selected surface. Use the function ProMechshlpairrefsSelectedplacementSet() to set the surface for the placement reference of type SELECTED.
Use the function ProMechshlpairrefsExtendAdjacentSurfacesGet() to retrieve the value of the flag that indicates whether the adjacent surfaces in a shell pair will be extended during meshing or not. For a mixed model, you can set this flag to extend surfaces adjacent to the top and bottom surfaces of the shell pair by using the function ProMechshlpairrefsExtendAdjacentSurfacesSet(). However, this is possible only if the angle between the shell pair surfaces and their adjacent surfaces is less than the value specified by the configuration option.
Note:
 
For a midsurface model, extends the adjacent surfaces regardless of the value of sim_extend_surf_max_angle. The default value of sim_extend_surf_max_angle is 30 degrees.
You must initialize the environment to use these functions. For shell pairs defined in Pro/ENGINEER Mechanica 4.0 and earlier, this flag is set to 1 by default.
Use the function ProMechshlpairrefsFree() to free the simple shell data handle in .
這是否有幫助?