KratosMultiphysics / Kratos

Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
https://kratosmultiphysics.github.io/Kratos/
Other
1k stars 243 forks source link

[StructuralMechanicsApplication] Using the adaptive newton raphson strategy #4378

Open philipkalkbrenner opened 5 years ago

philipkalkbrenner commented 5 years ago

I would like to use the AdaptiveResidualBasedNewtonRaphsonStrategy class for my problem. Is there anybody who can help me how to apply it? @RiccardoRossi told me I could ask @loumalouomega Thanks!

loumalouomega commented 5 years ago

I think that adaptative NR is quite old and does not work right now with the current interface due to processes. That's one of the reasons we started #3185

RiccardoRossi commented 5 years ago

well, if it is broken we should consider removing the old strategy

philbucher commented 5 years ago

why do you need #3185 ?

loumalouomega commented 5 years ago

why do you need #3185 ?

Read the description of the PR. We have lost the track of the origin of the PR

philbucher commented 5 years ago

You write in #3185 that you have to reconstruct the processes. Why?

loumalouomega commented 5 years ago

More than reconstruct rerun. The BC applied must be applied again and can be time dependent.

El dom., 10 mar. 2019 10:50, Philipp Bucher notifications@github.com escribió:

You write in #3185 https://github.com/KratosMultiphysics/Kratos/pull/3185 that you have to reconstruct the processes. Why?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/KratosMultiphysics/Kratos/issues/4378#issuecomment-471272839, or mute the thread https://github.com/notifications/unsubscribe-auth/ATEMgIL5l6Dp8wR9mLT1OVQZw8CyhuZGks5vVNVtgaJpZM4bjnub .

philipkalkbrenner commented 5 years ago

So what should I do? Wait untill #3185 is merged to the master? Or can I already use the adaptive NR in some way?

loumalouomega commented 5 years ago

3185 is only the first stage. Many things more are required. Using the old NR adaptative doesn't guarantee thst it works. Maybe the best option right now is to create a custom stage (modified version of structural_mechanics_analysis.py) to adapt the solution