Prev: Robustfit: Details on Structure
Next: Simulink Alarm
From: Brian Bak on 10 Dec 2009 10:00 Hi I would like to plot a mesh of 3d hex elements. I have the data of the mesh in the following form: node coordinates: node1 x y z node2 x y z node3 x y z .. .. And the hex elements connectivity: Element1 node1 node2 node3 node4 node5 node6 node7 node8 Element2 node2 node9 node10 .... Element3 node43 .... .. .. Earlier for 2d quad elements i have used the patch function in the following way: patch('Vertices',nodes,'Faces',elements, 'FaceVertexCData', colordata,'FaceColor','flat') where the nodes was given as: node coordinates: node1 x y z node2 x y z node3 x y z .. .. and the elements as: And the hex elements connectivity: Element1 node1 node2 node3 node4 Element2 node2 node9 node10 node5 Element3 node43 ... .. .. Is there a similar easy way of plotting the a 3d hex mesh? Thanks in advance. Regards Brian
From: jay on 12 Dec 2009 06:18 hi Brian, send me ur code or post it hier and ill write u back. with regards Jay
|
Pages: 1 Prev: Robustfit: Details on Structure Next: Simulink Alarm |