Skip to content

Commit

Permalink
Rearranging wind farm test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Natarajan committed Nov 19, 2024
1 parent 3f2a93c commit f8df4f1
Show file tree
Hide file tree
Showing 6 changed files with 442 additions and 0 deletions.
86 changes: 86 additions & 0 deletions Exec/WindFarmTests/WindFarm/EWP/inputs_AWAKEN_EWP_KingPlains
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# ------------------ INPUTS TO MAIN PROGRAM -------------------
max_step = 10000

amrex.fpe_trap_invalid = 1

fabarray.mfiter_tile_size = 1024 1024 1024

# PROBLEM SIZE & GEOMETRY
#geometry.prob_extent = 8500 8000 1000
#amr.n_cell = 425 400 50

geometry.prob_extent = 36000 20000 1000
amr.n_cell = 72 40 200

# WINDFARM PARAMETRIZATION PARAMETERS
erf.windfarm_type = "EWP"
erf.windfarm_x_shift = 9000.0
erf.windfarm_y_shift = 6000.0
erf.windfarm_loc_type = "lat_lon"
erf.windfarm_loc_table = "windturbines_KingPlains.txt"
erf.windfarm_spec_table = "windturbines_spec_KingPlains.tbl"


#erf.grid_stretching_ratio = 1.025
#erf.initial_dz = 16.0

geometry.is_periodic = 0 0 0

# MOST BOUNDARY (DEFAULT IS ADIABATIC FOR THETA)
#zlo.type = "MOST"
#erf.most.z0 = 0.1
#erf.most.zref = 8.0

zlo.type = "SlipWall"
zhi.type = "Outflow"
xlo.type = "Outflow"
xhi.type = "Outflow"
ylo.type = "Outflow"
yhi.type = "Outflow"

# TIME STEP CONTROL
erf.use_native_mri = 1
erf.fixed_dt = 0.6 # fixed time step depending on grid resolution
#erf.fixed_fast_dt = 0.0025

# DIAGNOSTICS & VERBOSITY
erf.sum_interval = 1 # timesteps between computing mass
erf.v = 1 # verbosity in ERF.cpp
amr.v = 1 # verbosity in Amr.cpp

# REFINEMENT / REGRIDDING
amr.max_level = 0 # maximum level number allowed

# CHECKPOINT FILES
erf.check_file = chk # root name of checkpoint file
erf.check_int = 1000 # number of timesteps between checkpoints
#erf.restart = chk00000

# PLOTFILES
erf.plot_file_1 = plt # prefix of plotfile name
erf.plot_int_1 = 1000 # number of timesteps between plotfiles
erf.plot_vars_1 = density rhoadv_0 x_velocity y_velocity z_velocity pressure temp theta QKE vorticity SMark0 SMark1

# SOLVER CHOICE
erf.alpha_T = 0.0
erf.alpha_C = 1.0
erf.use_gravity = false

erf.molec_diff_type = "ConstantAlpha"
erf.les_type = "None"
erf.Cs = 1.5
erf.dynamicViscosity = 0.0

erf.pbl_type = "None"

erf.init_type = "uniform"

# PROBLEM PARAMETERS
prob.rho_0 = 1.0
prob.A_0 = 1.0

prob.U_0 = 7.07
prob.V_0 = 7.07
prob.W_0 = 0.0
prob.T_0 = 300.0

88 changes: 88 additions & 0 deletions Exec/WindFarmTests/WindFarm/EWP/windturbines_KingPlains.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
36.40280128 -97.50350587 1
36.40246798 -97.50809908 1
36.40304049 -97.5124194 1
36.40228665 -97.52290785 1
36.40316197 -97.53936759 1
36.41098759 -97.53468079 1
36.4127243 -97.53921866 1
36.41362 -97.54334527 1
36.41405547 -97.54759063 1
36.40299782 -97.49470142 1
36.40294382 -97.49904754 1
36.40664299 -97.51832663 1
36.41412754 -97.50838388 1
36.41540807 -97.52172197 1
36.4249404 -97.53051521 1
36.42719161 -97.52635746 1
36.42959005 -97.52244687 1
36.42949755 -97.51812659 1
36.40297001 -97.48150592 1
36.40270686 -97.48596929 1
36.40276142 -97.49032824 1
36.4143385 -97.48520997 1
36.41348766 -97.48085597 1
36.41343163 -97.47503991 1
36.41493196 -97.47111932 1
36.41734734 -97.46741995 1
36.41614796 -97.4633161 1
36.41070065 -97.45496741 1
36.4130887 -97.45064542 1
36.40998152 -97.44623857 1
36.41074531 -97.44085989 1
36.41072478 -97.43273075 1
36.39310958 -97.4566201 1
36.3931379 -97.45214291 1
36.39254317 -97.44673785 1
36.41086198 -97.42841073 1
36.41054622 -97.42391851 1
36.41016552 -97.41936151 1
36.41093634 -97.4151803 1
36.41014035 -97.41091907 1
36.41103023 -97.40592123 1
36.41101276 -97.40119683 1
36.40324964 -97.39726903 1
36.40357327 -97.39238876 1
36.39247888 -97.4204302 1
36.39294176 -97.4157752 1
36.39300011 -97.41087897 1
36.39298556 -97.40602057 1
36.39318452 -97.40158406 1
36.38684012 -97.38415899 1
36.38674003 -97.37931381 1
36.38647783 -97.37446109 1
36.3845901 -97.36133825 1
36.3815094 -97.41174862 1
36.38136332 -97.40609542 1
36.38174804 -97.40146826 1
36.38198146 -97.39696533 1
36.38145 -97.39245316 1
36.37823234 -97.38793252 1
36.3711432 -97.36973379 1
36.3709057 -97.36544224 1
36.37080618 -97.3608317 1
36.3649928 -97.42383701 1
36.36561579 -97.41925344 1
36.3656434 -97.41460977 1
36.3654823 -97.41034243 1
36.36471602 -97.40549584 1
36.3660929 -97.40160627 1
36.3656745 -97.39714304 1
36.36521413 -97.39236641 1
36.36376751 -97.38584275 1
36.38862647 -97.47096481 1
36.38723856 -97.4660335 1
36.38159332 -97.45099209 1
36.37779575 -97.44752103 1
36.38129386 -97.43719494 1
36.38516632 -97.43322344 1
36.38787818 -97.42861867 1
36.3880792 -97.42402815 1
36.3869653 -97.47561925 1
36.3851101 -97.48105688 1
36.38546219 -97.48537128 1
36.38499747 -97.48980397 1
36.38475693 -97.49418391 1
36.38795152 -97.49969651 1
36.38733411 -97.50399305 1
36.38528003 -97.50751148 1
36.3847467 -97.51188671 1
47 changes: 47 additions & 0 deletions Exec/WindFarmTests/WindFarm/EWP/windturbines_spec_KingPlains.tbl
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
45
89.0 127.0 0.130 2.0
3.0 0.8068 69.58
3.5 0.7935 138.80
4.0 0.7803 208.10
4.5 0.7678 307.60
5.0 0.7553 407.20
5.5 0.7516 549.60
6.0 0.7479 692.10
6.5 0.7479 894.60
7.0 0.7479 1097.00
7.5 0.7386 1363.00
8.0 0.7294 1629.00
8.5 0.6780 1893.00
9.0 0.6266 2157.00
9.5 0.5657 2375.00
10.0 0.5047 2593.00
10.5 0.4476 2706.00
11.0 0.3905 2820.00
11.5 0.3452 2820.00
12.0 0.2998 2820.00
12.5 0.2638 2820.00
13.0 0.2278 2820.00
13.5 0.2049 2820.00
14.0 0.1820 2820.00
14.5 0.1646 2820.00
15.0 0.1473 2820.00
15.5 0.1340 2820.00
16.0 0.1208 2820.00
16.5 0.1111 2820.00
17.0 0.1013 2820.00
17.5 0.0934 2820.00
18.0 0.0854 2820.00
18.5 0.0793 2820.00
19.0 0.0732 2820.00
19.5 0.0682 2820.00
20.0 0.0632 2820.00
20.5 0.0591 2820.00
21.0 0.0550 2820.00
21.5 0.0518 2820.00
22.0 0.0486 2820.00
22.5 0.0457 2820.00
23.0 0.0428 2820.00
23.5 0.0407 2820.00
24.0 0.0385 2820.00
24.5 0.0364 2820.00
25.0 0.0343 2820.00
86 changes: 86 additions & 0 deletions Exec/WindFarmTests/WindFarm/Fitch/inputs_AWAKEN_Fitch_KingPlains
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# ------------------ INPUTS TO MAIN PROGRAM -------------------
max_step = 10000

amrex.fpe_trap_invalid = 1

fabarray.mfiter_tile_size = 1024 1024 1024

# PROBLEM SIZE & GEOMETRY
#geometry.prob_extent = 8500 8000 1000
#amr.n_cell = 425 400 50

geometry.prob_extent = 36000 20000 1000
amr.n_cell = 72 40 200

# WINDFARM PARAMETRIZATION PARAMETERS
erf.windfarm_type = "Fitch"
erf.windfarm_x_shift = 9000.0
erf.windfarm_y_shift = 6000.0
erf.windfarm_loc_type = "lat_lon"
erf.windfarm_loc_table = "windturbines_KingPlains.txt"
erf.windfarm_spec_table = "windturbines_spec_KingPlains.tbl"


#erf.grid_stretching_ratio = 1.025
#erf.initial_dz = 16.0

geometry.is_periodic = 0 0 0

# MOST BOUNDARY (DEFAULT IS ADIABATIC FOR THETA)
#zlo.type = "MOST"
#erf.most.z0 = 0.1
#erf.most.zref = 8.0

zlo.type = "SlipWall"
zhi.type = "Outflow"
xlo.type = "Outflow"
xhi.type = "Outflow"
ylo.type = "Outflow"
yhi.type = "Outflow"

