I run the SEAMOUNT case, but the seamount shape could not be found when the flow field (temperature, u, v) was plot. can someone know how to obtain the seamount shape in the seamount.h or ocean_seamount.in.
thankyou very much!
seamount
Re: seamount
How are you plotting it? Your plotting tools need to know about the z coordinate stretching.
The depth is set in ana_grid.h:
The depth is set in ana_grid.h:
Code: Select all
#elif defined SEAMOUNT
DO j=JstrT,JendT
DO i=IstrT,IendT
val1=(xr(i,j)-0.5_r8*Xsize)/40000.0_r8
val2=(yr(i,j)-0.5_r8*Esize)/40000.0_r8
h(i,j)=depth-4500.0_r8*EXP(-(val1*val1+val2*val2))
END DO
END DO
Re: seamount
Thankyou for your help! i want to create a flow from west to east with a constant eastward flow velocity of 0.5m/s for this seamount case. so i set a Cla boundary condition on western side and Rad boundary condition on eastern side (LBC(isUvel)== Cla Clo Rad Clo !3D u-momentum). The flow velocity was given through ANA_M3OBC (the velocity was 0.5). the details are as follows,
#if defined SEAMOUNT
IF (LBC(iwest,isUvel,ng)%acquire.and. &
& LBC(iwest,isVvel,ng)%acquire.and. &
& DOMAIN(ng)%Western_Edge(tile)) THEN
DO k=1,N(ng)
DO j=JstrT,JendT
BOUNDARY(ng)%u_west(j,k)=0.5_r8
END DO
DO j=JstrP,JendT
BOUNDARY(ng)%v_west(j,k)=0.0_r8
END DO
END DO
END IF
i want to know what i have set is right or wrong to realize the constant eastward flow? the results shows the velocity is very small and the flow is also irregular, i hope someone can help me make the right set. thankyou very much!
#if defined SEAMOUNT
IF (LBC(iwest,isUvel,ng)%acquire.and. &
& LBC(iwest,isVvel,ng)%acquire.and. &
& DOMAIN(ng)%Western_Edge(tile)) THEN
DO k=1,N(ng)
DO j=JstrT,JendT
BOUNDARY(ng)%u_west(j,k)=0.5_r8
END DO
DO j=JstrP,JendT
BOUNDARY(ng)%v_west(j,k)=0.0_r8
END DO
END DO
END IF
i want to know what i have set is right or wrong to realize the constant eastward flow? the results shows the velocity is very small and the flow is also irregular, i hope someone can help me make the right set. thankyou very much!
Re: seamount
What are your ubar boundary conditions? You need to set up a consistent ubar for ANA_M2OBC.
Re: seamount
kate, thankyou i got the expected flow field.