Skip to content

Commit

Permalink
Inputs for EWP single turbine
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Natarajan committed Feb 28, 2025
1 parent f56ecf4 commit 1a63141
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 0 deletions.
92 changes: 92 additions & 0 deletions Exec/WindFarmTests/SingleTurbine/EWP/inputs_1WT_x_y_EWP
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# ------------------ 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 = 100000.0 100000.0 1000.0
amr.n_cell = 100 100 100

# WINDFARM PARAMETRIZATION PARAMETERS
erf.windfarm_type = "EWP"
erf.windfarm_loc_type = "x_y"
erf.windfarm_loc_table = "windturbines_loc_x_y_1WT.txt"
erf.windfarm_spec_table = "windturbines_spec_1WT.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

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

xlo.velocity = 10. 0. 0.
xlo.density = 1.226
xlo.theta = 300.

# TIME STEP CONTROL
erf.use_native_mri = 1
erf.fixed_dt = 2.0 # 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 = chk02000

# PLOTFILES
erf.plot_file_1 = plt # prefix of plotfile name
erf.plot_int_1 = 100 # number of timesteps between plotfiles
erf.plot_vars_1 = density rhoadv_0 x_velocity y_velocity z_velocity pressure temp theta QKE num_turb SMark0 vorticity_x vorticity_y vorticity_z

# ADVECTION SCHEMES
#erf.dycore_horiz_adv_type = "Centered_2nd"
#erf.dycore_vert_adv_type = "Centered_2nd"
#erf.dryscal_horiz_adv_type = "Centered_2nd"
#erf.dryscal_vert_adv_type = "Centered_2nd"
#erf.moistscal_horiz_adv_type = "Centered_2nd"
#erf.moistscal_vert_adv_type = "Centered_2nd"

# 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 = 10.0

erf.pbl_type = "None"

erf.init_type = "uniform"


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

prob.U_0 = 10.0
prob.V_0 = 0.0
prob.W_0 = 0.0
prob.T_0 = 300.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
50000.0 50000.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
4
119.0 178.0 0.130 2.0
9 0.805 50.0
10 0.805 50.0
11 0.805 50.0
12 0.805 50.0

0 comments on commit 1a63141

Please sign in to comment.