Hello,
We are building some new subduction models in which we want to use the extended Boussinesq Formulation as we have in the past. However, we get an error at the start of the first time-step related to the the advection solver (The initial residual was: nan; see full error below). I’ve found that the issue lies with the “latent heat” option in the Heating Model. If I comment out just this option, the model runs without issue. You can easily replicate the problem by adding the following lines to the convection-box-3d cookbook:
subsection Formulation
set Formulation = custom
set Mass conservation = incompressible
set Temperature equation = reference density profile
set Enable elasticity = false
end
subsection Heating model
set List of model names = adiabatic heating, shear heating, latent heat
end
I also noticed that the heating model subsection of the Parameter Documentation page
no longer lists a “latent heat” option. (only latent heat melt), but the latent_heat.cc and latent_heat.h files are still in the source and include heating_model subdirectory.
Has something changed with way latent heat is treated in the heating model?? I searched on the forum and in the issues on github, but I couldn’t find anything that appeared related to this.
I’m running version 3.1.0-pre with deal.II 9.6.1. The last time I was running models with these same options (and did not have any issues) we were using Aspect version 2.6.0-pre
Thank you for your help,
Magali
Error message:
*** Timestep 0: t=0 seconds, dt=0 seconds
Solving temperature system… retrying linear solve with different preconditioner…
----------------------------------------------------
Exception ‘ExcMessage (exception_message.str())’ on rank 0 on processing:
--------------------------------------------------------
An error occurred in line <2844> of file </quobyte/billengrp/Software/aspect/source/utilities.cc> in function
void aspect::Utilities::throw_linear_solver_failure_exception(const std::string&, const std::string&, const std::vector<dealii::SolverControl>&, const st
d::exception&, MPI_Comm, const std::string&)
Additional information:
The iterative advection solver in Simulator::solve_advection did not
converge.
The initial residual was: nan
The final residual is: nan
The required residual for convergence is: 1.000000e-50
See output-convbox3d-eba/solver_history.txt for the full convergence
history.
The solver reported the following error:
--------------------------------------------------------
An error occurred in line <2054> of file
</quobyte/billengrp/Software/deal.ii/deal.ii-9.6.1-toolchain-gcc-13.2.0-openmpi5.0.5/deal.II-v9.6.1/include/deal.II/lac/solver_gmres.h>
in function
void dealii::SolverGMRES<VectorType>::solve(const MatrixType&,
VectorType&, const VectorType&, const PreconditionerType&) \[with
MatrixType = dealii::TrilinosWrappers::SparseMatrix;
PreconditionerType = dealii::TrilinosWrappers::PreconditionILU;
VectorType = dealii::TrilinosWrappers::MPI::Vector\]
The violated condition was:
iteration_state == SolverControl::success
Additional information:
Iterative method reported convergence failure in step 0. The residual
in the last step was nan.