Search found 3 matches

by yqli777
Thu Jan 06, 2022 9:13 am
Forum: ROMS Problems
Topic: Question about tracer routine
Replies: 4
Views: 9502

Re: Question about tracer routine

Hi John,
Thank you for your patient reply and clarification, and telling me exactly where the line is! My understanding of source code is much deeper!
Thanks again :D :D
by yqli777
Wed Jan 05, 2022 2:10 am
Forum: ROMS Problems
Topic: Question about tracer routine
Replies: 4
Views: 9502

Re: Question about tracer routine

Dr. Warner, Thank you for your reply! I'll look at step3d.F carefully. Now my understanding is that unit conversion between t(:,:,:.nnew.itrc) and t(:,:,:,nstp,itrc) is done only in step3d_t.F, while in ohter subroutines like sediment and biology, the unit of t(:,:,:,nnew,itrc) is always m*Tunit, Am ...
by yqli777
Tue Jan 04, 2022 2:04 pm
Forum: ROMS Problems
Topic: Question about tracer routine
Replies: 4
Views: 9502

Question about tracer routine

Hi all, Since I do not fully understand the tracer algorithm in ROMS, I have some question about the tracer routine. I know in pre_step3d.F(line 891): DO k=1,N(ng) DO i=Istr,Iend cff1=Hz(i,j,k)*t(i,j,k,nstp,itrc) cff2=FC(i,k)-FC(i,k-1) t(i,j,k,nnew,itrc)=cff1+cff2 END DO END DO So the unit of t ...