Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

2-D Geometry

Define 2-D problem geometry

For 2-D problems, you can create 2-D geometry via the constructive solid geometry (CSG) or the geometry function approach. Using the CSG approach, you can use a set of solid building blocks (square, rectangle, circle, ellipse, and polygon) and combine them to define complex geometries. For details, see Create 2-D Geometry.

The PDE Modeler app uses the CSG approach. For details, see Create 2-D Geometry in the PDE Modeler App.

Functions

geometryFromEdgesCreate 2-D geometry
importGeometryImport geometry from STL data
pdegplotPlot PDE geometry
decsgDecompose constructive solid geometry into minimal regions
csgchkCheck validity of Geometry Description matrix
csgdelDelete borders between minimal regions
pdearclInterpolation between parametric representation and arc length
wgeomWrite geometry specification function
pdeModelerOpen PDE Modeler app
pdecircDraw circle
pdeellipDraw ellipse
pdepolyDraw polygon
pderectDraw rectangle

Properties

AnalyticGeometry Properties2-D geometry description

Topics

Programmatic Workflow

Create 2-D Geometry

Choose an approach for creating a 2-D geometry.

Create CSG Geometry at the Command Line

Create a 2-D geometry by using the constructive solid geometry (CSG) modeling approach.

Create Geometry Using a Geometry Function

Describe a 2-D geometry by using a parametrized function.

PDE Modeler App Workflow

Create 2-D Geometry in the PDE Modeler App

Create a 2-D geometry interactively by drawing, rotating, and combining basic shapes.

Rounded Corners Using CSG Modeling

Represent a geometry with rounded corners (fillets) by using the Constructive Solid Geometry modeling approach.

Was this topic helpful?