Skip to content

Commit 7a7f4e7

Browse files
committed
- added doc files
1 parent 0d1656a commit 7a7f4e7

3 files changed

Lines changed: 50 additions & 15 deletions

File tree

doc/bibliography.bib

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,24 @@ @article{Weiler2018
364364
journal = {Computer Graphics Forum (Eurographics)},
365365
volume = {37},
366366
number = {2}
367+
}
368+
369+
@InProceedings{Becker:2009,
370+
author = {Becker, Markus and Ihmsen, Markus and Teschner, Matthias},
371+
title = {{Corotated SPH for deformable solids}},
372+
booktitle = {Proceedings of Eurographics Conference on Natural Phenomena},
373+
year = {2009},
374+
pages = {27--34},
375+
doi = {10.2312EG/DL/conf/EG2009/nph/027-034},
376+
url = {http://dx.doi.org/10.2312EG/DL/conf/EG2009/nph/027-034},
377+
}
378+
379+
@Article{PGBT17,
380+
author = {Peer, Andreas and Gissler, Christoph and Band, Stefan and Teschner, Matthias},
381+
title = {An Implicit SPH Formulation for Incompressible Linearly Elastic Solids},
382+
journal = {Computer Graphics Forum},
383+
year = {2017},
384+
issn = {1467-8659},
385+
doi = {10.1111/cgf.13317},
386+
url = {http://dx.doi.org/10.1111/cgf.13317},
367387
}

doc/file_format.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ Example code:
4747
##### Visualization:
4848

4949
* numberOfStepsPerRenderUpdate (int): Number of simulation steps per rendered frame
50-
* colorField (int): Choose vector or scalar field for particle coloring.
51-
* colorMapType (int): Selection of a color map for coloring the scalar/vector field.
52-
- 0: None
53-
- 1: Jet
54-
- 2: Plasma
55-
* renderMinValue (float): Minimal value used for color-coding the color field in the rendering process.
56-
* renderMaxValue (float): Maximal value used for color-coding the color field in the rendering process.
5750
* renderWalls (int):
5851
- 0: None
5952
- 1: Particles (all)
@@ -65,6 +58,7 @@ Example code:
6558

6659
* enablePartioExport (bool): Enable/disable partio export.
6760
* partioFPS (int): Frame rate of partio export.
61+
* partioAttributes (string): A list of attribute names separated by ";" that should be exported in the partio files (e.g. "velocity;density"). Default value: "velocity"
6862

6963
##### Simulation:
7064

@@ -259,6 +253,10 @@ Example code:
259253
"Fluid":
260254
{
261255
"density0": 1000,
256+
"colorField": "velocity",
257+
"colorMapType": 1,
258+
"renderMinValue": 0.0,
259+
"renderMaxValue": 5.0,
262260
"surfaceTension": 0.2,
263261
"surfaceTensionMethod": 0,
264262
"viscosity": 0.01,
@@ -268,14 +266,24 @@ Example code:
268266
"viscosityOmega": 0.05,
269267
"inertiaInverse": 0.5,
270268
"maxEmitterParticles": 1000,
271-
"emitterReuseParticles": false,
272-
"emitterBoxMin": [-4.0,-1.0,-4.0],
273-
"emitterBoxMax": [0.0,4,4.0]
269+
"emitterReuseParticles": false,
270+
"emitterBoxMin": [-4.0,-1.0,-4.0],
271+
"emitterBoxMax": [0.0,4,4.0],
274272
}
275273
```
276274

277275
* density0 (float): Rest density of the corresponding fluid.
278276

277+
##### Particle Coloring
278+
279+
* colorField (string): Choose vector or scalar field for particle coloring.
280+
* colorMapType (int): Selection of a color map for coloring the scalar/vector field.
281+
- 0: None
282+
- 1: Jet
283+
- 2: Plasma
284+
* renderMinValue (float): Minimal value used for color-coding the color field in the rendering process.
285+
* renderMaxValue (float): Maximal value used for color-coding the color field in the rendering process.
286+
279287
##### Viscosity
280288

281289
* viscosityMethod (int): Viscosity method
@@ -320,4 +328,11 @@ Example code:
320328
- 1: Becker & Teschner 2007
321329
- 2: Akinci et al. 2013
322330
- 3: He et al. 2014
323-
* surfaceTension (float): Coefficient for the surface tension computation
331+
* surfaceTension (float): Coefficient for the surface tension computation
332+
333+
##### Emitters
334+
335+
* maxEmitterParticles (int): Maximum number of particles the emitter generates. Note that reused particles (see below) are not counted here.
336+
* emitterReuseParticles (bool): Reuse particles if they are outside of the bounding box defined by emitterBoxMin, emitterBoxMax
337+
* emitterBoxMin (vec3): Minimum coordinates of an axis-aligned box (used in combination with emitterReuseParticles)
338+
* emitterBoxMax (vec3): Maximum coordinates of an axis-aligned box (used in combination with emitterReuseParticles)

doc/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ SPlisHSPlasH currently consists of different simulators and tools which are intr
66

77
## Simulators
88

9-
### StaticBoundaryDemo
9+
### StaticBoundarySimulator
1010

11-
This application reads a SPlisHSPlasH scene file and performs a simulation of the scene. It assumes that only static boundary objects are in the scenario which increases the performance. If you want to simulation dynamic boundaries, you can use "DynamicBoundaryDemo".
11+
This application reads a SPlisHSPlasH scene file and performs a simulation of the scene. It assumes that only static boundary objects are in the scenario which increases the performance. If you want to simulation dynamic boundaries, you can use "DynamicBoundarySimulator".
1212

1313
The scene file format is explained [here.](file_format.md)
1414

15-
### DynamicBoundaryDemo
15+
### DynamicBoundarySimulator
1616

17-
This application can also simulate SPlisHSPlasH scenes but in contrast to the StaticBoundaryDemo it can handle dynamic boundaries. The dynamic rigid bodies are simulated using our [PositionBasedDynamics library](https://github.com/InteractiveComputerGraphics/PositionBasedDynamics) which is automatically included in the build process. If a scene only contains static bodies, you should use "StaticBoundaryDemo" since it is faster.
17+
This application can also simulate SPlisHSPlasH scenes but in contrast to the StaticBoundarySimulator it can handle dynamic boundaries. The dynamic rigid bodies are simulated using our [PositionBasedDynamics library](https://github.com/InteractiveComputerGraphics/PositionBasedDynamics) which is automatically included in the build process. If a scene only contains static bodies, you should use "StaticBoundarySimulator" since it is faster.
1818

1919
The scene file format is explained [here.](file_format.md)
2020

0 commit comments

Comments
 (0)