Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bidirectional Interface to SolidWorks

Similar presentations

Presentation on theme: "Bidirectional Interface to SolidWorks"— Presentation transcript:

1 Bidirectional Interface to SolidWorks
Pacemaker Electrode Bidirectional Interface to SolidWorks

2 Capabilities of the Bidirectional Interface
Associatively transfer geometry from the open active document, either part or assembly, in SolidWorks to COMSOL Multiphysics. Update geometry parameters in the open active document in SolidWorks. Set up an automatic parameter sweep for multiple geometry parameters. Take advantage of distributed memory systems, such as Windows and Linux clusters.

3 Model Definition The geometry represents a pacemaker electrode.
Boundaries with applied positive potential. The geometry represents a pacemaker electrode. This model studies the heating effect of the current flowing through the surrounding tissue. Grounded boundaries. Cylinder representing the surrounding tissue.

4 Workflow Open the CAD file in SolidWorks.
Transfer the geometry with the interface. Set up and solve the model in COMSOL Multiphysics Draw additional geometry Define integration variable to evaluate the resistive heat Assign material properties Define boundary settings Create a mesh Solve the model. Study the effect of geometry design parameters on the solution either by manual or automatic parametric sweep.

5 The bidirectional interface always transfers the geometry in the open active document in SolidWorks.

6 In the COMSOL Multiphysics Model Navigator select the Conductive Media DC application mode.

7 In the COMSOL Multiphysics GUI select File>SolidWorks Connection>Initialize to transfer the geometry and initialize the connection between COMSOL Multiphysics and SolidWorks.

8 When the transfer is ready the geometry appears in the COMSOL Multiphysics GUI.

9 Use the drawing tools in COMSOL Multiphysics to create the geometry for the surrounding tissue.

10 To evaluate the total resistive heat in the tissue define a variable in the Subdomain Integration Variables dialog box.

11 Set the material properties in the Subdomain Settings dialog box.

12 Define the electric potential and grounded boundaries in the Boundary Settings dialog box.

13 Click the Solve button to solve the model.
Slice plot of the electric potential in the tissue surrounding the electrode.

14 Use the Plot Parameters dialog box to plot the resistive heating in the tissue.

15 Parametric Study Study the effect of design parameters on the resistive heating. Position of grounded region. Size of region where positive potential is applied.

16 Update of Geometry Parameters from the COMSOL Multiphysics GUI
Define geometry parameters in SolidWorks and link to sketch dimensions. Define corresponding constants in COMSOL Multiphysics to which you can assign new values. Update the geometry from the COMSOL Multiphysics GUI. Geometry parameters and the geometry in SolidWorks document are updated and sent back to COMSOL Multiphysics Subdomain, boundary and mesh settings are associative and retained in the updated model. Solve the model again.

17 In the SolidWorks GUI select Equations from the Tools menu.

18 Click Add to enter a new equation.

19 Define the parameter, by giving it an appropriate value.

20 The parameter now appears in the list of equations.
Also, the Equations folder appears in the tree indicating that the model contains equations. Use this folder to inspect and edit equations.

21 Add the second equation

22 Click on a feature node to select it.
Parameters belonging to the feature, including sketches, are displayed on the geometry.

23 Double click the dimension value to edit it.

24 Select the small arrow next to the value.

25 From the list that appears select Link Value.

26 From the Name list select the radius parameter.

27 A small symbol in front of the dimension shows that it is linked
A small symbol in front of the dimension shows that it is linked. Notice that its name has also changed.

28 Perform similar steps to link the highlighted length dimension to the position parameter.

29 The SolidWorks geometry is now prepared for parameter update through the bidirectional interface.

30 In the COMSOL Multiphysics GUI select Constants from the Options menu.

31 Enter the constants radius and position and their new values 1 and 12, respectively. These correspond to the geometry parameters defined in SolidWorks. During update of the geometry these constants will be transfered to SolidWorks

32 Select File>SolidWorks Connection>Update to transfer the constants and to initiate an update of the geometry in SolidWorks.

33 When the transfer is ready the updated geometry appears in the COMSOL Multiphysics GUI.

34 In the SolidWorks GUI the parameters and the geometry have been updated.

35 Click the Solve button in the COMSOL Multiphyiscs GUI to obtain the new solution.

36 Parametric Sweep Automatically solve the model for a range of geometry parameters. Obtain a log-file containing design parameters and selected global variables evaluated for each solved model. Optionally save each solved model as an .mph file.

37 Select File>SolidWorks Connection>Geometric Parametric Sweep to set up and automatically solve the model for a range of geometry parameters.

38 Enter a name for the log file and list the variables to be evaluated.
Enter a list of geometry parameters, and a range of values Click Solve to start the sweep. You can also select to save each solved model file separately.

39 Extra Slides – Equations in SolidWorks

40 Parameter Names For feature and sketch dimensions Solidworks automatically generates names of the format where D1 refers to a dimension of Feature1, and Feature stands for either Sketch or a feature name, such as Extrude, Revolve, Fillet, etc. You can use this information to create an equation of the form to assign a user defined parameter to a feature parameter.

41 Assembly Documents Define a parameter “myparameter” in the assembly document. You can update the value of this parameter through the bidirectional interface. Link this parameter to any feature on the assembly level. To link this parameter to a feature or sketch parameter in a part define an equation in the part document of the form:

Download ppt "Bidirectional Interface to SolidWorks"

Similar presentations

Ads by Google