Skip to content
Snippets Groups Projects
  1. Mar 19, 2024
    • Sander, Oliver's avatar
      A unit test for a coupled bulk-shell model · ba7a411e
      Sander, Oliver authored
      Together with the new test, this commit also contains a number
      of fixes for the SurfaceCosseratEnergy class.  This class was
      not unit-tested previously, and unintentionally I messed it up
      badly during my recent modernization work.
      
      Finally, SurfaceCosseratEnergy had apparently never been tested
      without dune-curvedgeometry, which is however only an optional
      dependency.  The commit therefore also adds the necessary
      conditionals.
      
      Then problem then is that the derivative of the outer normal
      of an intersection is not available from the standard grid interface.
      If dune-curvedgeometry is not available, this derivative is
      simply set to a zero matrix.  Depending on the grid manager
      this may not actually be correct, though.
      ba7a411e
  2. Feb 12, 2024
  3. Feb 07, 2024
  4. Feb 05, 2024
  5. Jan 19, 2024
  6. Jan 15, 2024
  7. Jan 08, 2024
  8. Jan 07, 2024
  9. Jan 05, 2024
  10. Jan 02, 2024
  11. Nov 23, 2023
  12. Oct 30, 2023
  13. Oct 27, 2023
  14. Oct 26, 2023
  15. Oct 04, 2023
    • Lisa Julia Nebel's avatar
      Divide the regularization parameter through the scaling parameter in the PN... · 3ea924df
      Lisa Julia Nebel authored
      Divide the regularization parameter through the scaling parameter in the PN solver instead of multiplying
      
      In the PN solver, we add identity*regularization/scaling to the stiffness matrix.
      This has two effects:
      - make the system matrix positive definite
      - penalize large corrections to ensure an energy decrease in each step
      
      The regularization parameter is adapted if either the system matrix is not positive definite
      if there is an energy increase. This works similar to the trust-region radius in the TR solver.
      The correction must be inside the trust-region, this ensures there is an energy decrease
      in each step.
      For each component of the correction, the trust-region radius as well as the regularization parameter
      is multiplied with a scaling factor, because the correction for the displacement works depends
      on the grid size where the correction for the rotation does not.
      
      To align the effect of the scaling parameter, we need to divide through the scaling parameter in
      the PN solver and multiply with it it in the TR solver.
      3ea924df
Loading