Commit 614b39f3 authored by Lina Kulakova's avatar Lina Kulakova
Browse files

Add README

parent 9fe4f1e5
This folder contains scripts for running RBC (in shear flow or stretching) postprocessing and producing RBC pictures.
Submitting simulations (shear flow and stretching).
Use run_from_file.py to submit your RBC simulations. The file points.txt should be located in the same directory as run_from_file.py. The script reads parameter values from points.txt. If no value is specified, the default one is set. The names of the parameters are the same as in udx.
Postprocessing the simulations (shear flow).
1. Go to scripts/ folder and run: python setup.py --install. This will install post.py and related files into you python path. Go back to tools/.
2. Run gen_links.sh (see details on how to run in the script file) to create a directory structure with symbolic links to your runs.
3. Now you can run run_post.sh with your links directory (see details on how to run in the script file). This will launch post.py to compute the tank-treading frequency (TTF) and save it in post.txt file in the corresponding run directory.
Visualising the results (shear flow).
1. The results of all the shear flow runs which were made so far are stored in data/post.f80.txt file. (Need to manually gather results from post.txt files).
2. scripts/ttf.gp searches for data in data/post.f80.txt (you should specify all the same parameters, except for the shear flow) and computed the slope of the TTF.
3. scripts/ttf.gc.gp plots the dependence of TTF from gammaC.
Postprocessing the simulations (stretching).
1. scripts/diam.py computes the 2 stretching diameters given the ply folder.
Visualising the results (stretching).
1. scripts/fit_diam.gp fits the RBC diameters with a smooth curve (see RBC paper or Lina's thesis).
2. scripts/fit_diam_par.gp constructs a surrogate for the smooth curve parameters (see RBC paper or Lina's thesis).
# symlincs directory generated by gen_links.sh
d=grid/links.daint
for f in `find -L $d -mindepth 9 -maxdepth 9 -name 'params.txt' | sort`; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment