Unable to adapt mesh with variable (e.g. strain rate) after stokes solve. Most likely due to variable not being the velocity or pressure field. I'm currently on the latest development branch with PETSc v2.24.4 that is built with pragmatic, mmg & parmmg. Here is the error message:
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: Invalid field number 2; not in [0, 2)
[0]PETSC ERROR: WARNING! There are unused option(s) set! Could be the program crashed before usage or a spelling mistake, etc!
Unable to adapt mesh with variable (e.g. strain rate) after stokes solve. Most likely due to variable not being the velocity or pressure field. I'm currently on the latest development branch with PETSc v2.24.4 that is built with pragmatic, mmg & parmmg. Here is the error message: