Because github pages are publicly accessible, I moved the documentation to the "doc" branch. To download the documentation either
Download the zip file from the "doc" branch
clone the repo with
git clone -b doc http:// https://personal_access_token@github.com/lukaskiwitz/thesis
To clone the repo from the cli you will need to set up a personal acces token in your github settings. Then you can download any update with
git pull
make html
When done open index.html
in your web browser to access the title page.
Install anaconda:
https://www.anaconda.com/products/individual
Run
conda env create -f fenics.yml -n "enviroment_name"
to create a new anaconda environment with the necessary packages. This could take a moment.
3.Run
conda activate "enviroment_name"
to activate the newly created environment.
4.Install the package using pip with
pip install wheel-file
if you got the wheel file or
pip install -e "repository_dir"
if you cloned this repository.
5.Run
conda env config vars set LD_LIBRARY_PATH=~/anaconda3/envs/enviroment_name/lib
and if you want to use paraview rendering
conda env config vars set PARAVIEW_PATH=~path_to_paraview_dir
to set up necessary environment variables.
6.Reactivate the conda environment to apply changes
conda activate enviroment_name
1.Create a copy of one of the folders in "example_scripts/" in a location of your choice.
2.Open the parameters.py file and edit the path variable at the bottom to point to the desired top level directoy for your simulation results. Note: If your are on the itb computers this will work well without a change.
3.Run
For simple models run
python run.py; python post_process.py number_of_threads;
For bigger scans a run_all.py and list_post_process.py is available. We recommend a HPC to run
python run_all.py; python list_post_process.py; python create_df.py; python combine_dfs.py
The first time any model is run it will need to
this may take some time. For large meshes this can be considerable (1h or so), but subsequent runs should be much faster.
Only works for simulation data generated with the current version
The cell type markers are floats and will be set according to "SimContainer.marker_lookup". SimContainer now has the "markers" attribute, which lists entity properties (parameters or python attributes) for which to export a MeshFunction. Assigment of non numerical values is controlled by marker_lookup.