14 #if !defined(KRATOS_COMPRESSIBLE_NAVIER_STOKES_EXPLICIT_SOLVING_STRATEGY_RUNGE_KUTTA)
15 #define KRATOS_COMPRESSIBLE_NAVIER_STOKES_EXPLICIT_SOLVING_STRATEGY_RUNGE_KUTTA
56 template <
class TSparseSpace,
class TDenseSpace,
class TButcherTableau>
110 typename ExplicitBuilderType::Pointer pExplicitBuilder,
112 int RebuildLevel = 0)
125 int RebuildLevel = 0)
156 default_parameters.
AddString(
"explicit_solving_strategy",
Name());
160 default_parameters.RecursivelyAddMissingParameters(base_default_parameters);
161 return default_parameters;
172 return "compressible_navier_stokes_explicit_solving_strategy_runge_kutta_" + TButcherTableau::Name();
176 std::string
Info()
const override
178 return "CompressibleNavierStokesExplicitSolvingStrategyRungeKutta";
292 template<
class TSparseSpace,
class TDenseSpace>
295 template<
class TSparseSpace,
class TDenseSpace>
298 template<
class TSparseSpace,
class TDenseSpace>
Explicit solving strategy base class.
Definition: compressible_navier_stokes_explicit_solving_strategy.h:63
BaseType::ExplicitBuilderType ExplicitBuilderType
The explicit builder and solver definition.
Definition: compressible_navier_stokes_explicit_solving_strategy.h:73
virtual void FinalizeEverySubstep()
Definition: compressible_navier_stokes_explicit_solving_strategy.h:480
void AssignSettings(const Parameters ThisParameters) override
This method assigns settings to member variables.
Definition: compressible_navier_stokes_explicit_solving_strategy.h:193
virtual void InitializeEverySubstep()
Definition: compressible_navier_stokes_explicit_solving_strategy.h:468
Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: compressible_navier_stokes_explicit_solving_strategy.h:169
Explicit solving strategy base class.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:59
CompressibleNavierStokesExplicitSolvingStrategyRungeKutta(const CompressibleNavierStokesExplicitSolvingStrategyRungeKutta &Other)=delete
BaseType::ExplicitBuilderType ExplicitBuilderType
The explicit builder and solver definition.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:68
KRATOS_DEFINE_LOCAL_FLAG(SHOCK_CAPTURING)
Local Flags.
void FinalizeRungeKuttaIntermediateSubStep() override
Finalize the Runge-Kutta intermediate substep In this method we calculate the linearised time derivat...
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:218
virtual ~CompressibleNavierStokesExplicitSolvingStrategyRungeKutta()=default
CompressibleNavierStokesExplicitSolvingStrategyRungeKutta(ModelPart &rModelPart, Parameters ThisParameters)
Default constructor. (with parameters)
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:88
KRATOS_CLASS_POINTER_DEFINITION(CompressibleNavierStokesExplicitSolvingStrategyRungeKutta)
Pointer definition of CompressibleNavierStokesExplicitSolvingStrategyRungeKutta.
CompressibleNavierStokesExplicitSolvingStrategyRungeKutta(ModelPart &rModelPart, bool MoveMeshFlag=false, int RebuildLevel=0)
Default constructor.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:122
std::string Info() const override
Turn back information as a string.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:176
void FinalizeRungeKuttaLastSubStep() override
Finalize the Runge-Kutta last substep This method is intended to implement all the operations require...
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:224
CompressibleNavierStokesExplicitSolvingStrategy< ExplicitSolvingStrategyRungeKutta< TSparseSpace, TDenseSpace, TButcherTableau > > BaseType
The base class definition.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:65
void InitializeRungeKuttaLastSubStep() override
Initialize the Runge-Kutta last substep This method is intended to implement all the operations requi...
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:208
CompressibleNavierStokesExplicitSolvingStrategyRungeKutta(ModelPart &rModelPart, typename ExplicitBuilderType::Pointer pExplicitBuilder, bool MoveMeshFlag=false, int RebuildLevel=0)
Default constructor.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:108
static std::string Name()
Returns the name of the class as used in the settings (snake_case format)
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:170
Parameters GetDefaultParameters() const override
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:151
TDenseSpace::VectorType LocalSystemVectorType
The local vector definition.
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:71
void InitializeRungeKuttaIntermediateSubStep() override
Initialize the Runge-Kutta intermediate substep This method is intended to implement all the operatio...
Definition: compressible_navier_stokes_explicit_solving_strategy_runge_kutta.h:202
virtual void InitializeRungeKuttaLastSubStep()
Initialize the Runge-Kutta last substep This method is intended to implement all the operations requi...
Definition: explicit_solving_strategy_runge_kutta.h:333
virtual void FinalizeRungeKuttaLastSubStep()
Finalize the Runge-Kutta last substep This method is intended to implement all the operations require...
Definition: explicit_solving_strategy_runge_kutta.h:339
virtual void FinalizeRungeKuttaIntermediateSubStep()
Finalize the Runge-Kutta intermediate substep This method is intended to implement all the operations...
Definition: explicit_solving_strategy_runge_kutta.h:327
virtual void InitializeRungeKuttaIntermediateSubStep()
Initialize the Runge-Kutta intermediate substep This method is intended to implement all the operatio...
Definition: explicit_solving_strategy_runge_kutta.h:321
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
void AddString(const std::string &rEntry, const std::string &rValue)
This method adds a new string Parameter.
Definition: kratos_parameters.cpp:909
Solving strategy base class This is the base class from which we will derive all the strategies (impl...
Definition: solving_strategy.h:64
virtual Parameters ValidateAndAssignParameters(Parameters ThisParameters, const Parameters DefaultParameters) const
This method validate and assign default parameters.
Definition: solving_strategy.h:507
bool MoveMeshFlag()
This function returns the flag that says if the mesh is moved.
Definition: solving_strategy.h:290
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21