B modeling ============== Geometry --------- .. image:: images/10000000000002D8000002DC7B303C4BC2AD4A7C.jpg :width: 4.5516in :height: 4.5752in .. _RefImage_10000000000002D8000002DC7B303C4BC2AD4A7C.jpg: Material properties ---------------------- The material is the one defined for the test case of THM wtnl100a Boundary conditions and loads ------------------------------------- The calculation is in saturated hydromechanical nonlinear mechanics. After each adaptation, the calculation is initialized by the results of the previous calculation, interpolated on the new mesh. We will look at the evolution of the displacement on a node of the upper surface. .. csv-table:: "Face", "Mechanics", "Hydraulics" "Higher", "Imposed constraint", "Zero flow" "Lower", "Zero displacement", "Zero flow" "Lateral", "Zero Stress", "Imposed Pressure" **Mechanical problem:** The piece is stuck on the underside: .. code-block:: text Side Z_ MIN: DX = DY = DZ = 0 Pressure is applied to the upper face: Z_ MAX side: PRES = 1.0 105 The other edges have zero stress. **Hydraulic problem:** Pressure is applied to the lateral faces: Faces *COTE_0*, *COTE_1*, * *,* COTE_2 *,* COTE_3 *: PRE1 = 1.0 105 The other edges have zero flow. Characteristics of the mesh ---------------------------- The initial mesh before refinement. Knots: 622 TRIA6: 148 TET10: 339 .. image:: images/10000000000002DF000002C1A000BBE7BBD4A6D4.jpg :width: 4.5945in :height: 4.4055in .. _RefImage_10000000000002DF000002C1A000BBE7BBD4A6D4.jpg: Benchmark results ---------------------- DZ move for the node group *A,* consisting of a single node, after the 3rd adaptation: DZ = -6.2381906050503x10-2 Adapted meshes ----------------- The Python mesh refinement loop includes 3 iterations starting from the jump of the mechanical displacement field from one node to its neighbor. For each iteration, the characteristics of each mesh produced by the macro-command MACR_ADAP_MAIL are described. Knots: 1611 TRIA6: 362 TET10: 901 .. image:: images/100000000000034B000002F70BD90B4E6B018F3A.jpg :width: 5.2681in :height: 4.7445in .. _RefImage_100000000000034B000002F70BD90B4E6B018F3A.jpg: notes --------- We can see that the nodes resulting from the division of segments on the border will be placed on the analytical description of the border. We will carefully look at the mechanism used to connect fields to Gauss points.