1
Fork 0

Update swash input

This commit is contained in:
Edgar P. Burkhart 2022-03-29 11:39:02 +02:00
parent 96bb678081
commit cf86f96c23
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 5 additions and 4 deletions

View file

@ -133,4 +133,5 @@ np.savetxt(out_root.joinpath("psize.dat"), psize[::-1], newline=" ")
fig, ax = plt.subplots()
ax.plot(-x, z, color="k")
ax.fill_between(-x, z + hstru, z, color="k", alpha=0.2)
ax.set_title(f"N={z.size-1}, x=[{-x.max()};{-x.min()}]")
fig.savefig(out_root.joinpath("bathy.pdf"))

View file

@ -4,11 +4,11 @@ out=../data/out
[swash]
input=sws/SPEC_buoy.sws
path=/data/code/swash
out=out/spec
out=out/spec_ot
mpi=8
[post]
inp=inp_post/spec
inp=inp_post/spec_ot
compare=inp_post_nb
out=out_post
#nperseg=1024

View file

@ -6,8 +6,8 @@ SET MAXERR 1
SET DEPMIN 0.001
MODE DYN ONED
$************************ GRIDS ***************************************
CGRID REG -1450 0 0 1450 0 1450 0
INPGRID BOT REG -1450 0 0 1450 0 1 0 $x0 y0 theta nx-1 ny-1 dx dy
CGRID REG -1450 0 0 1600 0 1600 0
INPGRID BOT REG -1450 0 0 1600 0 1 0 $x0 y0 theta nx-1 ny-1 dx dy
VERT 10 $nb couches
READ BOTTOM -1 'bathy.dat' 3 0 FREE