use of artisynth.core.materials.MooneyRivlinMaterial in project artisynth_core by artisynth.
the class QuadraticLockingDemo method setModelProperties.
private void setModelProperties(FemModel3d mod) {
mod.setDensity(DENSITY);
setRenderProperties(mod, LENGTH);
mod.setMaterial(new MooneyRivlinMaterial(2000, 0, 0, 0, 0, 5000000));
for (FemNode3d n : mod.getNodes()) {
if (Math.abs(n.getPosition().z - LENGTH / 2) < EPS) {
n.setDynamic(false);
}
}
}
Aggregations