15 #if !defined(KRATOS_POROMECHANICS_EXPLICIT_NONLOCAL_STRATEGY)
16 #define KRATOS_POROMECHANICS_EXPLICIT_NONLOCAL_STRATEGY
29 template <
class TSparseSpace,
67 typename TSchemeType::Pointer pScheme,
70 bool ReformDofSetAtEachStep =
false,
156 mpScheme->Predict(r_model_part, dof_set_dummy, rA, rDx, rb);
166 mpScheme->Update(r_model_part, dof_set_dummy, rA, rDx, rb);
Dof represents a degree of freedom (DoF).
Definition: dof.h:86
Implicit solving strategy base class This is the base class from which we will derive all the implici...
Definition: implicit_solving_strategy.h:61
BaseType::TSystemVectorType TSystemVectorType
Definition: implicit_solving_strategy.h:72
Scheme< TSparseSpace, TDenseSpace > TSchemeType
Definition: implicit_solving_strategy.h:82
BaseType::TSystemMatrixType TSystemMatrixType
Definition: implicit_solving_strategy.h:70
This strategy is used for the explicit time integration.
Definition: mechanical_explicit_strategy.hpp:54
TSchemeType::Pointer mpScheme
Definition: mechanical_explicit_strategy.hpp:587
bool mInitializeWasPerformed
Flag telling if the initialize was performed.
Definition: mechanical_explicit_strategy.hpp:608
void Clear() override
Clears the internal storage.
Definition: mechanical_explicit_strategy.hpp:405
bool mCalculateReactionsFlag
Flag telling if it is needed or not to compute the reactions.
Definition: mechanical_explicit_strategy.hpp:602
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Definition: nonlocal_damage_2D_utilities.hpp:26
Definition: nonlocal_damage_3D_utilities.hpp:26
Definition: nonlocal_damage_utilities.hpp:36
virtual void SearchGaussPointsNeighbours(Parameters *pParameters, ModelPart &rModelPart)
Definition: nonlocal_damage_utilities.hpp:82
void CalculateNonlocalEquivalentStrain(Parameters *pParameters, const ProcessInfo &CurrentProcessInfo)
Definition: nonlocal_damage_utilities.hpp:89
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
bool GetBool() const
This method returns the boolean contained in the current Parameter.
Definition: kratos_parameters.cpp:675
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Definition: poromechanics_explicit_nonlocal_strategy.hpp:34
TSchemeType::Pointer mpScheme
Definition: mechanical_explicit_strategy.hpp:587
BaseType::TSchemeType TSchemeType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:42
BaseType::TSystemVectorPointerType TSystemVectorPointerType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:47
void Clear() override
Clears the internal storage.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:205
ImplicitSolvingStrategy< TSparseSpace, TDenseSpace, TLinearSolver > BaseType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:39
BaseType::LocalSystemVectorType LocalSystemVectorType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:51
MechanicalExplicitStrategy< TSparseSpace, TDenseSpace, TLinearSolver > GrandMotherType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:40
~PoromechanicsExplicitNonlocalStrategy() override
Destructor.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:82
void FinalizeSolutionStep() override
Performs all the required operations that should be done (for each step) after solving the solution s...
Definition: poromechanics_explicit_nonlocal_strategy.hpp:189
PoromechanicsExplicitNonlocalStrategy(ModelPart &model_part, typename TSchemeType::Pointer pScheme, Parameters &rParameters, bool CalculateReactions=false, bool ReformDofSetAtEachStep=false, bool MoveMeshFlag=false)
Constructor.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:65
PoromechanicsExplicitStrategy< TSparseSpace, TDenseSpace, TLinearSolver > MotherType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:41
bool mInitializeWasPerformed
Flag telling if the initialize was performed.
Definition: mechanical_explicit_strategy.hpp:608
bool mCalculateReactionsFlag
Flag telling if it is needed or not to compute the reactions.
Definition: mechanical_explicit_strategy.hpp:602
Node::DofType DofType
DoF types definition.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:54
bool mNonlocalDamageIsInitialized
Definition: poromechanics_explicit_nonlocal_strategy.hpp:225
BaseType::TSystemMatrixPointerType TSystemMatrixPointerType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:46
NonlocalDamageUtilities * mpNonlocalDamageUtility
Member Variables.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:224
bool SolveSolutionStep() override
Solves the current step. This function returns true if a solution has been found, false otherwise.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:142
KRATOS_CLASS_POINTER_DEFINITION(PoromechanicsExplicitNonlocalStrategy)
Parameters * mpParameters
Member Variables.
Definition: poromechanics_explicit_strategy.hpp:281
BaseType::NodesArrayType NodesArrayType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:48
BaseType::TSystemVectorType TSystemVectorType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:45
DofType::Pointer DofPointerType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:55
void InitializeSolutionStep() override
Performs all the required operations that should be done (for each step) before solving the solution ...
Definition: poromechanics_explicit_nonlocal_strategy.hpp:117
BaseType::ElementsArrayType ElementsArrayType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:49
BaseType::TSystemMatrixType TSystemMatrixType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:44
void Initialize() override
Initialization of member variables and prior operations.
Definition: poromechanics_explicit_nonlocal_strategy.hpp:89
BaseType::DofsArrayType DofsArrayType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:43
BaseType::ConditionsArrayType ConditionsArrayType
Definition: poromechanics_explicit_nonlocal_strategy.hpp:50
bool mSearchNeighboursAtEachStep
Definition: poromechanics_explicit_nonlocal_strategy.hpp:226
Definition: poromechanics_explicit_strategy.hpp:34
void InitializeSolutionStep() override
Performs all the required operations that should be done (for each step) before solving the solution ...
Definition: poromechanics_explicit_strategy.hpp:174
virtual void CheckConvergence(ModelPart &rModelPart)
Definition: poromechanics_explicit_strategy.hpp:342
void Initialize() override
Initialization of member variables and prior operations.
Definition: poromechanics_explicit_strategy.hpp:120
virtual void CalculateReactions(typename TSchemeType::Pointer pScheme, ModelPart &rModelPart)
Name of the nodal variable associated to every SubModelPart.
Definition: poromechanics_explicit_strategy.hpp:295
Parameters * mpParameters
Member Variables.
Definition: poromechanics_explicit_strategy.hpp:281
void FinalizeSolutionStep() override
Performs all the required operations that should be done (for each step) after solving the solution s...
Definition: poromechanics_explicit_strategy.hpp:260
TSparseSpace::VectorPointerType TSystemVectorPointerType
Definition: solving_strategy.h:77
ModelPart::NodesContainerType NodesArrayType
Definition: solving_strategy.h:89
ModelPart & GetModelPart()
Operations to get the pointer to the model.
Definition: solving_strategy.h:350
ModelPart::ElementsContainerType ElementsArrayType
Definition: solving_strategy.h:91
TSparseSpace::MatrixType TSystemMatrixType
Definition: solving_strategy.h:71
TSparseSpace::MatrixPointerType TSystemMatrixPointerType
Definition: solving_strategy.h:75
ModelPart::ConditionsContainerType ConditionsArrayType
Definition: solving_strategy.h:93
bool MoveMeshFlag()
This function returns the flag that says if the mesh is moved.
Definition: solving_strategy.h:290
TSparseSpace::VectorType TSystemVectorType
Definition: solving_strategy.h:73
virtual void MoveMesh()
This function is designed to move the mesh.
Definition: solving_strategy.h:330
TDenseSpace::VectorType LocalSystemVectorType
Definition: solving_strategy.h:81
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
ProcessInfo & GetProcessInfo(ModelPart &rModelPart)
Definition: add_model_part_to_python.cpp:54
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
model_part
Definition: face_heat.py:14