PhasicFlow
v0.1
www.cemf.ir
iterateGeometry.cpp
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
-----------------------------------------------------------------------------*/
32
#include "
systemControl.hpp
"
33
#include "
geometryMotion.hpp
"
34
#include "commandLine.hpp"
35
#include "
readControlDict.hpp
"
36
37
using
pFlow::commandLine;
38
39
int
main
(
int
argc,
char
* argv[] )
40
{
41
42
commandLine cmds(
43
"iterateGeometry"
,
44
"Performs simulation without particles, only geometry is solved"
);
45
46
47
bool
isCoupling =
false
;
48
cmds.add_flag(
49
"-c,--coupling"
,
50
isCoupling,
51
"Is this a fluid-particle coupling simulation?"
);
52
53
if
(!cmds.parse(argc, argv))
return
0;
54
55
56
// this should be palced in each main
57
#include "
initialize_Control.hpp
"
58
59
#include "
setProperty.hpp
"
60
#include "
setSurfaceGeometry.hpp
"
61
62
63
do
64
{
65
surfGeometry
.iterate();
66
67
}
while
(
Control
++);
68
69
// this should be palced in each main
70
#include "
finalize.hpp
"
71
72
}
73
initialize_Control.hpp
setProperty.hpp
setSurfaceGeometry.hpp
systemControl.hpp
main
int main(int argc, char *argv[])
Definition:
iterateGeometry.cpp:39
geometryMotion.hpp
surfGeometry
auto & surfGeometry
Definition:
setSurfaceGeometry.hpp:26
readControlDict.hpp
Control
auto & Control
Definition:
initialize_Control.hpp:47
finalize.hpp
solvers
iterateGeometry
iterateGeometry.cpp
Generated by
1.8.17