345 |
L4rdt = L4rdt_D(i,j,bi,bj) |
L4rdt = L4rdt_D(i,j,bi,bj) |
346 |
L5 = (L2*L3) |
L5 = (L2*L3) |
347 |
|
|
348 |
|
#ifndef AUTODIFF_DISABLE_REYNOLDS_SCALE |
349 |
C Velocity Reynolds Scale |
C Velocity Reynolds Scale |
350 |
IF ( viscAhRe_max.GT.0. .AND. KE(i,j).GT.0. ) THEN |
IF ( viscAhRe_max.GT.0. .AND. KE(i,j).GT.0. ) THEN |
351 |
Uscl=SQRT(KE(i,j)*L2)*viscAhRe_max |
Uscl=SQRT(KE(i,j)*L2)*viscAhRe_max |
357 |
ELSE |
ELSE |
358 |
U4scl=0. |
U4scl=0. |
359 |
ENDIF |
ENDIF |
360 |
|
#endif /* ndef AUTODIFF_DISABLE_REYNOLDS_SCALE */ |
361 |
|
|
362 |
cph-leith#ifndef ALLOW_AUTODIFF_TAMC |
cph-leith#ifndef ALLOW_AUTODIFF_TAMC |
363 |
#ifndef AUTODIFF_DISABLE_LEITH |
#ifndef AUTODIFF_DISABLE_LEITH |
473 |
L4rdt = L4rdt_Z(i,j,bi,bj) |
L4rdt = L4rdt_Z(i,j,bi,bj) |
474 |
L5 = (L2*L3) |
L5 = (L2*L3) |
475 |
|
|
476 |
|
#ifndef AUTODIFF_DISABLE_REYNOLDS_SCALE |
477 |
C Velocity Reynolds Scale (Pb here at CS-grid corners !) |
C Velocity Reynolds Scale (Pb here at CS-grid corners !) |
478 |
IF ( viscAhRe_max.GT.0. .OR. viscA4Re_max.GT.0. ) THEN |
IF ( viscAhRe_max.GT.0. .OR. viscA4Re_max.GT.0. ) THEN |
479 |
keZpt=0.25 _d 0*( (KE(i,j)+KE(i-1,j-1)) |
keZpt=0.25 _d 0*( (KE(i,j)+KE(i-1,j-1)) |
489 |
Uscl =0. |
Uscl =0. |
490 |
U4scl=0. |
U4scl=0. |
491 |
ENDIF |
ENDIF |
492 |
|
#endif /* ndef AUTODIFF_DISABLE_REYNOLDS_SCALE */ |
493 |
|
|
494 |
#ifndef AUTODIFF_DISABLE_LEITH |
#ifndef AUTODIFF_DISABLE_LEITH |
495 |
C This is the vector magnitude of the vorticity gradient squared |
C This is the vector magnitude of the vorticity gradient squared |