DOI-USGS / COAWST

COAWST modeling system git repository
Other
100 stars 48 forks source link

SWAN nested boundary issue #242

Closed rececilio closed 3 months ago

rececilio commented 3 months ago

Hello. The NE and SW corners of my child grid seem to remain closed for both income and outcome energy. Time step size, number of iterations, STOPC criteria and windgrowth did not affect it. Neither running it for longer periods. Any suggestions? Thank you. Hwave

jcwarner-usgs commented 3 months ago

is this a swan only application? is the child grid area the little blue box with the white island dot in it? what is the bathy of the child? can u post the 2 swan input files?

rececilio commented 3 months ago

No. Coupled ROMS-SWAN. No. Corners are in red in the new figure. Bathy added (between 5 and 200m). Input files Swan Ocean and Swan Shelf added. Bat Hwave2 swanS_ctg.txt swanO_ctg.txt

jcwarner-usgs commented 3 months ago

ok. i am not really sure. the swan child seems fine along most of the bnry. here are some things to consider.

-what does Dwave look like?

-you have no winds. so this is basically bndry waves propagate in from the coarser grid. do they change much?

-and try one with out the CCM, just do COORD SPHERICAL i am not sure if that is doing anything strange. just trying some options here.

-1800s is kinda big. try 180.

rececilio commented 3 months ago

Dwave shows the same "blockage". Most of the suggestions I had already tried: no luck. The H limiter is very shallow (3m). BNDCHK showed the difference between the input and the actual boundary value, but only in the parent grid. CCM is the default, I tried without and with QC. Got a minor change in the parent boundary with QC, but nothing else.

How the exchange between grids is done (contact.m, scrip)? In Swan there is a command just for that (not in Coawst). Where can I check this? Is there any limitation for the boundary? (both blockages seem the exact same size)

jcwarner-usgs commented 3 months ago

can u show me a pcolor of Dwave? what if you have no boundary tpar files, and tried wind 10 0. what does that look like? please try it.

rececilio commented 3 months ago

FOUND IT! The .grd file cannot have the EXC -9999 data. Sorry, and thank you very much for your time!