21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

geomexport<br />

Purpose<br />

geomexport<br />

Export geometry objects to file.<br />

Syntax<br />

Description<br />

geomexport(filename, geoms,...)<br />

geomexport(filename, geoms...) exports the geometry data in the cell array<br />

geoms of geometry objects to a file.<br />

filename can be any of the following formats:<br />

TABLE 1-60:<br />

FILE FORMAT NOTE FILE EXTENSIONS<br />

<strong>COMSOL</strong> Multiphysics Binary<br />

<strong>COMSOL</strong> Multiphysics Text<br />

DXF<br />

The following properties are supported<br />

TABLE 1-61: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY NAME<br />

PROPERTY<br />

VALUE<br />

DEFAULT<br />

.mphbin<br />

.mphtxt<br />

.dxf<br />

DESCRIPTION<br />

Report on | off on Display a progress window<br />

Report determines if a progress window should appear during the call.<br />

Examples<br />

Diagnostics<br />

See Also<br />

r = rect2;<br />

geomexport('foo.dxf',{r})<br />

b = block3;<br />

geomexport('bar.mphtxt',{b})<br />

geomexport replaces the functionality of the 3.1 functions dxfwrite.<br />

geom0, geom1, geom2, geom3, meshexport, geomimport<br />

214 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!