Changeset 1516 for LMDZ5/trunk/libf/phylmd/cv3p1_closure.F
- Timestamp:
- May 6, 2011, 4:45:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cv3p1_closure.F
r1515 r1516 70 70 real cbmflim(nloc),cbmf1(nloc),cbmfmax(nloc),cbmf(nloc) 71 71 real cbmflast(nloc) 72 real wbeff(nloc) 73 72 74 real coef(nloc) 73 75 real xp(nloc),xq(nloc),xr(nloc),discr(nloc),b3(nloc),b4(nloc) … … 515 517 ENDDO 516 518 c 519 if (flag_wb==0) then 520 wbeff(:)=wbmax 521 else if (flag_wb==1) then 522 wbeff(1:ncum)=wbmax/(1.+500./(ph(1:ncum,1)-plfc(1:ncum))) 523 else 524 stop'cas non prevu iflag_wb' 525 ! ligne a suprimer un jour ... 526 endif 527 ! if (ncum==1) print*,'WB ',plfc,wbeff,alp2,cin 528 517 529 DO il = 1,ncum 518 cjyg Modification du coef de wb*wb pour conformite avec papier Wake 519 cc cbmf1(il) = alp2(il)/(0.5*wb*wb-Cin(il)) 520 cbmf1(il) = alp2(il)/(2.*wb*wb-Cin(il)) 530 531 !jyg Modification du coef de wb*wb pour conformite avec papier Wake 532 ! cbmf1(il) = alp2(il)/(0.5*wb*wb-Cin(il)) 533 ! A partir de mai 2011 on revient au 2 wb^2, conformement au papier. 534 ! les versions d'avant (NPv2 et al) tournaient avec 0.5 wb^2 et wb=1m/s 535 ! equivalent a wb=1 m/s pour la nouvelle formulation 536 ! Puis passage de wb constant a wbeff variable suivant flag_wb 537 538 cbmf1(il) = alp2(il)/(2.*wbeff(il)*wbeff(il)-Cin(il)) 539 521 540 if(cbmf1(il).EQ.0.AND.alp2(il).NE.0.) THEN 522 541 write(lunout,*)
Note: See TracChangeset
for help on using the changeset viewer.