Skip to content

Commit cfa4501

Browse files
committed
documentation update 2.0
1 parent 38da674 commit cfa4501

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1280
-485
lines changed

Diff for: docs/sphinx_docs/source/Biblio.bib

+38-28
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,48 @@
22
33
@article{euler1757principes,
44
title={Principes g{\'e}n{\'e}raux du mouvement des fluides},
5-
author={Euler, Leonhard},
5+
author={Euler, L.},
66
journal={M{\'e}moires de l'Acad{\'e}mie des Sciences de Berlin},
77
pages={274--315},
88
year={1757}
99
}
1010

1111
@article{pishchalnikov2019lowintensity,
12-
title={High-speed video microscopy and numerical modeling of microbubbles driven by low-intensity ultrasound and targeting urinary stones},
13-
author={Pishchalnikov, Y. A. and Behnke-Parks, W. and Schmidmayer, K. and Maeda, K. and Colonius, T. and Kenny, T. and Laser, D. J.},
14-
journal={Submitted},
12+
title={High-speed video microscopy and numerical modeling of bubble dynamics near a surface of urinary stone},
13+
author={Pishchalnikov, Y. A. and Behnke-Parks, W. M. and Schmidmayer, K. and Maeda, K. and Colonius, T. and Kenny, T. W. and Laser, D. J.},
14+
journal={Journal of the Acoustical Society of America},
15+
volume={146},
16+
pages={516--531},
1517
year={2019}
1618
}
1719

1820
@Article{schmidmayer2019adaptive,
1921
author = {Schmidmayer, K. and Petitpas, F. and Daniel, E.},
20-
title = {Adaptive Mesh Refinement algorithm based on dual trees for cells and faces for multiphase compressible flows},
22+
title = {{A}daptive {M}esh {R}efinement algorithm based on dual trees for cells and faces for multiphase compressible flows},
2123
journal = {Journal of Computational Physics},
24+
volume={388},
25+
pages={252--278},
2226
year = {2019},
2327
publisher = {Elsevier},
2428
}
2529

26-
@article{schmidmayer2019ecogen,
27-
title={{ECOGEN}: {A}n open-source tool for multiphase, compressible, multiphysics flows},
30+
@article{schmidmayer2020ecogen,
31+
doi = {10.1016/j.cpc.2019.107093},
32+
url = {https://doi.org/10.1016/j.cpc.2019.107093},
33+
title={{ECOGEN: A}n open-source tool for multiphase, compressible, multiphysics flows},
2834
author={Schmidmayer, K. and Petitpas, F. and Le Martelot, S. and Daniel, E.},
29-
journal={Submitted},
30-
year={2019}
35+
journal={Computer Physics Communications},
36+
volume={251},
37+
year={2020}
3138
}
3239

3340
@article{schmidmayer2019comparativeStudy,
34-
title={Interface-capturing models and schemes to solve bubble dynamics and cavitation: {A} comparative study},
35-
author={Schmidmayer, K. and Colonius, T.},
36-
journal={In preparation},
37-
year={2019}
41+
title={An assessment of multicomponent flow models and interface capturing schemes for spherical bubble dynamics},
42+
author={Schmidmayer, K. and Bryngelson, S. H. and Colonius, T.},
43+
journal={J. Comp. Phys.},
44+
volume={402},
45+
pages={109080},
46+
year={2020}
3847
}
3948

4049
@article{schmidmayer2019heat,
@@ -1002,16 +1011,6 @@ @article{chiapolino2017phaseTransition
10021011
year={2017}
10031012
}
10041013

1005-
@article{gmsh,
1006-
title={Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities},
1007-
author={Geuzaine, C. and Remacle, J.-F.},
1008-
journal={International Journal for Numerical Methods in Engineering},
1009-
volume={79},
1010-
number={11},
1011-
pages={1309--1331},
1012-
year={2009}
1013-
}
1014-
10151014
@article{igra2003experimental,
10161015
title={Experimental investigation of two cylindrical water columns subjected to planar shock wave loading},
10171016
author={Igra, D. and Takayama, K.},
@@ -2586,7 +2585,7 @@ @Article{lefloch
25862585

25872586
@Article{kapila97,
25882587
author = {A. Kapila and S. Son and J. Bdzil and R. Menikoff and D. Stewart},
2589-
title = {Two-phase modeling of \textsc{DDT}: \textsc{S}tructure of the velocity-relaxation zone},
2588+
title = {Two-phase modeling of {DDT}: {S}tructure of the velocity-relaxation zone},
25902589
journal = {Physics of Fluids},
25912590
year = 1997,
25922591
volume = 9,
@@ -2596,7 +2595,7 @@ @Article{kapila97
25962595

25972596
@Article{kapila2001,
25982597
author = {A. Kapila and R. Menikoff and J. Bdzil and S. Son and D. Stewart},
2599-
title = {Two-phase modeling of \textsc{DDT} in granular materials: \textsc{R}educed equations},
2598+
title = {Two-phase modeling of {DDT} in granular materials: {R}educed equations},
26002599
journal = {Physics of Fluids},
26012600
year = 2001,
26022601
volume = 13,
@@ -2723,7 +2722,7 @@ @Book{toro97
27232722

27242723
@book{toro2013riemann,
27252724
title={Riemann solvers and numerical methods for fluid dynamics: a practical introduction},
2726-
author={Toro, Eleuterio F},
2725+
author={Toro, E.F.},
27272726
year={2013},
27282727
publisher={Springer Science \& Business Media}
27292728
}
@@ -3173,8 +3172,8 @@ @Article{titarev2007
31733172
pages = {897--926}
31743173
}
31753174
@Article{van1977towards,
3176-
author = {Van Leer, Bram},
3177-
title = {Towards the ultimate conservative difference scheme. IV. A new approach to numerical convection},
3175+
author = {Van Leer, B.},
3176+
title = {Towards the ultimate conservative difference scheme. {IV. A} new approach to numerical convection},
31783177
journal = {Journal of computational physics},
31793178
year = {1977},
31803179
volume = {23},
@@ -3183,4 +3182,15 @@ @Article{van1977towards
31833182
publisher = {Elsevier},
31843183
}
31853184

3185+
@article{le2016noble,
3186+
title={The {Noble-Abel Stiffened-Gas} equation of state},
3187+
author={Le M{\'e}tayer, O. and Saurel, R.},
3188+
journal={Physics of Fluids},
3189+
volume={28},
3190+
number={4},
3191+
pages={046102},
3192+
year={2016},
3193+
publisher={AIP Publishing}
3194+
}
3195+
31863196
@Comment{jabref-meta: databaseType:bibtex;}

Diff for: docs/sphinx_docs/source/Chap1_introduction.rst

+28-25
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,50 @@
11
Introduction
22
============
33

4-
ECOGEN is a CFD plateform written in C++ object oriented programming langage. It is dedicated to numerical simulation of compressible multiphase flows. It has the vocation to share academics researches in the multiphase flow field in direction to ohter academics but also for industrials, students, etc.
4+
ECOGEN is a CFD
55

6-
- multi-models (single phase, multiphase with or without equilibrium)
7-
- multi-physics (thermal transfers, viscosity, surface tension, mass transfers)
8-
- multi-meshes (Cartesian, unstructured, AMR)
9-
- multi-CPU
6+
- multi-model (single phase, multiphase with or without equilibriums),
7+
- multi-physics (thermal transfers, viscosity, surface tension, mass transfers),
8+
- multi-mesh (Cartesian, unstructured, AMR),
9+
- multi-core,
10+
11+
plateform written in C++ object-oriented-programming language. It is dedicated to numerical simulation of compressible multiphase flows. It has the vocation to share academics research in the multiphase flow field in direction to other academics but also for industrials, students, etc.
1012

1113
ECOGEN stands for:
1214

13-
- **E**\ volutive: makes easier future developpements
14-
- **C**\ ompressible: dedicated to compressible flows
15-
- **O**\ penSource: Distributed under GPLv3 Licence
16-
- **G**\ enuine: Uses the "Diffuse Interface Method" (DIM)
17-
- **E**\asy: simple to install and use (C++ compiler and MPI)
18-
- **N**-phase: liquids, vapors, inert gases and/or reactives
15+
- **E**\ volutive: Made for easier future developments.
16+
- **C**\ ompressible: Dedicated to compressible flows.
17+
- **O**\ pen-source: Distributed under `GNU GPLv3 License`_.
18+
- **G**\ enuine: Uses the "Diffuse Interface Method" (DIM).
19+
- **E**\ asy: Simple to install and use (C++ compiler and MPI).
20+
- **N**\ -phase: Liquids, vapors, inert gases and/or reactives.
21+
22+
.. _`GNU GPLv3 License`: http://www.gnu.org/licenses
1923

20-
What kind of physical problems ?
21-
--------------------------------
24+
What kind of physical problems?
25+
-------------------------------
2226

23-
ECOGEN is designed for following applications:
27+
ECOGEN is designed for the following:
2428

25-
- Solving interface problems between pure or multicomponents fluids and mixtures of multiphase flows.
26-
- Treating surface tension, heat and mass transfers for evaporating and condensing flow, cavitation.
27-
- Computing wave propagation in strongly unsteady situations using a specific Adaptative Mesh Reffinement .
29+
- Solving interface problems between pure or multicomponent fluids and mixtures of multiphase flows.
30+
- Treating surface tension, heat and mass transfers for cavitation, evaporating and condensing flows.
31+
- Computing wave propagation in strongly unsteady situations using a specific Adaptive Mesh Refinement.
2832
- Computing on unstructured grids to simulate complex geometries.
2933
- Parallel computing using open MPI libraries.
3034

31-
What about the engine ?
32-
-----------------------
35+
What about the engine?
36+
----------------------
3337

34-
ECOGEN is a receptacle of a story of diffuse interface method (DIM) theory that started in the late 90s. DIM summarizes more than 20 years of researches on multiphase flow modelling with the objective to develop mathematical models as well as their associated numerical methods.
38+
ECOGEN is a receptacle of a story of diffuse-interface-method (DIM) theory that started in the late 90s. DIM summarizes more than 20 years of researches on multiphase flow modelling with the goal to develop mathematical models as well as their associated numerical methods.
3539

36-
What is a diffuse interface? In DIM theory, the interfaces between pure phases are captured as diffuse numerical zones meaning that one goes continuously from one phase to another.
40+
What is a diffuse interface? In DIM theory, the interfaces between pure phases are captured as diffuse numerical regions, meaning that one goes continuously from one phase to another.
3741

3842
.. _Fig:introduction:diffInterface:
3943

4044
.. figure:: ./_static/intro/diffInterface.png
4145

42-
1D extraction of the diffuse interface zone of a water droplet.
43-
44-
This way is possible thanks to a thermodynamical consistency. Then, the flow solution does no longer requires interface tracking algorithms: It became easy to simulate complex topological shape evolutions between miscible or non miscible fluid. Moreover, pressure waves (shock waves, acoustic waves) can propagate and interact properly in the whole flow.
46+
1D extraction of the diffuse interface region of a water droplet.
4547

46-
The basic research on DIM is now matured enough to propose ECOGEN, a numerical tool that can be largely cast and use to solve industrial as well as research multiphase flow problems.
48+
This way is possible thanks to a thermodynamics consistency. Then, the flow solution does no longer requires interface tracking algorithms: It becomes easy to simulate complex topological-shape evolutions between miscible or non-miscible fluids. Moreover, pressure waves (shock waves, acoustic waves) can propagate and interact properly in the whole flow.
4749

50+
The base research on DIM is now matured enough to propose ECOGEN, a numerical tool that can be largely cast and use to solve industrial as well as research multiphase flow problems.

Diff for: docs/sphinx_docs/source/Chap2_1installation.rst

+36-29
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
Prerequisities
2-
==============
1+
Prerequisites
2+
=============
33

4-
ECOGEN must be compiled with C++. It also requires a functional system implementation of MPI library (not provided in this package). Depending on your operating system, you can follow the instructions below to set a full open source installation:
4+
ECOGEN must be compiled with C++. It also requires a functional system implementation of MPI library (not provided in this package). Depending on your operating system, you can follow the instructions below to set a full open-source installation.
55

6-
Installing prerequisities on Ubuntu system
7-
------------------------------------------
8-
ECOGEN required two mandatory components to be installed on your Ubuntu system : a C++ compiler and an effective implementation of MPI.
6+
Installing prerequisites on Ubuntu system
7+
-----------------------------------------
8+
ECOGEN requires two mandatory components to be installed on your Ubuntu system: A C++ compiler and an effective implementation of MPI.
99

1010
Installing C++ compiler
1111
~~~~~~~~~~~~~~~~~~~~~~~
12-
Nothing is more easy than installing C and C++ compiler on Ubuntu. In your terminal just enter the following commands:
12+
Nothing is easier than installing C and C++ compiler on Ubuntu. In your terminal, just enter the following commands:
1313

1414
.. highlight:: console
1515

@@ -20,13 +20,14 @@ Nothing is more easy than installing C and C++ compiler on Ubuntu. In your termi
2020
sudo apt-get install gcc
2121
sudo apt-get install g++
2222
sudo apt-get install build-essential
23+
sudo apt-get install make
2324

24-
More information on the ubuntu doc page https://doc.ubuntu-fr.org/gcc
25+
More information on the Ubuntu doc page https://doc.ubuntu-fr.org/gcc.
2526

2627
Installing openMPI
2728
~~~~~~~~~~~~~~~~~~
2829

29-
Dowload the latest stable version of openMPI_ under compressed format. At the time this page is written, it corresponds to the compressed file : openmpi-4.0.1.tar.gz. Uncompresse and move into the directory:
30+
Download the latest stable version of openMPI_ under compressed format. At the time this page was written, it corresponded to the compressed file: openmpi-4.0.1.tar.gz. Uncompresse and move it into the directory:
3031

3132
.. highlight:: console
3233

@@ -35,7 +36,7 @@ Dowload the latest stable version of openMPI_ under compressed format. At the ti
3536
tar -xvf openmpi-4.0.1.tar.gz
3637
cd openmpi-4.0.1/
3738

38-
Prepare the environnement for using your favorite compiler:
39+
Prepare the environment to use your favorite compiler:
3940

4041
.. highlight:: console
4142

@@ -44,7 +45,7 @@ Prepare the environnement for using your favorite compiler:
4445
export CC=gcc
4546
export CXX=g++
4647

47-
Configure and proceed to the installation (you can choose a different directory). The "make" step should take some times (coffee time ?):
48+
Configure and proceed to the installation (you can choose a different directory). The "make" step should take some time (coffee time?):
4849

4950
.. highlight:: console
5051

@@ -63,9 +64,13 @@ Cleaning
6364
cd ..
6465
rm -rf openmpi-4.0.1/
6566

66-
Modify the /etc/bash.bashrc by adding the line:
67+
Add openMPI library to the environment variable PATH (might be required to be root):
6768

68-
*export PATH=/opt/openmpi/bin:$PATH*
69+
.. highlight:: console
70+
71+
::
72+
73+
sudo echo 'export PATH=/opt/openmpi/bin:$PATH' >> /etc/bash.bashrc
6974

7075
Then source the file to take into consideration the modifications:
7176

@@ -75,40 +80,42 @@ Then source the file to take into consideration the modifications:
7580

7681
source /etc/bash.bashrc
7782

78-
If the installation succeed you should use the mpicxx command in your terminal. Then proceed to the download step below.
83+
If the installation succeeds you should be able to use the "mpicxx" command in your terminal. Then proceed to the download step below.
7984

8085
Download
8186
========
8287

83-
The last ECOGEN version can be downloaded from Git-hub. The source files are available at the following address: https://github.com/code-mphi/ECOGEN.
88+
The last ECOGEN version |version| can be downloaded from GitHub. The source files are available at the following address: https://github.com/code-mphi/ECOGEN/releases.
8489

8590
The package includes:
8691

8792
* ECOGEN/src/ folder including C++ source files.
8893
* ECOGEN/libMeshes/ folder including examples of unstructured meshes in *.geo* format (gmsh files version 2). See section :ref:`Sec:tuto:generatingMeshes` for details.
89-
* ECOGEN/libEOS/ folder including some possible parameters for Equation of State in XML files. See section :ref:`Sec:IO:materials` for details.
94+
* ECOGEN/libEOS/ folder including some possible parameters for the equation-of-states in XML files. See section :ref:`Sec:IO:materials` for details.
9095
* ECOGEN/libTests folder including:
9196

92-
- ECOGEN/libTests/referenceTestCases/ folder organized in a test cases library according the flow model (Euler Equations ECOGEN solver, Kapila's model for multiphase flow ECOGEN solver, Homogeneous Euler Equation ECOGEN solver, etc.). A detailed list of available test cases is proposed in section :ref:`Chap:TestCases`.
93-
- 4 quick-manual XML files to create a new flow calculation with ECOGEN.
94-
* *ECOGEN.xml* main entry file to select running cases.
95-
* *Makefile*: for compilation in Unix environment. This file may require some adaptation to the user's environment.
97+
- ECOGEN/libTests/referenceTestCases/ folder organized as a test-case library according to the flow model (Euler-equation ECOGEN solver, Kapila's model for multiphase flow ECOGEN solver, homogeneous Euler-equation ECOGEN solver, etc.). A detailed list of available test cases is proposed in section :ref:`Chap:TestCases`.
98+
- 4 quick-manual XML files to create a new flow computation with ECOGEN.
99+
* *ECOGEN.xml*: Main entry file to select running cases.
100+
* *Makefile*: For compilation in Unix environment. This file may require some adaptation to the user's environment.
96101
* *LICENSE*, *COPYRIGHT* and *AUTHORS*: Information files about authors and licensing.
97102
* *README.md*: Information file.
98-
* *ECOGEN_documentation.pdf*: The full documentation for ECOGEN.
103+
* *ECOGEN_V1.0_documentation.pdf*: The full documentation for ECOGEN.
104+
105+
.. _Sec:installation:compileAndExecute:
99106

100107
Compilation/Execution on bash
101108
=============================
102109

103-
Use the Makefile (can be adapted if necessary) to compile ECOGEN sources directly on bash (XX is the number of CPU required for compilation):
110+
Use the Makefile (can be adapted if necessary) to compile ECOGEN sources directly on bash (XX is the number of cores required for compilation):
104111

105112
.. highlight:: console
106113

107114
::
108115

109116
make -j XX
110117

111-
Executing ECOGEN is really easy on bash (XX is the number of CPU required for execution):
118+
Executing ECOGEN is really easy on bash (XX is the number of cores required for execution):
112119

113120
.. highlight:: console
114121

@@ -119,7 +126,7 @@ Executing ECOGEN is really easy on bash (XX is the number of CPU required for ex
119126
Testing
120127
=======
121128

122-
Once preceding compiling of the code succeed, the better way to test ECOGEN's installation is to run successively the two simple following commands:
129+
Once ECOGEN has been successfully compiled, the best way to test ECOGEN's installation is to run successively the two simple following commands:
123130

124131
.. highlight:: console
125132

@@ -128,13 +135,13 @@ Once preceding compiling of the code succeed, the better way to test ECOGEN's in
128135
./ECOGEN
129136
mpirun -np 2 ECOGEN
130137

131-
This will run the default test case included in the package two times:
138+
These will run the default test case included in the package two times:
132139

133-
* In sequential (single CPU).
134-
* In parallele using 2 CPU.
140+
* Once in sequential (single core).
141+
* Once in parallel using 2 cores.
135142

136-
This should print informations in the terminal on the running default test case. If no error message appears, then your installation should be OK. You should use ECOGEN for your own applications.
143+
These should print information in the terminal on the running default test case. If no error message appears, then your installation should be OK and you should be able to use ECOGEN for your own applications.
137144

138-
ECOGEN is including a given number of simple prebuild test cases. Each test can be used as a basis for a new one. Visit the tutorial section :ref:`Chap:Tutorials` for more informations.
145+
ECOGEN is including a given number of simple prebuild test cases. Each test can be used as a basis for a new one. Visit the tutorial section :ref:`Chap:Tutorials` for more information.
139146

140147
.. _openMPI: https://www.open-mpi.org/

Diff for: docs/sphinx_docs/source/Chap2_installation_Chapter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installation instructions
44
=========================
55

6-
This section contains basic instruction for ECOGEN installation on windows / ubuntu systems.
6+
This section contains base instructions for ECOGEN installation on Windows and Ubuntu operating systems.
77

88
.. toctree::
99
:maxdepth: 1

0 commit comments

Comments
 (0)