Olaflow with timeseries output

This commit is contained in:
Edgar P. Burkhart 2022-05-03 09:14:06 +02:00
parent 0b5f8be42a
commit 99e271e902
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
6 changed files with 28 additions and 24 deletions

View file

@ -1,5 +1,5 @@
[swash]
np_out=../swash/inp_post/real_spec_interp
np_out=../swash/inp_post/ts_4lay_1h
[bathy]
bathy=../data/out_of/bathy.dat
@ -12,11 +12,11 @@ level=4.5
path=/opt/OpenFOAM/OpenFOAM-9/bin:/opt/OpenFOAM/OpenFOAM-9/platforms/linux64GccDPInt32Opt/bin
root=of
out=out_of
t0 = 13900
tf = 14300
t0 = 1300
tf = 1900
x0 = -150
[post]
out = out_post
out = out_post_ts_2
x = -50
z = 5

View file

@ -17,8 +17,8 @@ FoamFile
// Materials: clear region, core, secondary armour layer, primary armour layer
// a,b,c: tuning parameters
a 2(0 50);
b 2(0 1.2);
a 2(0 5000);
b 2(0 2.0);
c 2(0 0.34);
// D50: mean nominal diameter

View file

@ -24,7 +24,7 @@ startTime 0;
stopAt endTime;
endTime 400;
endTime 600;
deltaT 0.1;

View file

@ -87,4 +87,4 @@ with plt.rc_context(
loc="center left",
)
plt.show()
fig.savefig(out.joinpath("fig.pdf"))

View file

@ -31,4 +31,8 @@ reconstructPar > log/reconstructPar.log
#echo Removing parallel cases
#rm -r processor*
popd
echo Pickling Olaflow output
python -m processing.pickle -o $out
echo END