Skip to content
Snippets Groups Projects
Commit f25ad274 authored by HartmutBorth's avatar HartmutBorth
Browse files

modified simulations

parent d5544ad8
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ysim = "fjet01" ysim = "fjet01"
w1 = 8 w1 = 8
w2 = 2 w2 = 2
scl = 1 hscl = 1
qmax = 0.00001 qmax = 0.00001
snsteps = 2000000 snsteps = 2000000
sdt = 1.0d-3 sdt = 1.0d-3
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ysim = "fjet01" ysim = "fjet01"
w1 = 8 w1 = 8
w2 = 2 w2 = 2
scl = 1 hscl = 1
qmax = 0.00001 qmax = 0.00001
snsteps = 2000000 snsteps = 2000000
sdt = 1.0d-3 sdt = 1.0d-3
......
$sim_nl
ysim = "fjet01"
w1 = 8
w2 = 2
hscl = 1
qmax = 0.00001
snsteps = 2000000
sdt = 1.0d-3
sngui = 250
snforc = 1
snpert = 5
/
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ysim = "fjet02" ysim = "fjet02"
w1 = 8 w1 = 8
w2 = 2 w2 = 2
scl = 1 hscl = 1
qmax = 0.00001 qmax = 0.00001
snsteps = 2000000 snsteps = 2000000
sdt = 1.0d-3 sdt = 1.0d-3
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ysim = "fjet02" ysim = "fjet02"
w1 = 8 w1 = 8
w2 = 2 w2 = 2
scl = 1 hscl = 1
qmax = 0.00001 qmax = 0.00001
snsteps = 2000000 snsteps = 2000000
sdt = 1.0d-3 sdt = 1.0d-3
......
...@@ -36,7 +36,7 @@ character (256) :: ysim = "djet01" ! type of predefined simulation ...@@ -36,7 +36,7 @@ character (256) :: ysim = "djet01" ! type of predefined simulation
!--- parameters of djet01 (initial top hat jet) !--- parameters of djet01 (initial top hat jet)
integer :: w1 = 8 ! half width of jet center (in grid points) integer :: w1 = 8 ! half width of jet center (in grid points)
integer :: w2 = 4 ! width of vortex sheet (in grid points) integer :: w2 = 4 ! width of vortex sheet (in grid points)
integer :: scl = 1 ! horizontal scale of jet integer :: hscl = 1 ! horizontal scale of jet
real(8) :: qmax = 1.0 ! amplitude of vortex sheets real(8) :: qmax = 1.0 ! amplitude of vortex sheets
...@@ -83,7 +83,7 @@ implicit none ...@@ -83,7 +83,7 @@ implicit none
!--- define sim_namelist !--- define sim_namelist
namelist /sim_nl/ ysim , & namelist /sim_nl/ ysim , &
qmax ,w1 ,w2 ,scl ,& qmax ,w1 ,w2 ,hscl ,&
sdt ,snsteps ,sngui , & sdt ,snsteps ,sngui , &
snpert ,snforc ,snpost snpert ,snforc ,snpost
...@@ -131,12 +131,12 @@ select case(ysim) ...@@ -131,12 +131,12 @@ select case(ysim)
case("djet01") case("djet01")
gpvar(:,:) = 0.0 gpvar(:,:) = 0.0
do jy = 1, ngy do jy = 1, ngy
if ( jy .ge. ngy/2+1-scl*(w1+w2) .and. & if ( jy .ge. ngy/2+1-hscl*(w1+w2) .and. &
jy .le. ngy/2-scl*w1 ) then jy .le. ngy/2-hscl*w1 ) then
gpvar(:,jy) = -qmax gpvar(:,jy) = -qmax
endif endif
if ( jy .ge. ngy/2+1+scl*w1 .and. & if ( jy .ge. ngy/2+1+hscl*w1 .and. &
jy .le. ngy/2+scl*(w1+w2) ) then jy .le. ngy/2+hscl*(w1+w2) ) then
gpvar(:,jy) = qmax gpvar(:,jy) = qmax
endif endif
enddo enddo
...@@ -150,12 +150,12 @@ select case(ysim) ...@@ -150,12 +150,12 @@ select case(ysim)
case("fjet01") case("fjet01")
gpvar(:,:) = 0.0 gpvar(:,:) = 0.0
do jy = 1, ngy do jy = 1, ngy
if ( jy .ge. ngy/2+1-scl*(w1+w2) .and. & if ( jy .ge. ngy/2+1-hscl*(w1+w2) .and. &
jy .le. ngy/2-scl*w1 ) then jy .le. ngy/2-hscl*w1 ) then
gpvar(:,jy) = -qmax gpvar(:,jy) = -qmax
endif endif
if ( jy .ge. ngy/2+1+scl*w1 .and. & if ( jy .ge. ngy/2+1+hscl*w1 .and. &
jy .le. ngy/2+scl*(w1+w2) ) then jy .le. ngy/2+hscl*(w1+w2) ) then
gpvar(:,jy) = qmax gpvar(:,jy) = qmax
endif endif
enddo enddo
...@@ -164,14 +164,14 @@ select case(ysim) ...@@ -164,14 +164,14 @@ select case(ysim)
case("fjet02") case("fjet02")
gpvar(:,:) = 0.0 gpvar(:,:) = 0.0
do jx = 1, ngx do jx = 1, ngx
if ( jx .ge. ngx/2+1-scl*(w1+w2) .and. & if ( jx .ge. ngx/2+1-hscl*(w1+w2) .and. &
jx .le. ngx/2-scl*w1 ) then jx .le. ngx/2-hscl*w1 ) then
gpvar(jx,:) = qmax
endif
if ( jx .ge. ngx/2+1+scl*w1 .and. &
jx .le. ngx/2+scl*(w1+w2) ) then
gpvar(jx,:) = -qmax gpvar(jx,:) = -qmax
endif endif
if ( jx .ge. ngx/2+1+hscl*w1 .and. &
jx .le. ngx/2+hscl*(w1+w2) ) then
gpvar(jx,:) = qmax
endif
enddo enddo
call sim_wrtgp(gpvar,qfrccde,1) call sim_wrtgp(gpvar,qfrccde,1)
case default case default
...@@ -262,6 +262,11 @@ subroutine simstep ...@@ -262,6 +262,11 @@ subroutine simstep
use simmod use simmod
implicit none implicit none
return return
end subroutine simstep end subroutine simstep
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment