I want to display a collection of deformed meshes in a GraphicsGrid where the surface colors are proportional to the displacement.
mesh = ToElementMesh[Cuboid[{-0.1, -1, -0.1}, {0.1, 1, 0.1}],
"MeshOrder" -> 1];
tvars = {{u[t, x, y, z], v[t, x, y, z], w[t, x, y, z]},
t, {x, y, z}};
pars = <|"Material" -> Entity["Element", "Titanium"]|>;
constraint = SolidFixedCondition[y^2 <= 0.001, tvars, pars];
eigenmodeOperator =
SolidMechanicsPDEComponent[tvars,
Join[pars, <|"AnalysisType" -> "Eigenmode"|>]];
{evals, evecs} =
NDEigensystem[{eigenmodeOperator == {0, 0, 0}, constraint},
tvars[[1]], t, {x, y, z} \[Element] mesh, 6];
eigenfrequencies = Re[Sqrt[evals]/(2 Pi)]
Here is a picture showing how the coloring should work.
FaceForm
could take a map maybe usingTexture
. What about usingElementMeshToGraphicsComplex
? $\endgroup$NDEigensystem
be computed in parallel? $\endgroup$