4 #if !defined(SDEM_BOUSSINESQ_BASSET_HISTORY_FORCE_LAW_H_INCLUDED)
5 #define SDEM_BOUSSINESQ_BASSET_HISTORY_FORCE_LAW_H_INCLUDED
19 mDoApplyFaxenCorrections(false),
22 mOldDaitchePresentCoefficient(0.0),
29 HistoryForceLaw::Pointer Clone()
const override;
31 std::string GetTypeOfLaw()
override;
34 const double reynolds_number,
35 double particle_radius,
37 double fluid_kinematic_viscosity,
40 const ProcessInfo& r_current_process_info)
override;
43 static std::vector<double>
mAjs;
44 static std::vector<double>
mBns;
45 static std::vector<double>
mCns;
46 static std::vector<double>
mDns;
47 static std::vector<double>
mEns;
51 static std::vector<double>
mAs;
52 static std::vector<double>
mTs;
57 bool mDoApplyFaxenCorrections;
60 double mOldDaitchePresentCoefficient;
64 double GetDaitcheCoefficient(
int order,
unsigned int n,
unsigned int j,
const double last_h_over_h,
const int n_steps_per_quad_step);
65 void CalculateExplicitFractionalDerivative(
NodeType&
node,
array_1d<double, 3>& fractional_derivative,
double& present_coefficient,
Vector& historic_integrands,
const double last_h_over_h,
const int n_steps_per_quad_step);
68 double Phi(
const double x);
69 double Ki(
const double alpha,
const double beta,
const double time);
70 void AddFdi(
const int order,
array_1d<double, 3>&
F,
const double t_win,
const double alpha,
const double beta,
const double last_h_over_h,
const double delta_time,
const DenseVector<double>& historic_integrands,
const array_1d<double, 3>& oldest_integrand);
75 virtual void save(
Serializer& rSerializer)
const override {
Definition: boussinesq_basset_history_force_law.h:11
static std::vector< double > mEns
Definition: boussinesq_basset_history_force_law.h:47
~BoussinesqBassetHistoryForceLaw()
Definition: boussinesq_basset_history_force_law.h:27
static bool mDaitcheVectorsAreFull
Definition: boussinesq_basset_history_force_law.h:48
static std::vector< double > mAjs
Definition: boussinesq_basset_history_force_law.h:43
static std::vector< double > mAs
Definition: boussinesq_basset_history_force_law.h:51
static double mTimeWindow
Definition: boussinesq_basset_history_force_law.h:50
static std::vector< double > mBetas
Definition: boussinesq_basset_history_force_law.h:54
BoussinesqBassetHistoryForceLaw()
Definition: boussinesq_basset_history_force_law.h:18
static std::vector< double > mBns
Definition: boussinesq_basset_history_force_law.h:44
Node NodeType
Definition: boussinesq_basset_history_force_law.h:14
static std::vector< double > mCns
Definition: boussinesq_basset_history_force_law.h:45
static std::vector< double > mDns
Definition: boussinesq_basset_history_force_law.h:46
static std::vector< double > mTs
Definition: boussinesq_basset_history_force_law.h:52
KRATOS_CLASS_POINTER_DEFINITION(BoussinesqBassetHistoryForceLaw)
static std::vector< double > mAlphas
Definition: boussinesq_basset_history_force_law.h:53
Geometry base class.
Definition: geometry.h:71
Definition: history_force_law.h:16
Definition: amatrix_interface.h:530
This class defines the node.
Definition: node.h:65
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
list t_win
Definition: bombardelli_test.py:31
time
Definition: face_heat.py:85
alpha
Definition: generate_convection_diffusion_explicit_element.py:113
delta_time
Definition: generate_frictional_mortar_condition.py:130
F
Definition: hinsberg_optimization.py:144
def load(f)
Definition: ode_solve.py:307
int n
manufactured solution and derivatives (u=0 at z=0 dudz=0 at z=domain_height)
Definition: ode_solve.py:402
def Phi(t)
Definition: quadrature.py:273
int j
Definition: quadrature.py:648
x
Definition: sensitivityMatrix.py:49
Definition: mesh_converter.cpp:38