@ -1,5 +1,5 @@
{
"material": [1e5, 0.3, 1e3],
"material": [2e11, 0.3, 1e3],
"mshFilePath": "/home/cw/opt/StaticSimulation/sim-test/rigid-test/cube/cube_9743.msh",
"DBC": [
@ -13,7 +13,7 @@
"min": [-0.001, 0.999, -0.001],
"max": [1.001, 1.001, 1.001],
"force": [-10, 0, 0]
"force": [0, -1, 0]
}
]
"mshFilePath": "@LOCAL_DIR@/cube_9743.msh",
@ -31,6 +31,9 @@ namespace ssim {
DirichletBCs = config.DirichletBCs;
NeumannBCs = config.NeumannBCs;
material_property_.Youngs_Modulus = config.YM;
material_property_.Poisson_ratio = config.PR;
material_property_.density = config.density;
Utils::elasticMatrix(config.YM, config.PR, D);
if (!Utils::readTetMesh(config.mshFilePath, TV, TT, SF)) {
spdlog::error("Unable to read input msh file: {:s}", config.mshFilePath);