The LiveLink for Solid Edge feature, available from the
LiveLink menu in the
Home toolbar, synchronizes the geometry between Solid Edge
® and COMSOL Multiphysics
®.
For geometry synchronization to take place both COMSOL Multiphysics and Solid Edge
® need to be running, and the CAD file needs to be open in the CAD software. When this is not possible,
Offline Synchronization is available so that you can, from the CAD software, save synchronization files, which you can load into the LiveLink node.
During synchronization the LiveLink™ interface initiates a rebuild of the CAD geometry in Solid Edge
® based on the parameter values set in the COMSOL Multiphysics
® model, then associatively transfers the rebuilt geometry to the model to ensure that physics and other model settings are retained on the geometric entities where they were originally defined.
Synchronized geometry objects are represented using the Parasolid® geometry kernel inside COMSOL Multiphysics. Thus, you can apply all the tools and features for defeaturing and geometry modification as included with this LiveLink™ product.
To specify which CAD document to synchronize use the
Synchronize with list. Select
Active document to synchronize the open and active CAD document in Solid Edge
®. For the initial synchronization after adding a LiveLink™ node,
Active document is the only available setting. For subsequent synchronizations the
Specified document option becomes selected instead. Using this setting the CAD document specified after
Document will be synchronized provided that it is open in Solid Edge
®. To synchronize a new CAD document switch to the
Active document setting. The name of the CAD document is automatically determined during synchronization with the
Active document setting.
You can also select to Synchronize material data together with the geometry. With this option the interface imports the material properties defined in the synchronized part or assembly components, and the software creates corresponding
Material nodes in the component. The input selection in the generated
Material nodes is set to the material selections that are also created during synchronization; see
Selections, for more information.
To initiate a synchronization click the Synchronize button. This sends parameter value pairs to Solid Edge
®, then retrieves the regenerated geometry objects. Synchronization can also be triggered by clicking a build button when there are changed settings in the LiveLink node, or there are changed parameter values. Synchronization is automatic when running an optimization study or a parametric sweep.
By default, only the objects that are visible in the Solid Edge
® user interface are synchronized. For CAD assemblies you can also select the parts to synchronize without changing their visibility, see how in the section
The COMSOL Component Selection Window.
Select the Offline synchronization checkbox to enable the
Offline Synchronization section where you can load synchronization files that you have prepared in advance using the LiveLink tools in Solid Edge
®. Such offline synchronization files can contain the geometry, selections and parameters for several synchronizations, including parameter sweeps.
To load a synchronization file, from the Offline Synchronization toolbar, click
Receive Synchronization File (

). Browse to the file and click open to load the geometry, parameters and selections from the file. Synchronization files may contain one or several synchronizations, including synchronizations generated in response to a requested parameter sweep.
If the loaded synchronization file contains a parametric sweep the number of parameter tuples in the file is displayed under Receive. After the file is loaded, you can go to the
Study node that contains the parametric sweep for which the synchronization was requested, and click
Compute to run the parametric sweep.
To request a synchronization click Request Synchronization (

). You can, for example, under
Global Definitions >
Parameters, change the value of a parameter that is synchronized (see
Parameters), and then generate a synchronization request. The response you will generate in Solid Edge
® will contain the updated geometry according to the parameter value in the request. To save another request to the previously saved request file click
Append to Request File (

). To generate a request for a parametric sweep select one of the available sweeps from the
Parametric sweep to request list, and then click
Request Synchronization to save the request.
Parameters that take part in the synchronization are specified in the Parameters in CAD Package section. Based on the transferred parameter and value pairs in the
Controllable parameters table, the CAD model is automatically rebuilt in Solid Edge
® and transferred back to COMSOL Multiphysics
®. This way you can control dimensions of the CAD design, for both parts and assemblies, and their components.
Together with the updated geometry, updated values of the parameters listed in the Read-only parameters table are also transferred from the CAD software. Read-only parameters are defined by a formula in Solid Edge
®, and therefore not possible to control without breaking the CAD design. However these parameters can be used to set up the simulation.
Clicking Synchronize also retrieves parameters that not yet appear in the tables under the
Parameter in CAD Package section but have been selected to be linked to COMSOL
® from the Solid Edge
® file. As part of this process a corresponding global parameter is automatically generated in the model.
In both the Controllable parameters and
Read-only parameters tables, the
CAD name column holds the names of dimensions in the CAD file, whereas the
COMSOL name and
COMSOL value columns contain the name and value, respectively, of corresponding global parameters in the model, defined under
Global Definitions >
Parameters in the model tree. Global parameters can be controlled by the parametric solver to perform parametric sweeps. During synchronization of controllable parameters COMSOL evaluates the corresponding global parameters and sends the resulting value to Solid Edge
®. Click the symbol in the
Sync column to turn on or off the synchronization of a parameter.
Unless a unit is specified the updated dimensions are assumed to have units as defined in the Solid Edge
® file.
You can type in parameters in the tables, or use the COMSOL Parameter Selection window in Solid Edge
® to link parameters from the Solid Edge
® file, for details see the section
The COMSOL Parameter Selection Window. Linked parameters can then be retrieved to the table, and global parameters are automatically generated for them.
To retrieve the linked parameters from the Solid Edge
® file to the LiveLink node, and to generate corresponding global parameters in the model do one of the following:
|
•
|
In the Settings window for LiveLink for Solid Edge click the Synchronize button:
|
New parameters, which have been selected in the Solid Edge
® file, but are not listed under
Parameters in CAD Package, are transferred to the
Controllable parameters table or the
Read-only parameters table. For each new CAD parameter a global parameter is generated in the model. The global parameters are assigned the values of the corresponding CAD parameters. Following this, the geometry is regenerated in Solid Edge
®, based on the parameters in the
Controllable parameters table, and transferred to COMSOL.
|
•
|
In the Settings window for LiveLink for Solid Edge click the Update Parameters from CAD button (  )
|
New parameters, which have been selected in the Solid Edge
® file, but are not listed under
Parameters in CAD Package are transferred to the
Controllable parameters table or the
Read-only parameters table. For each new CAD parameter a global parameter is generated in the model. The global parameters are assigned the values of the corresponding CAD parameters. In addition, the values of global parameters, which are already linked to CAD parameters in the table, are updated to the current values of the CAD parameters.
Names of dimensions and variables in the CAD name column appear just as in the
Variable Table inside Solid Edge
®, for example
Linear_1 or
V1598. Dimensions of both
synchronous and
ordered features can be controlled. When updating dimensions in a Solid Edge
® file containing synchronous features it is important that the dimensions have been set up correctly to avoid unexpected changes of the geometry. In case the dimension refers to a part inside an assembly the syntax also includes the name of the part, for example
Linear_1.mypart.par, or
V1598.mysubassembly.asm.
In the Length unit list, select
From COMSOL to scale the transferred objects to the length unit of the geometry in the current model. Select
From CAD document to change the geometry’s length unit to the unit in the CAD software.
One way to prevent synchronization of construction surfaces and curves is to hide them in the Solid Edge
® user interface. An alternative is to set the LiveLink interface to omit them from the synchronization. Only the types of objects that are selected from the
Solids,
Surfaces, and
Curves and points checkboxes are transferred during a synchronization. Performance can be improved for very large geometries that contain more than one type of objects, by turning off the synchronization of types of objects that are not necessary for the simulation.
The Absolute import tolerance is a length measured in the geometry’s unit after synchronization. This tolerance is used by some of the simplification and repair operations as detailed in this section. During the import of objects transferred from Solid Edge
®, the repair operations are performed in the order of the corresponding settings (starting from the top) in the user interface.
If the Remove redundant edges and vertices checkbox is selected, edges and vertices that are considered redundant, such as the edges of an imprint on a face, are removed from the imported geometry.
|
•
|
Choose Automatic (the default) to first check the geometry for topological errors, and if issues are detected attempt to repair.
|
|
•
|
Choose On to always run the repair operations during import. An initial check of the geometry is not performed in this case.
|
|
•
|
Choose Off to turn off the repair of topological errors during the import. This can speed up the import if the geometry is known to be correct.
|
Select the option Simplify curves and surfaces to simplify, within the
Absolute import tolerance, the underlying curve and surface manifolds of the imported geometric entities. Importing objects with this option may improve both the performance and reliability of geometric operations on some imported geometry, for example it may help in some cases when Boolean operations on the imported objects fail. Simplification means that the manifolds are converted where possible to analytical form: linear, circular, and elliptical curves; and planar, spherical, cylindrical, conical, and toroidal surfaces. Manifolds that are converted are B-spline curves and surfaces, or certain surfaces generated by operations such as sweeping, revolving, and filleting.
Select the Delete small details checkbox to remove geometric details smaller than the
Absolute import tolerance. Details that can be deleted include short edges, sliver faces, small faces, and spikes.
Select (default) the Check imported objects for errors checkbox to check the validity of the imported objects as the last stage of the import. Warning nodes appear with details about the detected problems, if any. Use the
Zoom to Selection button next to the
Entities list in a warning node to locate the problematic edges or faces. For information on geometry problems that may occur see the Check feature.
The associativity between the geometry transferred to COMSOL Multiphysics and the geometry in Solid Edge
® is preserved as long as the topology of the geometry does not change. If the topology changes, for example if new faces are introduced or faces are removed, the interface tries to preserve associativity for the portions of the geometry that remain unchanged.
To make sure that the geometry stays associative to the geometry in the CAD program even after saving and reopening your work in COMSOL Multiphysics and Solid Edge
® it is recommended to save the Solid Edge
® file in the state corresponding to the latest synchronization. To make sure that the geometry stays associative during several offline synchronizations it is recommended that you load the synchronization files in the order that you have saved them in the CAD software, and that you define selections, see
The COMSOL Selections Window.
The LiveLink™ interface automatically synchronizes selections for materials from the Solid Edge
® document. The selections get their names from the names of materials assigned to objects or other geometric entities on the synchronized CAD geometry, and they appear in
Selections tables according to the entity level they are defined on. Click on an entry in a table to see the included entities highlighted in the
Graphics window. When setting up a simulation you can use selections for example for assigning materials on the finalized geometry. You can read about how to turn off the automatic generation of selections for materials in the section
The COMSOL Selections Window.
User defined selections are listed alongside material selections in the Selections tables, according to the entity level they are defined on. Click on a selection to see it highlighted on the geometry in the
Graphics window.
Select the Construction geometry checkbox to make the resulting objects available only in the feature’s geometry sequence. For more information see
Construction Geometry in the
COMSOL Multiphysics Reference Manual.