Commit c388ed20 authored by Tom Fischer's avatar Tom Fischer
Browse files

Some unrelated changes.

parent e7cb7752
......@@ -6,7 +6,6 @@ import numpy as np
from numpy import genfromtxt
import pylab
import pandas as pd
from scipy import stats
df = pd.read_csv(sys.argv[1], header=None)
......@@ -16,3 +15,4 @@ print('deviation: ' + str(df.iloc[:,0].var()))
print('min: ' + str(df.iloc[:,0].min()))
print('max: ' + str(df.iloc[:,0].max()))
print(df.describe())
top_bottom_boundary_condition_domains.txt
\ No newline at end of file
top_left_boundary_condition_domains.txt
\ No newline at end of file
......@@ -10,5 +10,6 @@ import pandas as pd
df = pd.read_csv(sys.argv[1], header=None, sep=' ')
df.columns = ['experiment', 'first boundary', 'second boundary', 'first bc type', 'second bc type', 'balance value']
print(df.sort_values(by=['second boundary']))
print(df[(df['balance value'].abs()>=0.00001)])
print(df[(df['balance value'].abs()<0.00001)])
......@@ -5,8 +5,8 @@ nx=10000
ny=10000
nz=300
# number of subdivisions per space dimension
lx=1000
ly=1000
lx=100
ly=100
lz=3
current_dir=`pwd`
......@@ -16,6 +16,6 @@ data_dir=~/tmp/flux_analysis
#./runTestModels.sh ${data_dir} ${lx} ${ly} ${lz} ${nx} ${ny} ${nz} |& tee /tmp/log_run.txt
#./calculateBalancesOfTestModels.sh ${data_dir} ${lx} ${ly} ${lz} ${nx} ${ny} ${nz} |& tee /tmp/log_balance.txt
cd ${data_dir}
~/w/scripts/model_generation/LF_flux_test_models/balance_overview.sh
cd ${current_dir}
#cd ${data_dir}
#~/w/scripts/model_generation/LF_flux_test_models/balance_overview.sh
#cd ${current_dir}
Markdown is supported
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