Skip to content
Snippets Groups Projects
Commit cee83072 authored by Emmanuel Labourasse's avatar Emmanuel Labourasse
Browse files

symmetrize the Cauchy Tensor

parent ca812077
No related branches found
No related tags found
1 merge request!163Hyperelastic Lagrangian solver (Eucclhyd or Glace-type).
This commit is part of merge request !163. Comments created here will be created in the context of that merge request.
......@@ -464,6 +464,8 @@ class HyperelasticSolverHandler::HyperelasticSolver final : public HyperelasticS
new_u[j] += dt_over_Mj * momentum_fluxes;
new_E[j] += dt_over_Mj * energy_fluxes;
new_CG[j] += dt_over_Mj * cauchy_green_fluxes;
new_CG[j] += transpose(new_CG[j]);
new_CG[j] *= 0.5;
});
CellValue<const double> new_Vj = MeshDataManager::instance().getMeshData(*new_mesh).Vj();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment