hines_91@osu_edu
New Member
Hi, I want to run a simulation in which I damp the zonal (u) component towards a prescribed field.
This would be similar to d u / d t = [CAM physics] - C ( u - u_prescribed)
However, I would prefer this to work on the instantaneous ***zonal mean*** rather than the instantaneous ***local value*** of u. This is where the difficulty comes in. I think I know how to do this for the local value of u - thought about using gw_drag.F90 since that has the zonal wind component and computes a u-tendency term there that could be added to. Plus, the zonal mean could be computed easily enough in non-parallel run, The catch is how to do this in a parallel (reduced domain) run? I've been running with 16 or 32 processors. I need results in short order and can't wait months and months for a non-parallel run to finish. Is there a subroutine in which the entire u-field is recomposed (so I can compute zonal means) rather than the subdivided parallel grid? Is there some other way I can compute a zonal mean in a parallel (fast) run? Does the spectral decomposition (for the non-horizontal-grid-point part of the code) provide any assistance?
Thanks for any advice!
This would be similar to d u / d t = [CAM physics] - C ( u - u_prescribed)
However, I would prefer this to work on the instantaneous ***zonal mean*** rather than the instantaneous ***local value*** of u. This is where the difficulty comes in. I think I know how to do this for the local value of u - thought about using gw_drag.F90 since that has the zonal wind component and computes a u-tendency term there that could be added to. Plus, the zonal mean could be computed easily enough in non-parallel run, The catch is how to do this in a parallel (reduced domain) run? I've been running with 16 or 32 processors. I need results in short order and can't wait months and months for a non-parallel run to finish. Is there a subroutine in which the entire u-field is recomposed (so I can compute zonal means) rather than the subdivided parallel grid? Is there some other way I can compute a zonal mean in a parallel (fast) run? Does the spectral decomposition (for the non-horizontal-grid-point part of the code) provide any assistance?
Thanks for any advice!