From b3af9fd66f51464803b7f2620eadc9e40fcad8d9 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 31 Mar 2022 10:54:28 +0200 Subject: [PATCH] Add swash with timeseries on 1 layer --- swash/config-ts.ini | 14 ++++++++++ swash/sws/TS_buoy.sws | 59 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 swash/config-ts.ini create mode 100644 swash/sws/TS_buoy.sws diff --git a/swash/config-ts.ini b/swash/config-ts.ini new file mode 100644 index 0000000..481de09 --- /dev/null +++ b/swash/config-ts.ini @@ -0,0 +1,14 @@ +[data] +out=../data/out + +[swash] +input=sws/TS_buoy.sws +path=/data/code/swash +out=out/ts_nolay +mpi=8 + +[post] +inp=inp_post/ts_nolay +out=out_post/ts_nolay +x0=-1250 +t0=180 diff --git a/swash/sws/TS_buoy.sws b/swash/sws/TS_buoy.sws new file mode 100644 index 0000000..f9e12f0 --- /dev/null +++ b/swash/sws/TS_buoy.sws @@ -0,0 +1,59 @@ +$************************* GENERAL *************************************** +PROJ 'GW' 'T1' +SET NAUT +SET LEVEL 4.5 +SET MAXERR 1 +$SET DEPMIN 0.001 +MODE NONST ONED +$************************ GRIDS *************************************** +CGRID REG -1450 0 0 1750 0 1750 0 +INPGRID BOT REG -1450 0 0 1750 0 1 0 $x0 y0 theta nx-1 ny-1 dx dy +$VERT 2 +READ BOTTOM -1 'bathy.dat' 3 0 FREE + +INPGRID PORO REG -1450 0 0 1750 0 1 0 +INPGRID PSIZ REG -1450 0 0 1750 0 1 0 +INPGRID HSTRUC REG -1450 0 0 1750 0 1 0 + +READINP PORO 1 'poro.dat' 3 0 FREE +READINP PSIZ 1 'psize.dat' 3 0 FREE +READINP HSTRUC 1 'hstru.dat' 3 0 FREE + + +$*********************** BOUNDARIES **************************************** +INIT ZERO +BOUN SIDE W BTYPE WEAK SMOOT 10 SEC ADDBOUNDWAVE CON SERIES 'ts.dat' +SPON E 250 + + +$*********************** PHYSICS ******************************************* +BRE 0.6 0.2 +FRICTION MANN 0.08 +POROsity 4 200 1.1 13 +VISC V KEPS + +$*********************** NUMERICS ****************************************** +NONHYD BOX 1.0 PREC ILU +DISCRET UPW MOM +TIMEI 0.2 0.6 + +$*********************** OUTPUTS ******************************************* +SET OUTLEV 1 +$BLOCK 'COMPGRID' HEAD 'test.txt' LAY 4 TSEC XP DEP BOTL WATL PRESS DISCH USTAR VEL VZ VELK ZK BRKP OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'tsec.dat' TSEC OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'xp.dat' XP OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'dep.dat' DEP OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'botl.dat' BOTL OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'watl.dat' WATL OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'press.dat' PRESS OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'nhprsk.dat' NHPRSK OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'pressk.dat' PRESSK OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'disch.dat' DISCH OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'ustar.dat' USTAR OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'vel.dat' VEL OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'vz.dat' VZ OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'velk.dat' VELK OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'zk.dat' ZK OUTPUT 000000.00 0.25 SEC +BLOCK 'COMPGRID' NOHEAD 'brkp.dat' BRKP OUTPUT 000000.00 0.25 SEC +COMPUTE 000000.000 0.015 SEC 002500.000 $timeini dtini unit timefin +STOP