# TIME STEP CONTROL
erf.use_native_mri = 1
erf.fixed_dt = 0.6 # fixed time step depending on grid resolution
#erf.fixed_fast_dt = 0.0025

# DIAGNOSTICS & VERBOSITY
erf.sum_interval = 1 # timesteps between computing mass
erf.v = 1 # verbosity in ERF.cpp
amr.v = 1 # verbosity in Amr.cpp

# REFINEMENT / REGRIDDING
amr.max_level = 0 # maximum level number allowed

# CHECKPOINT FILES
erf.check_file = chk # root name of checkpoint file
erf.check_int = 1000 # number of timesteps between checkpoints
#erf.restart = chk00000

# PLOTFILES
erf.plot_file_1 = plt # prefix of plotfile name
erf.plot_int_1 = 1000 # number of timesteps between plotfiles
erf.plot_vars_1 = density rhoadv_0 x_velocity y_velocity z_velocity pressure temp theta QKE vorticity SMark0 SMark1

# SOLVER CHOICE
erf.alpha_T = 0.0
erf.alpha_C = 1.0
erf.use_gravity = false

erf.molec_diff_type = "ConstantAlpha"
erf.les_type = "None"
erf.Cs = 1.5
erf.dynamicViscosity = 0.0

erf.pbl_type = "None"

erf.init_type = "uniform"

# PROBLEM PARAMETERS
prob.rho_0 = 1.0
prob.A_0 = 1.0

prob.U_0 = 7.07
prob.V_0 = 7.07
prob.W_0 = 0.0
prob.T_0 = 300.0

88 changes: 88 additions & 0 deletions Exec/WindFarmTests/WindFarm/Fitch/windturbines_KingPlains.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
36.40280128 -97.50350587 1
36.40246798 -97.50809908 1
36.40304049 -97.5124194 1
36.40228665 -97.52290785 1
36.40316197 -97.53936759 1
36.41098759 -97.53468079 1
36.4127243 -97.53921866 1
36.41362 -97.54334527 1
36.41405547 -97.54759063 1
36.40299782 -97.49470142 1
36.40294382 -97.49904754 1
36.40664299 -97.51832663 1
36.41412754 -97.50838388 1
36.41540807 -97.52172197 1
36.4249404 -97.53051521 1
36.42719161 -97.52635746 1
36.42959005 -97.52244687 1
36.42949755 -97.51812659 1
36.40297001 -97.48150592 1
36.40270686 -97.48596929 1
36.40276142 -97.49032824 1
36.4143385 -97.48520997 1
36.41348766 -97.48085597 1
36.41343163 -97.47503991 1
36.41493196 -97.47111932 1
36.41734734 -97.46741995 1
36.41614796 -97.4633161 1
36.41070065 -97.45496741 1
36.4130887 -97.45064542 1
36.40998152 -97.44623857 1
36.41074531 -97.44085989 1
36.41072478 -97.43273075 1
36.39310958 -97.4566201 1
36.3931379 -97.45214291 1
36.39254317 -97.44673785 1
36.41086198 -97.42841073 1
36.41054622 -97.42391851 1
36.41016552 -97.41936151 1
36.41093634 -97.4151803 1
36.41014035 -97.41091907 1
36.41103023 -97.40592123 1
36.41101276 -97.40119683 1
36.40324964 -97.39726903 1
36.40357327 -97.39238876 1
36.39247888 -97.4204302 1
36.39294176 -97.4157752 1
36.39300011 -97.41087897 1
36.39298556 -97.40602057 1
36.39318452 -97.40158406 1
36.38684012 -97.38415899 1
36.38674003 -97.37931381 1
36.38647783 -97.37446109 1
36.3845901 -97.36133825 1
36.3815094 -97.41174862 1
36.38136332 -97.40609542 1
36.38174804 -97.40146826 1
36.38198146 -97.39696533 1
36.38145 -97.39245316 1
36.37823234 -97.38793252 1
36.3711432 -97.36973379 1
36.3709057 -97.36544224 1
36.37080618 -97.3608317 1
36.3649928 -97.42383701 1
36.36561579 -97.41925344 1
36.3656434 -97.41460977 1
36.3654823 -97.41034243 1
36.36471602 -97.40549584 1
36.3660929 -97.40160627 1
36.3656745 -97.39714304 1
36.36521413 -97.39236641 1
36.36376751 -97.38584275 1
36.38862647 -97.47096481 1
36.38723856 -97.4660335 1
36.38159332 -97.45099209 1
36.37779575 -97.44752103 1
36.38129386 -97.43719494 1
36.38516632 -97.43322344 1
36.38787818 -97.42861867 1
36.3880792 -97.42402815 1
36.3869653 -97.47561925 1
36.3851101 -97.48105688 1
36.38546219 -97.48537128 1
36.38499747 -97.48980397 1
36.38475693 -97.49418391 1
36.38795152 -97.49969651 1
36.38733411 -97.50399305 1
36.38528003 -97.50751148 1
36.3847467 -97.51188671 1
Loading

0 comments on commit f8df4f1

Please sign in to comment.