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
1.02k stars 245 forks source link

Non-Linear Analysis Type in StructuralMechanicsApplication #746

Closed KlausBSautter closed 6 years ago

KlausBSautter commented 7 years ago

Hi guys, @AndreasWinterstein and me just noticed that there are 3 different analysis types defined in "structural_mechanics_static_solver.py" + an else statement to create a newton raphson strategy. We would like to change that else statement to :
elif self.settings["analysis_type"].GetString() == "Non-Linear": mechanical_solver = self._create_newton_raphson_strategy() and add an error message in a new else statement. Right now the user could type anything and would create a NR-strategy. Is this ok for you? Klaus

RiccardoRossi commented 7 years ago

i think we should throw an error telling, options are :" ...."

pooyan-dadvand commented 7 years ago

👍 for throwing error....

philbucher commented 6 years ago

I also just had problems, the strategy selection of the static solver is quite different from the dynamic one. I think it would be a good opportunity to unify the behaviors

pooyan-dadvand commented 6 years ago

👍 for @philbucher

philbucher commented 6 years ago

fixed in #850