Skip to content

Commit

Permalink
changed default noise level to a more reasonable value
Browse files Browse the repository at this point in the history
  • Loading branch information
p-costa committed Dec 31, 2021
1 parent fdd65e0 commit 2ca5d67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/initflow.f90
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ subroutine initflow(inivel,ng,lo,zclzi,dzclzi,dzflzi,visc,u,v,w,p)
end do
end if
if(is_noise) then
call add_noise(ng,lo,123,.5_rp,u(1:n(1),1:n(2),1:n(3)))
call add_noise(ng,lo,456,.5_rp,v(1:n(1),1:n(2),1:n(3)))
call add_noise(ng,lo,789,.5_rp,w(1:n(1),1:n(2),1:n(3)))
call add_noise(ng,lo,123,.05_rp,u(1:n(1),1:n(2),1:n(3)))
call add_noise(ng,lo,456,.05_rp,v(1:n(1),1:n(2),1:n(3)))
call add_noise(ng,lo,789,.05_rp,w(1:n(1),1:n(2),1:n(3)))
end if
if(is_mean) then
call set_mean(n,ubulk,dzflzi*(dx/lx)*(dy/ly),u(1:n(1),1:n(2),1:n(3)))
Expand Down

0 comments on commit 2ca5d67

Please sign in to comment.