Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Passing wind stress from mediator to wav component

paulhall

Paul Hall
Member
Paul - I've send a meeting invite to you and Jim for 9ET/7MT today. I can make it later if that's too early for Jim. Also - have a look at the following:

New code:
/glade/u/home/mvertens/src/cesm.paulhall/components/cmeps/mediator
modified: esmFldsExchange_cesm_mod.F90
modified: med_phases_aofluxes_mod.F90
modified: med_phases_prep_wav_mod.F90

You can also see the coupler history output in the following files:
/glade/scratch/mvertens/g.23b11.GMOM_JRA_WD.tw.007/run
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:01 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-03600.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:02 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-07200.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:02 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-10800.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:02 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-14400.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:02 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-18000.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:03 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-21600.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:03 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-25200.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:03 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-28800.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:03 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-32400.nc
-rw-r--r-- 1 mvertens ncar 560814040 May 11 08:04 g.23b11.GMOM_JRA_WD.tw.007.cpl.hi.0001-01-01-36000.nc

You can compare ocnExp_Foxx_taux and wavExp_Fwxx_taux (currently there is Fioi_taux being merged into the wave)
Great! Thanks Mariana! I'll see you at 9ET/7MT. Should I use the link Jim sent yesterday, or is there a new link?
 

paulhall

Paul Hall
Member
Mariana and Jim - Thanks again for taking the time to meet earlier today, and for all of your help with this. I have created a new issue in the CMEPS repo, as you suggested, to raise the issue of passing fluxes to the wave component. Let me know if I can provide any more information, or help in any way.
 

MarianaV

Mariana Vertenstein
New Member
Paul - I have a new CMEPS PR add new optional mapping of taux and tauy from ocean to wave by mvertens · Pull Request #382 · ESCOMP/CMEPS
that you can use directly in your code base in order to have the right behavior. However you will also need to have the following line now activated in your code base.
call fldlist_add(fldsToWav_num, fldsToWav, 'Fwxx_tauy' )
If you see the documentation in the PR above - BOTH Fwxx_tauy and Fwxx_taux need to be advertise from ww3 in order for the stresses to be mapped to the wave grid from the ocean grid.
My hope is that this PR can be merged into ESCOMP CMEPS as soon as one more review is done.
 

paulhall

Paul Hall
Member
Paul - I have a new CMEPS PR add new optional mapping of taux and tauy from ocean to wave by mvertens · Pull Request #382 · ESCOMP/CMEPS
that you can use directly in your code base in order to have the right behavior. However you will also need to have the following line now activated in your code base.
call fldlist_add(fldsToWav_num, fldsToWav, 'Fwxx_tauy' )
If you see the documentation in the PR above - BOTH Fwxx_tauy and Fwxx_taux need to be advertise from ww3 in order for the stresses to be mapped to the wave grid from the ocean grid.
My hope is that this PR can be merged into ESCOMP CMEPS as soon as one more review is done.
Thanks Mariana! This is extremely helpful!
 
Top