I'm currently working on implementing latitude-varying air pressure in my ROMS model to create a pressure gradient for driving geostrophic currents. To achieve this, I've constructed the air pressure in the ana_pair.h file as follows:
Code: Select all
#elif defined SHALLOW || SHALLOWNI
Cor_freq = -1.182E-05_r8
Tilt_pressure = -0.05_r8*Cor_freq*rho0*111.2_r8*1000_r8
Mid_lat = -4.6741
Mid_pressure = 1013.25_r8
DO j=JstrT,JendT
DO i=IstrT,IendT
Lat_move = latr(i,j)-Mid_lat
/*0.01 for 1 pa = 0.01 mbar*/
Pair(i,j)= Mid_pressure + 0.01_r8*Tilt_pressure*Lat_move
END DO
END DO
Does anyone have insights into why this strange pressure bump might be occurring at the south boundary? I would greatly appreciate any thoughts or suggestions on how to address this issue.
Thank you for your assistance!
Hsin-Yi Chen