www.cemf.ir
periodicBoundarySphereInteraction.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 __periodicBoundarySphereInteraction_hpp__
22 #define __periodicBoundarySphereInteraction_hpp__
23 
25 
26 namespace pFlow
27 {
28 
29 template<typename contactForceModel,typename geometryMotionModel>
31 :
32  public boundarySphereInteraction<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("boundarySphereInteraction", "periodic",ContactForceModel, MotionModel);
64 
65 
67  const boundaryBase& boundary,
68  const sphereParticles& sphPrtcls,
69  const GeometryMotionModel& geomMotion
70  );
71 
72  add_vCtor
73  (
77  );
78 
79  ~periodicBoundarySphereInteraction()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 //__periodicBoundarySphereInteraction_hpp__
pFlow::periodicBoundarySphereInteraction
Definition: periodicBoundarySphereInteraction.hpp:30
pFlow::periodicBoundarySphereInteraction::sphereSphereInteraction
bool sphereSphereInteraction(real dt, const ContactForceModel &cfModel, uint32 step) override
Definition: periodicBoundarySphereInteraction.cpp:46
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::boundarySphereInteraction::ContactForceModel
contactForceModel ContactForceModel
Definition: boundarySphereInteraction.hpp:43
pFlow::periodicBoundarySphereInteraction::masterInteraction_
bool masterInteraction_
Definition: periodicBoundarySphereInteraction.hpp:60
pFlow::boundarySphereInteraction::IdType
uint32 IdType
Definition: boundarySphereInteraction.hpp:49
boundarySphereInteraction.hpp
pFlow::periodicBoundarySphereInteraction::TypeInfoTemplate22
TypeInfoTemplate22("boundarySphereInteraction", "periodic", ContactForceModel, MotionModel)
pFlow::boundarySphereInteraction::IndexType
uint32 IndexType
Definition: boundarySphereInteraction.hpp:51
pFlow::periodicBoundarySphereInteraction::periodicBoundarySphereInteraction
periodicBoundarySphereInteraction(const boundaryBase &boundary, const sphereParticles &sphPrtcls, const GeometryMotionModel &geomMotion)
Definition: periodicBoundarySphereInteraction.cpp:24
pFlow::boundarySphereInteraction
Definition: boundarySphereInteraction.hpp:32
periodicBoundarySphereInteraction.cpp
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow
Definition: demGeometry.hpp:27
pFlow::sphereParticles
Class for managing spherical particles.
Definition: sphereParticles.hpp:42
pFlow::periodicBoundarySphereInteraction::transferVec_
realx3 transferVec_
Definition: periodicBoundarySphereInteraction.hpp:58
pFlow::boundarySphereInteraction::GeometryMotionModel
geometryMotionModel GeometryMotionModel
Definition: boundarySphereInteraction.hpp:41
pFlow::periodicBoundarySphereInteraction::add_vCtor
add_vCtor(BSInteractionType, PBSInteractionType, boundaryBase)
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::periodicBoundarySphereInteraction::~periodicBoundarySphereInteraction
~periodicBoundarySphereInteraction() override=default
pFlow::sortedContactList
Definition: sortedContactList.hpp:30
pFlow::generalBoundary::boundary
const auto & boundary() const
Definition: generalBoundary.hpp:108
pFlow::boundarySphereInteraction::MotionModel
typename geometryMotionModel::MotionModel MotionModel
Definition: boundarySphereInteraction.hpp:45
pFlow::triple< real >
pFlow::boundarySphereInteraction::ModelStorage
typename ContactForceModel::contactForceStorage ModelStorage
Definition: boundarySphereInteraction.hpp:47
pFlow::boundarySphereInteraction::ContactListType
sortedContactList< ModelStorage, DefaultExecutionSpace, IdType > ContactListType
Definition: boundarySphereInteraction.hpp:54