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

[dem] Remove all usage of DRAG_COEFFICIENT and move it to SDEM #8100

Open maceligueta opened 3 years ago

maceligueta commented 3 years ago

Description A nodal variable is added to the nodes (only for nanoparticles) in the DEM. The drag is part of the interaction with a fluid, so this should be in the Swimming DEM application.

TODO Remove all appearances of DRAG_COEFFICIENT in DEM App and move them to Swimming DEM (without loss of capabilities)

maceligueta commented 3 years ago

Note: the Terminal Velocity scheme assumes that this variable has been allocated, when it is not always. A check should be written for that, or the code will crash unexpectedly when somebody uses the TerminalVelocityScheme.