www.cemf.ir
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 . . ."
<<
END_REPORT
;
23
pFlow::grainParticles
grnParticles
(
Control
,
proprties
);
24
25
//
26
REPORT
(0)<<
"\nCreating particle insertion object . . ."
<<
END_REPORT
;
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
39
auto
grnInsertion
=
pFlow::grainInsertion
(
40
grnParticles
,
41
grnParticles
.
grains
());
42
43
REPORT
(0)<<
"\nCreating interaction model for sphere-sphere contact and sphere-wall contact . . ."
<<
END_REPORT
;
44
auto
interactionPtr
=
pFlow::interaction::create
(
45
Control
,
46
grnParticles
,
47
surfGeometry
48
);
49
50
auto
&
grnInteraction
=
interactionPtr
();
interactionPtr
auto interactionPtr
Definition:
createDEMComponents.hpp:44
grnParticles
pFlow::grainParticles grnParticles(Control, proprties)
grnInsertion
auto grnInsertion
Definition:
createDEMComponents.hpp:39
pFlow::grainParticles
Definition:
grainParticles.hpp:42
pFlow::interaction::create
static uniquePtr< interaction > create(systemControl &control, const particles &prtcl, const geometry &geom)
Definition:
interaction.cpp:48
surfGeometry
auto & surfGeometry
Definition:
setSurfaceGeometry.hpp:26
pFlow::grainParticles::grains
const auto & grains() const
const reference to shapes object
Definition:
grainParticles.hpp:147
proprties
auto proprties
Definition:
setProperty.hpp:26
END_REPORT
#define END_REPORT
Definition:
streams.hpp:40
REPORT
REPORT(0)<<"\nReading sphere particles . . ."<< END_REPORT
pFlow::grainInsertion
Insertion< grainShape > grainInsertion
Definition:
Insertions.hpp:34
grnInteraction
auto & grnInteraction
Definition:
createDEMComponents.hpp:50
Control
auto & Control
Definition:
initialize_Control.hpp:47
solvers
grainGranFlow
createDEMComponents.hpp
Generated by
1.8.17