From ffdc0fbc37ae2d52ee1cb9c27cd19cab57bf12e4 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Wed, 6 Apr 2022 10:38:27 +0200 Subject: [PATCH] Swash output binary matlab --- swash/sws/SPEC_buoy.sws | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/swash/sws/SPEC_buoy.sws b/swash/sws/SPEC_buoy.sws index 7d10a9b..9b67115 100644 --- a/swash/sws/SPEC_buoy.sws +++ b/swash/sws/SPEC_buoy.sws @@ -3,12 +3,12 @@ PROJ 'GW' 'T1' SET NAUT SET LEVEL 4.5 SET MAXERR 1 -$SET DEPMIN 0.001 +SET DEPMIN 0.01 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 +VERT 4 READ BOTTOM -1 'bathy.dat' 3 0 FREE INPGRID PORO REG -1450 0 0 1750 0 1 0 @@ -22,8 +22,7 @@ READINP HSTRUC 1 'hstru.dat' 3 0 FREE $*********************** BOUNDARIES **************************************** INIT ZERO -BOUN SHAP JON SIG PEAK DSPR DEGR -BOUN SIDE W BTYPE WEAK SMOOT 10 SEC ADDBOUNDWAVE CON SPECT 7.31 16.9 0 0 CYCLE 20 MIN +BOUN SIDE W BTYPE WEAK SMOOT 10 SEC ADDBOUNDWAVE CON SPECFILE 'spec.dat' SPON E 250 @@ -40,21 +39,6 @@ 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 +BLOCK 'COMPGRID' NOHEAD 'out.mat' LAY 3 TSEC XP DEP BOTL WATL PRESS NHPRSK PRESSK VEL VZ VELK ZK OUTPUT 000000.00 0.25 SEC +COMPUTE 000000.000 0.015 SEC 000100.000 $timeini dtini unit timefin STOP