09.04.2015 Views

Elemento Finito con el paquete IMS

Elemento Finito con el paquete IMS

Elemento Finito con el paquete IMS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FEM0500ims.nb 3<br />

Se usa <strong>el</strong> comando imsGenerateLinearStructuredMesh[] para generar <strong>el</strong><br />

mallado d<strong>el</strong> dominio. El mallado <strong>con</strong>siste de nodos (puntos en <strong>el</strong> dominio) y<br />

<strong>el</strong>ementos (en este caso unidimensional, los <strong>el</strong>ementos son intervalos entre<br />

nodo y nodo):<br />

In[18]:=<br />

numElem = 6;<br />

mapeo@x_D := NBa + Hb −aL<br />

Log@3x +4D<br />

Log@numElem +1D F;<br />

malla =<br />

imsGenerateLinearStructuredMesh@numElem, imsCoordinateMapping → mapeoD;<br />

Graphics@<br />

8Orange, imsDrawElements@mallaD,<br />

Purple, imsDrawElementIdText@mallaD,<br />

Red, imsDrawNodeText@mallaD

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

Saved successfully!

Ooh no, something went wrong!