<div dir="ltr"><div>Hello,</div><div><br></div><div>I'm making a 2D FEM program (using only quad elements), and after trying your examples to assign scalars to the elements of my mesh, i got no good results. <br></div><div>Basically, i have 3 arrays:</div><div><br></div><div>1. The first one is the nodes array following this format: [x,y,z]*n in which x,y and z correspond to the respective coordinate and "n" the number of nodes<br></div><div><br></div><div>2. The second one, is the cells array -> [1node, 2node, 3node, 4node]*e, where "e" is the number of elements.</div><div><br></div><div>3. And finally the last array is the stresses array -> [stresse]*e, where "e" is the number of elements.</div><div><br></div><div>My question is, how can i assign the values of the stresses array to the cells array. Basically assigning the stresses array as my scalars, in order to render them on top of my cells.</div><div>Thanks in advance!</div><div><br></div><div>Cheers<br></div></div>