5. C modeling#
5.1. Workflow of the TP#
It involves implementing a mesh adaptation in a Python loop on an elastic calculation.
5.2. 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 \(280\mathit{MPa}\).
Visualize the error indicator map (component ERREST, total error).
5.3. Tested sizes and results#
Value of the stress components for the initial mesh and after an adaptation:
Mesh |
Location |
Identification |
Reference (Analytics) |
Tolerance |
1 |
Node \(B\) |
Constraint \(\mathrm{SIYY}\) |
303.0 |
|
1 |
Node \(A\) |
Constraint \(\mathit{SIXX}\) |
-100.0 |
|
2 |
Node \(B\) |
Constraint \(\mathrm{SIYY}\) |
303.0 |
|
2 |
Node \(A\) |
Constraint \(\mathit{SIXX}\) |
-100.0 |
|
3 |
Node \(B\) |
Constraint \(\mathrm{SIYY}\) |
303.0 |
|
3 |
Node \(A\) |
Constraint \(\mathit{SIXX}\) |
-100.0 |
|
These tests on analytical values are supplemented by non-regression tests.