Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

How to check the domain ID in dyn_em/solve.F?


I added a subroutine in the dyn_em/solve. F which will be used once in each time step. This program is running well when I only have domain d01.
But when I ran the nesting domain, there is something wrong when initializing nest domain
So I wish my program can only be used in domain d01.
The WRF model I am using is V3.7.1 with vortex following.
How to check the domain ID in dyn_em/solve.F?
How can I tell which region the subroutine is running in?


  • rsl.error.0000
    125.1 KB · Views: 1
  • namelist.input
    9.1 KB · Views: 0
In solve_em.F, 'grid' is a dummy argument passed into the subroutine. solve_em.F. grid%id tells which idle domain is currently used.