createDEMComponents.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 //
22 REPORT(0)<<"\nReading sphere particles . . ."<<endREPORT;
23 sphereParticles sphParticles(Control, proprties);
24 
25 //
26 REPORT(0)<<"\nCreating particle insertion object . . ."<<endREPORT;
27 /*auto& sphInsertion =
28  Control.caseSetup().emplaceObject<sphereInsertion>(
29  objectFile(
30  insertionFile__,
31  "",
32  objectFile::READ_ALWAYS,
33  objectFile::WRITE_ALWAYS
34  ),
35  sphParticles,
36  sphParticles.shapes()
37  );*/
38 
40  Control.caseSetup().path()+insertionFile__,
41  sphParticles,
42  sphParticles.shapes());
43 
44 REPORT(0)<<"\nCreating interaction model for sphere-sphere contact and sphere-wall contact . . ."<<endREPORT;
45 auto interactionPtr = interaction::create(
46  Control,
49  );
50 
sphParticles
sphereParticles sphParticles(Control, proprties)
endREPORT
#define endREPORT
Definition: streams.hpp:41
interactionPtr
auto interactionPtr
Definition: createDEMComponents.hpp:45
sphInsertion
auto sphInsertion
Definition: createDEMComponents.hpp:39
pFlow::insertionFile__
const char * insertionFile__
Definition: vocabs.hpp:40
REPORT
REPORT(0)<<"\nReading sphere particles . . ."<< endREPORT
surfGeometry
auto & surfGeometry
Definition: setSurfaceGeometry.hpp:26
proprties
auto proprties
Definition: setProperty.hpp:27
pFlow::sphereInsertion
Insertion< sphereShape > sphereInsertion
Definition: Insertions.hpp:31
sphInteraction
auto & sphInteraction
Definition: createDEMComponents.hpp:51
Control
auto & Control
Definition: initialize_Control.hpp:47