Image

In this example we consider the micromodel described in the configuration file section.

The image is available in the examples folder in the Github page with the default name ‘microsystem.png’. The configuration file corresponds to the one in the configuration file section and it is saved as ‘parameters.txt’ (the default name for the configuration file). Since ‘image’ is the default entry for the simulation setup (i.e., the flow is from top to bottom), and assuming that the command ‘gmsh’ in the terminal executes Gmsh, then to run the whole framework (meshing, flow, and tracer) it is enough to add the ‘-t all’ command line to the pymm executable:

pymm -t all

The execution time was ca. 20 minutes and the following are screenshots of the simulation results:

_images/pressure.png
_images/velocity.png
_images/tracer.png

Simulation results of the (top) pressure, (middle) velocity, and (bottom) tracer concentration.