bjpil,
First the code assembles the stiffness matrix using E, G, nu, and geometric factors.
Second, the code solves for deflection.
Third, this is backsubstituted to solve for stress.
Consider for a simple bar (lacking the FEA details, but my point should fall out from this example):
for u=displacement, F=force, L=length, A=Area, K=F/u:
1)K = Area*E/Length
2) Assemble matrix for elements and global matrix, solve for displacement u = F/K = F*L/(A*E)
3) backsubsitute: strain = u/L; stress = E*strain =>
stress = E*u/L = E* (F*L)/(A*E)/L = F/A
If one increases E, then the displacements obtained in step 2 linearly increase, and the stress remains constant (for a statically determinate system). For a statically determinate system E falls out of the stress equation (as does L).
However, go through the same exercise above, but with two simple bars in parallel. Changing "E" (or A) on one bar will change the displacements obtained. But the other bar will still use the same "E" to calculate step three, yet will be operating on a different u (obtained in step 2). In this case the stress in the bar changes. This is the classic static indeterminacy problem from basic Solid Mechanics. The same concepts hold true for FEA.
I hope this makes sense.
Brad