Thank you for your fast response. I have taken the screenshot of the solutions and corresponding meshes after the one iteration of adaptivity. The corresponding output is:
tomas@tomas:~/projects/nl-poissons/04-ln-elast-dist-mixed-h$ ./04-ln-elast-dist-mixed-h
Reading mesh in XML format.
---- Adaptivity step 1:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.372735 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
ndof_coarse[0]: 255, ndof_fine[0]: 2303
ndof_coarse[1]: 255, ndof_fine[1]: 2303
ndof_coarse[2]: 81, ndof_fine[2]: 1089
ndof_coarse_total: 591, ndof_fine_total: 5695
err_est_rel_total: 64.8168%
Adapting coarse mesh.
Total running time: 3.62201 s
<< close all views to continue >>
tomas@tomas:~/projects/nl-poissons/04-ln-elast-dist-mixed-h$ ./04-ln-elast-dist-mixed-h
Reading mesh in XML format.
---- Adaptivity step 1:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.052958 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
ndof_coarse[0]: 255, ndof_fine[0]: 2303
ndof_coarse[1]: 255, ndof_fine[1]: 2303
ndof_coarse[2]: 81, ndof_fine[2]: 1089
ndof_coarse_total: 591, ndof_fine_total: 5695
err_est_rel_total: 64.8168%
Adapting coarse mesh.
---- Adaptivity step 2:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.434071 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
ndof_coarse[0]: 255, ndof_fine[0]: 2407
ndof_coarse[1]: 255, ndof_fine[1]: 2407
ndof_coarse[2]: 289, ndof_fine[2]: 2513
ndof_coarse_total: 799, ndof_fine_total: 7327
err_est_rel_total: 87.7447%
Adapting coarse mesh.
---- Adaptivity step 3:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.418305 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
ndof_coarse[0]: 255, ndof_fine[0]: 2407
ndof_coarse[1]: 255, ndof_fine[1]: 2407
ndof_coarse[2]: 289, ndof_fine[2]: 2513
ndof_coarse_total: 799, ndof_fine_total: 7327
err_est_rel_total: 87.7447%
Adapting coarse mesh.
---- Adaptivity step 4:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.380896 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
ndof_coarse[0]: 255, ndof_fine[0]: 2407
ndof_coarse[1]: 255, ndof_fine[1]: 2407
ndof_coarse[2]: 289, ndof_fine[2]: 2513
ndof_coarse_total: 799, ndof_fine_total: 7327
err_est_rel_total: 87.7447%
Adapting coarse mesh.
---- Adaptivity step 5:
Solving on reference mesh.
NonlinearSolver: initial residual norm: 16.6816
NonlinearSolver: Damping factor handling:
convergence test
NonlinearSolver: solution duration: 1.439120 s.
NonlinearSolver: done.
Projecting reference solution on coarse mesh.
ndof_coarse[0]: 255, ndof_fine[0]: 2407
ndof_coarse[1]: 255, ndof_fine[1]: 2407
ndof_coarse[2]: 289, ndof_fine[2]: 2513
ndof_coarse_total: 799, ndof_fine_total: 7327
err_est_rel_total: 87.7447%
Adapting coarse mesh.
Total running time: 14.4593 s
<< close all views to continue >>
The solution 0 and 1 are correct. The problem is with the solution 2. I need all three meshes the same and the polynomial degree in the certain way. P2 for the solutions 0 and 1 and P1 for the solution 2. Is this possible to achieve with Hermes?
Thank you for your help.
Tomas.