From e14a43bb26286c9365fb545e605454bfc7924180 Mon Sep 17 00:00:00 2001 From: Iason Date: Wed, 3 Mar 2021 20:45:41 +0200 Subject: [PATCH] Decreased the magnitude of the forces in the axial and shear scenarios --- src/reducedmodeloptimizer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/reducedmodeloptimizer.cpp b/src/reducedmodeloptimizer.cpp index 4bb697e..f397733 100644 --- a/src/reducedmodeloptimizer.cpp +++ b/src/reducedmodeloptimizer.cpp @@ -779,7 +779,7 @@ ReducedModelOptimizer::createScenarios( const double forceMagnitude = 1; // Assuming the patterns lays on the x-y plane const CoordType patternPlaneNormal(0, 0, 1); - // Assumes that the first interface node lay on the x axis + // Assumes that the first interface node lays on the y axis //// Axial SimulationScenario scenarioName = SimulationScenario::Axial; @@ -792,7 +792,7 @@ ReducedModelOptimizer::createScenarios( nodalForces[viPair.first] = Vector6d({forceDirection[0], forceDirection[1], forceDirection[2], 0, 0, 0}) * - forceMagnitude * 10; + forceMagnitude * 2; fixedVertices[viPair.second] = std::unordered_set{0, 1, 2, 3, 4, 5}; } @@ -826,7 +826,7 @@ ReducedModelOptimizer::createScenarios( nodalForces[viPair.first] = Vector6d({forceDirection[0], forceDirection[1], forceDirection[2], 0, 0, 0}) * - forceMagnitude * 10; + forceMagnitude * 1; fixedVertices[viPair.second] = std::unordered_set{0, 1, 2, 3, 4, 5}; }