C modeling ==== Workflow of the TP ---- It involves implementing a mesh adaptation in a Python loop on an elastic calculation. Mesh adaptation ---- After launching the AsterStudy module and using the modeling command file A, a python loop is added to make two adaptations (Menu Operations → Text mode). You can take inspiration from the file forma01c.comm. We start the calculation. After launching the ParAvis module, the following post-processing is performed: * See the effect of adaptation on the maximum of the SIYY component of the constraint field. The maximum is now in the order of :math:`280\mathit{MPa}`. * Visualize the error indicator map (component ERREST, total error). Tested sizes and results ---- Value of the stress components for the initial mesh and after an adaptation: .. csv-table:: "**Mesh**", "**Location**", "**Identification**", "**Reference (Analytics)**", "**Tolerance**" "1", "Node :math:`B` ", "Constraint :math:`\mathrm{SIYY}` ", "303.0"," 5.0%" "1", "Node :math:`A` ", "Constraint :math:`\mathit{SIXX}` ", "-100.0"," 15.0%" "2", "Node :math:`B` ", "Constraint :math:`\mathrm{SIYY}` ", "303.0"," 2.0%" "2", "Node :math:`A` ", "Constraint :math:`\mathit{SIXX}` ", "-100.0"," 3.0%" "3", "Node :math:`B` ", "Constraint :math:`\mathrm{SIYY}` ", "303.0"," 1.0%" "3", "Node :math:`A` ", "Constraint :math:`\mathit{SIXX}` ", "-100.0"," 2.0%" These tests on analytical values are supplemented by non-regression tests.