www.cemf.ir
boundaryReflective.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 #ifndef __boundaryReflective_hpp__
21 #define __boundaryReflective_hpp__
22 
23 
24 #include "boundaryBase.hpp"
25 
26 namespace pFlow
27 {
28 
30 :
31  public boundaryBase
32 {
33 private:
34 
36 
37  word velocityName_{"velocity"};
38 
39  word diameterName_{"diameter"};
40 
41 public:
42 
43  TypeInfo("boundary<reflective>");
44 
46  const dictionary &dict,
47  const plane &bplane,
48  internalPoints &internal,
49  boundaryList &bndrs,
50  uint32 thisIndex);
51 
52 
53  ~boundaryReflective()override = default;
54 
55  add_vCtor
56  (
60  );
61 
62  bool beforeIteration(
63  uint32 step,
64  const timeInfo& ti,
65  bool updateIter,
66  bool iterBeforeUpdate ,
67  bool& callAgain
68  ) final ;
69 
70  bool iterate(const timeInfo& ti) final;
71 
72  bool afterIteration(const timeInfo& ti)final;
73 
74 
75 };
76 
77 }
78 
79 #endif
pFlow::boundaryReflective::~boundaryReflective
~boundaryReflective() override=default
pFlow::internalPoints
Definition: internalPoints.hpp:38
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::plane
Definition: plane.hpp:30
boundaryBase.hpp
pFlow::uint32
unsigned int uint32
Definition: builtinTypes.hpp:56
pFlow::word
std::string word
Definition: builtinTypes.hpp:64
pFlow::boundaryList
Definition: boundaryList.hpp:35
pFlow::timeInfo
Definition: timeInfo.hpp:28
pFlow::boundaryReflective
Definition: boundaryReflective.hpp:29
pFlow
Definition: demGeometry.hpp:27
pFlow::boundaryReflective::TypeInfo
TypeInfo("boundary<reflective>")
pFlow::boundaryReflective::afterIteration
bool afterIteration(const timeInfo &ti) final
Definition: boundaryReflective.cpp:69
pFlow::boundaryBase
Definition: boundaryBase.hpp:42
pFlow::boundaryReflective::add_vCtor
add_vCtor(boundaryBase, boundaryReflective, dictionary)
pFlow::boundaryReflective::iterate
bool iterate(const timeInfo &ti) final
Definition: boundaryReflective.cpp:61
pFlow::boundaryReflective::restitution_
real restitution_
Definition: boundaryReflective.hpp:35
pFlow::boundaryReflective::velocityName_
word velocityName_
Definition: boundaryReflective.hpp:37
pFlow::boundaryReflective::beforeIteration
bool beforeIteration(uint32 step, const timeInfo &ti, bool updateIter, bool iterBeforeUpdate, bool &callAgain) final
Definition: boundaryReflective.cpp:48
pFlow::boundaryReflective::diameterName_
word diameterName_
Definition: boundaryReflective.hpp:39
pFlow::dictionary
Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...
Definition: dictionary.hpp:67
pFlow::boundaryReflective::boundaryReflective
boundaryReflective(const dictionary &dict, const plane &bplane, internalPoints &internal, boundaryList &bndrs, uint32 thisIndex)
Definition: boundaryReflective.cpp:26