Skip to content

Commit

Permalink
Merge pull request xcompact3d#302 from fangjian19/master
Browse files Browse the repository at this point in the history
update the two input files in example/MHD to full simulations
  • Loading branch information
rfj82982 authored Sep 27, 2024
2 parents 2816c9a + bbca7ad commit 58673d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions examples/MHD/input_mhdchan.i3d
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ p_row=0 ! Row partition
p_col=0 ! Column partition

! Mesh
nx=128 ! X-direction nodes
nx=256 ! X-direction nodes
ny=129 ! Y-direction nodes
nz=128 ! Z-direction nodes
nz=192 ! Z-direction nodes
istret = 2 ! y mesh refinement (0:no, 1:center, 2:both sides, 3:bottom)
beta = 0.259065151 ! Refinement parameter (beta)

Expand All @@ -30,7 +30,7 @@ cpg = F ! if cpg=T, then re is friction Reynolds number
! Time stepping
dt = 0.005 ! Time step
ifirst = 1 ! First iteration
ilast = 20 ! Last iteration
ilast = 800000 ! Last iteration

! Enable modelling tools
ilesmod=0 ! if 0 then DNS
Expand Down Expand Up @@ -94,7 +94,7 @@ nvisu = 1 ! Size for visualisation collection
wrotation = 0.d0 ! rotation speed to trigger turbulence
spinup_time = 0 ! number of time steps with a rotation to trigger turbulence
nstat = 1 ! Size arrays for statistic collection
initstat = 400000 ! Time steps after which statistics are collected
initstat = 600000 ! Time steps after which statistics are collected

/End

Expand Down
2 changes: 1 addition & 1 deletion examples/MHD/input_otv.i3d
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ inflow_noise = 0.0 ! Turbulence intensity (1=100%) !! Inflow condition
! Time stepping
dt = 0.0001 ! Time step
ifirst = 1 ! First iteration
ilast = 20 ! Last iteration
ilast = 20000 ! Last iteration

! Enable modelling tools
ilesmod=0 ! if 0 then DNS
Expand Down

0 comments on commit 58673d0

Please sign in to comment.