Dear deal.II community,
In a fluid-structure interaction simulation, Computational domain was divided into fluid domain and solid domain, for example, cell->material_id() == 0 and cell->material_id() == 1(the way that deal.ii presents which field the cell belong to) respectively, Now I want to refine the mesh in fluid field and that in solid field separately in a fixed time interval.
The tutorial guides, for example, tutorial step-40, show follow example code:
template <int dim>
void LaplaceProblem<dim>::refine_grid()
{
dof_handler,
locally_relevant_solution,
estimated_error_per_cell);
triangulation, estimated_error_per_cell, 0.3, 0.03);
}
I think the code refines on the whole mesh domain, for my purpose, how to change the code to meet me?
Could anyone help me out?
Sincerely,
Chen