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() fig, ax = plt.subplots()
ax.plot(-x, z, color="k") ax.plot(-x, z, color="k")
ax.fill_between(-x, z + hstru, z, color="k", alpha=0.2) 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")) fig.savefig(out_root.joinpath("bathy.pdf"))

View File

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

View File

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