modules/solid: Calculate DiNum before mesh update
This is consistent with the fluid solvers, and prevents failures associated with using fields that haven't yet been updated or corrected following mesh changes
This commit is contained in:
@ -174,13 +174,13 @@ void Foam::solvers::solid::preSolve()
|
||||
{
|
||||
fvModels().preUpdateMesh();
|
||||
|
||||
// Update the mesh for topology change, mesh to mesh mapping
|
||||
mesh_.update();
|
||||
|
||||
if (transient())
|
||||
{
|
||||
correctDiNum();
|
||||
}
|
||||
|
||||
// Update the mesh for topology change, mesh to mesh mapping
|
||||
mesh_.update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user