www.cemf.ir
periodicBoundaryGrainInteraction.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 
21 #ifndef __periodicBoundaryGrainInteraction_hpp__
22 #define __periodicBoundaryGrainInteraction_hpp__
23 
25 
26 namespace pFlow
27 {
28 
29 template<typename contactForceModel,typename geometryMotionModel>
31 :
32  public boundaryGrainInteraction<contactForceModel, geometryMotionModel>
33 {
34 public:
35 
36  using PBSInteractionType =
38 
39  using BSInteractionType =
41 
43 
45 
46  using MotionModel = typename geometryMotionModel::MotionModel;
47 
48  using ModelStorage = typename ContactForceModel::contactForceStorage;
49 
51 
53 
55 
56 private:
57 
59 
61 public:
62 
63  TypeInfoTemplate22("boundaryGrainInteraction", "periodic",ContactForceModel, MotionModel);
64 
65 
67  const boundaryBase& boundary,
68  const grainParticles& grnPrtcls,
69  const GeometryMotionModel& geomMotion
70  );
71 
72  add_vCtor
73  (
77  );
78 
79  ~periodicBoundaryGrainInteraction()override = default;
80 
81 
82 
83 
85  real dt,
86  const ContactForceModel& cfModel,
87  uint32 step)override;
88 
89 };
90 
91 }
92 
94 
95 
96 #endif //__periodicBoundaryGrainInteraction_hpp__
pFlow::periodicBoundaryGrainInteraction
Definition: periodicBoundaryGrainInteraction.hpp:30
periodicBoundaryGrainInteraction.cpp
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::boundaryGrainInteraction
Definition: boundaryGrainInteraction.hpp:32
pFlow::grainParticles
Definition: grainParticles.hpp:42
pFlow::boundaryGrainInteraction::ContactForceModel
contactForceModel ContactForceModel
Definition: boundaryGrainInteraction.hpp:43
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow::periodicBoundaryGrainInteraction::TypeInfoTemplate22
TypeInfoTemplate22("boundaryGrainInteraction", "periodic", ContactForceModel, MotionModel)
pFlow::periodicBoundaryGrainInteraction::grainGrainInteraction
bool grainGrainInteraction(real dt, const ContactForceModel &cfModel, uint32 step) override
Definition: periodicBoundaryGrainInteraction.cpp:46
pFlow::boundaryGrainInteraction::IndexType
uint32 IndexType
Definition: boundaryGrainInteraction.hpp:51
pFlow
Definition: demGeometry.hpp:27
pFlow::periodicBoundaryGrainInteraction::periodicBoundaryGrainInteraction
periodicBoundaryGrainInteraction(const boundaryBase &boundary, const grainParticles &grnPrtcls, const GeometryMotionModel &geomMotion)
Definition: periodicBoundaryGrainInteraction.cpp:24
pFlow::periodicBoundaryGrainInteraction::transferVec_
realx3 transferVec_
Definition: periodicBoundaryGrainInteraction.hpp:58
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::boundaryGrainInteraction::MotionModel
typename geometryMotionModel::MotionModel MotionModel
Definition: boundaryGrainInteraction.hpp:45
pFlow::boundaryGrainInteraction::ContactListType
sortedContactList< ModelStorage, DefaultExecutionSpace, IdType > ContactListType
Definition: boundaryGrainInteraction.hpp:54
pFlow::periodicBoundaryGrainInteraction::add_vCtor
add_vCtor(BSInteractionType, PBSInteractionType, boundaryBase)
pFlow::boundaryGrainInteraction::IdType
uint32 IdType
Definition: boundaryGrainInteraction.hpp:49
pFlow::periodicBoundaryGrainInteraction::~periodicBoundaryGrainInteraction
~periodicBoundaryGrainInteraction() override=default
pFlow::sortedContactList
Definition: sortedContactList.hpp:30
pFlow::generalBoundary::boundary
const auto & boundary() const
Definition: generalBoundary.hpp:108
pFlow::boundaryGrainInteraction::GeometryMotionModel
geometryMotionModel GeometryMotionModel
Definition: boundaryGrainInteraction.hpp:41
boundaryGrainInteraction.hpp
pFlow::triple< real >
pFlow::boundaryGrainInteraction::ModelStorage
typename ContactForceModel::contactForceStorage ModelStorage
Definition: boundaryGrainInteraction.hpp:47
pFlow::periodicBoundaryGrainInteraction::masterInteraction_
bool masterInteraction_
Definition: periodicBoundaryGrainInteraction.hpp:60