the problems on WRF-ROMS coupling time

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
HONGWANG
Posts: 14
Joined: Wed Jan 19, 2022 1:52 pm
Location: UM

the problems on WRF-ROMS coupling time

#1 Unread post by HONGWANG »

Hello everyone. I have problems using the WRF-ROMS coupling to simulate a typhoon in the South China Sea and hope that you can provide answers and help.

The model configurations are as follows: WRF (nested D01_w and D02), ROMS (only D01_r). The Domain 2 starts 48 hours later than Domain 1_w in the WRF model. Our aim is to enable the coupled operation of the ROMS and the outer Domain of WRF (D01_w) at the same time. But now it seems that ROMS will only start calculating when D02 starts calculating.

Below are my header file and namelist file, and I also did the weight file using the two wrfinput files and the ocean grid file. I would be grateful if anyone could help me.

namelist.input:

Code: Select all

 &time_control
 run_days                            = 0,
 run_hours                           = 96,
 run_minutes                         = 0,
 run_seconds                         = 0,
 start_year                          = 2017, 2017, 2017, 2017,
 start_month                         = 08,   08,   08,  08,
 start_day                           = 20,   22,   22,  20,
 start_hour                          = 00,   00,   00,  00,
 end_year                            = 2017, 2017, 2017, 2017,
 end_month                           = 08,   08,   08,  08,
 end_day                             = 24,   24,   24,  25,
 end_hour                            = 00,   00,   00,  00,
 interval_seconds                    = 21600
ocean.in

Code: Select all

    ! Time-Stepping parameters.

      NTIMES == 11520
          DT == 30.0d0
     NDTFAST == 28
     
NBCFILES == 1                          ! number of boundary files

     BRYNAME == /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/bdy_20170820.nc   |
                /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/bdy_20170821.nc   |
                /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/bdy_20170822.nc   |
                /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/bdy_20170823.nc   |
                /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/bdy_20170824.nc
.h

Code: Select all

#define  ROMS_MODEL
#define WRF_MODEL
#undef  NESTING
#define  MCT_LIB
#define  MCT_INTERP_OC2AT
#define  ATM2OCN_FLUXES


coupling.in

Code: Select all

   NnodesATM =  18                   ! atmospheric model
   NnodesWAV =  0                   ! wave model
   NnodesOCN =  12                   ! ocean model
   NnodesHYD =  0                   ! hydrology model

! Time interval (seconds) between coupling of models.

  TI_ATM2WAV =   600.0d0              ! atmosphere to wave coupling interval
  TI_ATM2OCN =   600.0d0              ! atmosphere to ocean coupling interval
  TI_WAV2ATM =   600.0d0              ! wave to atmosphere coupling interval
  TI_WAV2OCN =   600.0d0              ! wave to ocean coupling interval
  TI_OCN2WAV =   600.0d0              ! ocean to wave coupling interval
  TI_OCN2ATM =   600.0d0              ! ocean to atmosphere coupling interval
  TI_OCN2HYD =     0.0d0              ! ocean to hydro coupling interval
  TI_HYD2OCN =     0.0d0              ! hydro to ocean coupling interval

! Enter names of Atm, Wav, and Ocn input files.
! The Wav program needs multiple input files, one for each grid.

   ATM_name = /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/namelist.input   ! atmospheric model
   WAV_name = /home/coawst/Build_COAWST/COAWST/Projects/Sandy/swan_sandy.in \
              /home/coawst/Build_COAWST/COAWST/Projects/Sandy/swan_sandy_ref3.in         ! wave model
!  WAV_name = ww3_grid.inp
   OCN_name = /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/wjh.in          ! ocean model
   HYD_name = /home/coawst/Build_COAWST/COAWST/Projects/Sandy/hydro.namelist           ! hydro model

! Sparse matrix interpolation weights files. You have 2 options:
! Enter "1" for option 1, or "2" for option 2, and then list the 
! weight file(s) for that option.

   SCRIP_WEIGHT_OPTION = 1
!
! Option 1: IF you set "SCRIP_WEIGHT_OPTION = 1", then enter name 
!           of the single netcdf file containing all the exchange
!           weights. This file is created using the code in
!           Lib/SCRIP_COAWST/scrip_coawst[.exe]

!  SCRIP_COAWST_NAME = Projects/Sandy/scrip_sandy_moving.nc
   SCRIP_COAWST_NAME = /home/coawst/Build_COAWST/COAWST/Projects/Hato/wjh/scrip_wh.nc
!  SCRIP_COAWST_NAME = Projects/Sandy/WW3/scrip_sandy_nowavenest.nc

Post Reply