Decreased the magnitude of the forces in the axial and shear scenarios

This commit is contained in:
Iason 2021-03-03 20:45:41 +02:00
parent ae636c3af5
commit e14a43bb26
1 changed files with 3 additions and 3 deletions

View File

@ -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<DoFType>{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<DoFType>{0, 1, 2, 3, 4, 5};
}