Changeset 4335 for palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
- Timestamp:
- Dec 12, 2019 4:39:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r4332 r4335 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Commentation of last commit 28 ! 29 ! 4332 2019-12-10 19:44:12Z suehring 27 30 ! Limit initial velocity seeds in restart runs, if not the seed calculation 28 31 ! may become unstable. Further, minor bugfix in initial velocity seed … … 939 942 DO i = nxlg, nxrg 940 943 DO k = nzb, nzt+1 941 944 ! 945 !-- In case the correlation coefficients are very small, the 946 !-- velocity seeds may become very large finally creating 947 !-- numerical instabilities in the synthetic turbulence generator. 948 !-- Empirically, a value of 10E-8 seems to be sufficient. 942 949 IF ( a11(k) > 10E-8_wp ) THEN 943 950 fu_xz(k,i) = ( u(k,j,i) - u_init(k) ) / a11(k)
Note: See TracChangeset
for help on using the changeset viewer.