Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Subdomain deactivation within time intervals #2297
This PR presents an important feature of subdomain deactivation within time intervals. As a benefit of the feature, the modelling of time dependent excavation is possible.
Based on PR #2244, this PR extends the subdomain deactivation as a general approach for all processes and removes the linear solver restriction. All comments and suggestions to PR #2244 were considered. The implementation includes:
So far, only SmallDeformation gets a benchmark for this feature in this PR. The benchmark is the same as that in PR #2244, a comparison of the results of the present benchmark (left) and disc_with_hole (right):
Benchmarks for other processes with this feature will be presented later on.
Comparison of different members of struct SerialExecutor
Run time comparison
One can see that there is no much differences in the runtime of the three cases.
You substituted almost all occurrences of
Why is the substitution not necessary in these cases?
@endJunction This feature does not work under PETSc so far. Added TODO in the source code.
@TomFischer Made the replacement in the remaining member of PhaseField, and all associated members of SmallDeformationNonlocal. For the mentioned files about source terms and boundary conditions, the replacement is skipped because the nodes in the deactivated nodes are assigned with zero Dirichlet BC.