Add an optional side drag at walls#169
Add an optional side drag at walls#169angus-g wants to merge 1 commit intomom-ocean:dev/masterfrom angus-g:side-drag
Conversation
|
Whoops, this doesn't build because I got the rebase a little bit wrong. |
This may be useful for idealised experiments where no topography is present, to investigate the influence of boundary conditions. This applies a drag at the boundary of ocean/land cells.
|
I'm not sure how much this overlaps with |
|
|
Important clarification: when Bob said "Since the SIDE_DRAG keys off of the Dr Alistair Adcroft (Alistair.Adcroft@noaa.gov) On Tue, May 5, 2015 at 9:55 AM, Robert Hallberg notifications@github.com
|
|
Thanks for the feedback. I didn't realise With regard to the masking, my intention was to calculate the stress only at q-points lying on the coastline, with the need to flip the sign of the stress depending on whether this q-point is oriented to the left or right of the v-point to which it applies (for the drag_stress_u = vel_gam * u_loc * (G%mask2dCu(I,j) - G%mask2dCu(I,j+1))
drag_stress_v = vel_gam * v_loc * (G%mask2dCv(i,J) - G%mask2dCv(i+1,J))This seems correct to me, but I'll follow up this comment with more evidence. At first glance, no stress will be applied in a concave corner (but there are no unique velocity points to which it would be applied in this case anyway). At a convex corner, Finally, thanks for the pointer on the indexing convention. I had noticed it and tried to work it out, but it seems so obvious now! Maybe that could be added to the wiki somewhere? |
|
Angus, We are aiming to document a great deal of MOM6 via a software known as I recommend that for your documentation work, that you also use Doxygen. Best, On Tue, May 5, 2015 at 7:34 PM, Angus Gibson notifications@github.com
Dr. Stephen M. Griffies |
drag_stress_v = vel_gam * v_loc * (G%mask2dCv(i,J) - G%mask2dCv(i+1,J)) |
|
Angus, Based on the email exchange, I'll close this PR and wait to see what you work out with Bob. -A. |
- The cloud people want want daily max of BLD defined by ePBL. - Closes mom-ocean#169.
…n_code_LBD Delete forgotten code
…20260112 update MOM6 to its main repo. 20260112 updating
This adds a
SIDE_DRAGparameter which applies a stress proportional to velocity at the wall, through the drag coefficientSIDE_DRAG_CD. I've been using this in idealised experiments with flat topography to confirm some WBC separation results with varying lateral boundary conditions. This scheme is disabled by default so there should be no answer changes.