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.

meshrevolve<br />

Create a revolved hex mesh from the zx plane:<br />

p_wrkpln = geomgetwrkpln('quick',{'zx',10});<br />

ax = [0 1;0.5 2]';<br />

fem.geom = rect2(1.5,1,'pos',[0.5 0]);<br />

fem.mesh = meshmap(fem);<br />

fem1 = meshrevolve(fem,'angles',[-pi/3 pi/3],...<br />

'revaxis',ax,'wrkpln',p_wrkpln);<br />

meshplot(fem1);<br />

Cautionary<br />

See also<br />

Revolving a triangular mesh adjacent to the revolution axis or a mesh containing a<br />

quadrilateral element with only one corner adjacent to the revolution axis is not<br />

supported.<br />

meshembed, meshextrude, femmesh, revolve<br />

294 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!