How to Expand 2D Designs to 3D Geometry
When creating the geometry for a 3D model, it can be more efficient to first sketch the geometry cross section in 2D and then expand it to 3D. In this article, we will discuss the use cases and advantages of this approach and demonstrate how to do so.
Use Cases and Functionality
To obtain the final 3D geometry, sketching the geometry in 2D before expanding it to 3D is particularly useful when working with geometry that exhibits a type of symmetry, such as being symmetric along an axis or rotationally symmetric. It is also useful in general for building the geometry for 3D models since it can make the process more efficient.
The cross section (left) for the resonator chamber of anautomotive muffleris extruded to a 3D object (right). The elliptical cross section was first sketched on a work plane in the xy-plane. Such a process was the most efficient way to generate the geometry for this part of the muffler.
The cross section (left) for part of apacemaker electrodeis revolved into a 3D object (right).
The cross section (left) for acarbon fiberis swept into a 3D object (right). The circular cross section was sketched on a work plane in the yz-plane, while the sweep path was drawn in the xy-plane.
Before using theSweepoperation, you can confirm the sweep direction by going under theViewnode and selectingShow edge direction arrows.To see the arrows, make sure theSelect Edgesoption is toggled on in theGraphicswindow toolbar.
Demonstration of theSweepoperation used to sweep an ellipse along a path in thexy-plane.
The 2D profiles (left) for part of the geometry of abiconical frame antennaare lofted into a 3D solid (right). Please note that this functionality requires the Design Module.
Demonstration of theLoftoperation, used to loft a series of 2D profiles into a 3D solid.
COMSOL Multiphysics contains tools that enable you to easily create these types of geometries. In the software, you can expand many types of planar geometric objects into 3D by using work planes along with work plane operations, including:
- TheExtrudeoperation, which is used to extrude planar objects to 3D and is useful when the cross section is symmetric along an axis
- TheRevolveoperation, which is used to revolve planar objects into 3D and is useful when the cross section is rotationally symmetric
- TheSweepoperation, which is used to sweep surfaces along a spine curve and is useful when the cross section remains the same along a path
- TheLoftoperation, which is used to create a lofted 3D object from a set of 2D profiles (this functionality is not part of the COMSOL Multiphysics base package but is available with the Design Module)
An example of a more complex extruded object. Model file attachedhere.
An example of a more complex geometry generated using a sweep path. Model file attachedhere.
Process for Expanding 2D to 3D
In COMSOL Multiphysics, expanding a 2D sketch to a 3D geometric object is done in three steps:
- Add the work plane in the 3D space
- Sketch the geometry in the work plane
- Expand the planar geometry to 3D
Watch the video below and follow along step-by-step in the software using the "start" reference files attached. We also discuss the process listed above in more detail.
Tutorial Video: How to Expand 2D Geometry to 3D
Modeling Exercises
Demonstrate the knowledge you have gained from this article by putting it into practice with the following modeling exercises. The directions provided are intentionally generalized to encourage self-guided problem solving. You can manually check your implementation with the solution model files provided here or use thecomparison toolto identify the differences.
The 2D cross-sectional geometry for ashaft, part of asteam reformer, andtuning forkhave been provided as downloadable MPHBIN files in this article. These MPHBIN files can be imported into COMSOL Multiphysics using theImportbutton in theHomeribbon tab orGeometrytab, as well as by right-clicking theGeometrynode and selectingImport.
For each geometry, expand it to obtain the 3D design pictured below. Note that the shaft contains a hole (with a diameter of 4 mm) along the center, and the length of the steam reformer extends by 15 cm. You canmeasure the geometryto create a design with the same dimensions.
The model geometry of a shaft (left), a quarter of a steam reformer (middle), and a tuning fork (right).
The solution, 3D model files for theshaft,steam reformer, andtuning forkare available here.
Further Learning
There are several tutorial models available in the Application Libraries that provide a great deal of practice in building 3D geometries by expanding 2D sketches. We encourage you to create the geometry for the tutorial models listed here by following the step-by-step instructions in the documentation:
- Electrical Heating in a Busbar(extruding geometry)
- Piezoelectric Tonpilz Transducer(revolving geometry)
- Submarine Cable — Geometry & Mesh 3Din the Cable Tutorial Series (sweeping geometry)
To see additional examples of implementation, you can enter the following syntax in the search bar of the Application Libraries:
@geom:ext
(extrude)@geom:rev
(revolve)@geom:swe
(sweep)@geom:loft
(loft)
请提交与此页面相关的反馈,或点击此处联系技术支持。