MAIA bb96820c
Multiphysics at AIA
|
The goal of this quickstart tutorial is to get you started with m-AIA as fast as possible, so that you as a user can start applying the solver to testcases or tutorials and then to your specific problem without going into much detail about how m-AIA actually works under the hood.
You can quickly start installing and using m-AIA by first cloning the repository (repo) of m-AIA, second configuring m-AIA, third compiling m-AIA and fourth running your first simulation, e.g. a testcase or tutorial.
Clone the repo of m-AIA: For this step git is used.
Open the terminal on the machine where you want to install and use m-AIA.
If you want to isolate your m-AIA simulation project(s), create a folder (yourFolder
) where you want to clone the repository (yourRepoDirectory
) and change the directory to this folder:
Clone the m-AIA repo:
Change the directory to the downloaded Solver
folder and switch to the desired branch you want to work with:
Configure m-AIA: For this step Python 3.X is required.
Run the configure.py
file in the top directory (Solver
folder) using the default settings indicated as ? ?
:
The print message on the console should look like this:
Compile m-AIA: For this step CMake is used.
Run the Makefile
in the top directory (Solver
folder) to compile m-AIA:
Tip: You can use the following command to compile m-AIA in parallel using noCores
processors:
This process can take some minutes even when using multiple cores. The print message on the console should look like this:
As a test, if m-AIA is compiled open m-AIA's help:
Run your first simulation with m-AIA: For this step a testcase or tutorials can be used as your first simulation project.
Go to your simulation project and create a link to the compiled m-AIA executable of step 3:
As a test, check if the link is successfully created by opening m-AIA's help:
Run the simulation:
By utilizing OpenMPI you can run the simulation in parallel using noCores
processors:
Test cases need reference data, which are relatively large compared to the source code. Therefore, we do not keep the test cases in the git for m-AIA. Consequently, testcases only are available only upon request or for AIA users at the moment.
Get m-AIA tools useful for preprocessing and postprocessing: https://git.rwth-aachen.de/aia/MAIA/tools
The following graphic has to be updated: unstructured vs. structured