Skip to content

Conversation

@pwolfram
Copy link
Contributor

@pwolfram pwolfram commented Apr 14, 2020

Enables land inundation for 4km, 2km, 1km Hurricane Sandy case

Includes the following more generalized features:

  • variable drag (*_variable_drag.xml)
  • use of wetting and drying for land inundation (*_wetting_drying_template.xml)
  • use of an AM to compute max water levels (maxwaterlevel_template.xml)

Removes unneeded vertical coordinate shift
@pwolfram
Copy link
Contributor Author

@mark-petersen, only *.F change is to src/core_ocean/mode_init/mpas_ocn_init_hurricane.F to remove some unneeded lines, otherwise PR is COMPASS only.

@pwolfram
Copy link
Contributor Author

Note, case has not been explicitly tuned for accuracy against buoys or computational performance.

@pwolfram
Copy link
Contributor Author

Subset of #366

@pwolfram
Copy link
Contributor Author

pwolfram commented Apr 14, 2020

Note, SAL is likely still broken and is turned off.

@pwolfram
Copy link
Contributor Author

Testing

8534720
8557380
8571421
8636580

8537121

Results are quite reasonable, even for a relatively low resolution of 4km.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mark-petersen, if you can approve this merge into the MPAS-O fortran code, we can merge this in after @sbrus89 verifies it compiles and produces reasonable results for him.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are only about 6 lines and they remove changes needed to account for the fix you did ensuring we can run with layers above mean sea level.

Copy link

@sbrus89 sbrus89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good at this point; the main comment I have is that there needs to be a define_base_mesh.py file. We can also discuss whether the forward_RK4 step should be renamed forward.

@pwolfram pwolfram force-pushed the coastal/4km_wetting_drying branch from ff5bb2e to 990bc07 Compare April 14, 2020 23:20
Includes the following more generalized features:
 * variable drag (*_variable_drag.xml)
 * use of wetting and drying for land inundation (*_wetting_drying_template.xml)
 * use of an AM to compute max water levels (maxwaterlevel_template.xml)
@pwolfram pwolfram force-pushed the coastal/4km_wetting_drying branch from 990bc07 to dc79a0c Compare April 14, 2020 23:23
@sbrus89
Copy link

sbrus89 commented Apr 16, 2020

@pwolfram, I ran the case and the results agree with yours. The only thing that seems off to me is the runtime. My job timed out after 4 hours with about an hour of simulation time left. It sounds like things are running a lot faster for you.

@pwolfram
Copy link
Contributor Author

Can you please retry with salloc -N 2 --time=04:00:00 --qos=interactive? This is how I've been testing that one.

@pwolfram pwolfram changed the title Adds in coastal flooding case to 4km Hurricane Sandy Adds in coastal flooding case to Hurricane Sandy Apr 16, 2020
Builds off 2km Hurricane Sandy workflow
@pwolfram
Copy link
Contributor Author

2km case

No tuning past prior parameters for non-wetting and drying 2km case on commit 2bb2e67dfaf553db65bf2dbcaf41858f773f4ef9:

8534720
8537121
8557380
8636580
8510560

@pwolfram
Copy link
Contributor Author

@sbrus89, can you please also test the 2km case too? You'll probably need 10 nodes for 6 hrs. Mine ran for 4 hrs and timed out before it finished for the plots above.

@pwolfram pwolfram changed the title Adds in coastal flooding case to Hurricane Sandy Adds in coastal flooding cases (Hurricane Sandy and synthetic) Apr 16, 2020
@pwolfram pwolfram force-pushed the coastal/4km_wetting_drying branch from c847270 to 315104a Compare April 18, 2020 19:50
@pwolfram pwolfram changed the title Adds in coastal flooding cases (Hurricane Sandy and synthetic) Adds in coastal flooding cases (Hurricane Sandy) Apr 18, 2020
Copy link
Contributor

@mark-petersen mark-petersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. If you guys are happy with this case, then go ahead and merge.

@pwolfram pwolfram force-pushed the coastal/4km_wetting_drying branch from 315104a to be0e74e Compare April 21, 2020 01:51
@pwolfram
Copy link
Contributor Author

@sbrus89, the 1km should be ready to test. It is on the queue for me (previous one was ok but time was too short). We should merge this week if possible.

@pwolfram
Copy link
Contributor Author

Note, this only considers Hurricane Sandy right now and no synthetic winds.

@pwolfram
Copy link
Contributor Author

1km testing

8534720
8537121
8557380
8573364
8631044
8632200

@pwolfram
Copy link
Contributor Author

@sbrus89, as far as I'm concerned we can merge this after you double check that it works for you. Results are improved overall, although obviously some tuning could occur, which is likely an issue of resolution as well as bottom drag.

@sbrus89
Copy link

sbrus89 commented Apr 22, 2020

Other than the minor change I suggested above, this is ready to go.

@sbrus89
Copy link

sbrus89 commented Apr 27, 2020

@pwolfram, should we get this merged this week?

Builds off 1km Hurricane Sandy workflow
@pwolfram pwolfram force-pushed the coastal/4km_wetting_drying branch from be0e74e to d99009e Compare April 30, 2020 15:26
@pwolfram
Copy link
Contributor Author

@sbrus89, can you please approve so I can merge? I think higher-res results should be in a separate PR, especially if a different bathymetry dataset is needed. Thanks!

@sbrus89 sbrus89 self-requested a review April 30, 2020 19:38
Copy link

@sbrus89 sbrus89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the great work on this, @pwolfram.

@pwolfram pwolfram merged commit 52dc6da into MPAS-Dev:ocean/coastal Apr 30, 2020
@pwolfram pwolfram deleted the coastal/4km_wetting_drying branch April 30, 2020 19:57
@pwolfram
Copy link
Contributor Author

Thanks @sbrus89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants