|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_IBSEBParams.H>

Public Member Functions | |
| void | init_params () |
Public Attributes | |
| bool | enable = false |
| Master switch. More... | |
| int | n_slab_layers = 4 |
| Conduction layers per face. More... | |
| amrex::Real | T_skin_init = 300.0 |
| Initial skin temperature [K]. More... | |
| amrex::Real | T_interior = 293.0 |
| Interior (deep) temperature [K]. More... | |
| std::string | csv_file = "ibseb_buildings.csv" |
| Per-building report. More... | |
| int | csv_int = 100 |
| Steps between report rows; <= 0 disables. More... | |
| bool | debug = false |
| [IBSEB DEBUG] prints: set description at build, per-step summary, per-building rows More... | |
| std::string | dump_faces_file |
| Per-rank face dump at report time (empty = off) More... | |
| bool | dump_faces_tag_step = false |
| Name each dump by its step (keeps every one) instead of overwriting. More... | |
| std::string | radiation = "prescribed" |
| std::string | sun_mode = "fixed" |
| amrex::Real | sun_zenith_deg = 45.0 |
| fixed: zenith angle [deg] More... | |
| amrex::Real | sun_azimuth_deg = 180.0 |
| fixed: azimuth clockwise from north [deg]; 180 = sun in the south More... | |
| amrex::Real | sw_direct_normal = 800.0 |
| fixed: direct-normal irradiance [W/m2] More... | |
| amrex::Real | sw_diffuse = 100.0 |
| fixed: diffuse irradiance on a horizontal surface [W/m2] More... | |
| amrex::Real | latitude_deg = 40.0 |
| solar: site latitude, north positive More... | |
| amrex::Real | longitude_deg = -105.0 |
| solar: site longitude, east positive More... | |
| amrex::Real | day_of_year = 172.0 |
| solar: day of year More... | |
| amrex::Real | time_zero_utc_s = 12.0 * 3600.0 |
| solar: seconds after 00:00 UTC at simulation time zero (the sun follows UTC and the longitude) More... | |
| amrex::Real | solar_constant = 1361.0 |
| solar: [W/m2] More... | |
| amrex::Real | sw_transmission = 0.7 |
| solar: bulk clear-sky transmission (Bird) More... | |
| amrex::Real | sw_diffuse_coeff = 0.5 |
| solar: share of the attenuated beam that arrives as diffuse light More... | |
| amrex::Real | albedo = 0.3 |
| Face shortwave albedo. More... | |
| amrex::Real | albedo_ground = 0.2 |
| Ground albedo for the reflected diffuse term. More... | |
| amrex::Real | emissivity = 0.9 |
| Face longwave emissivity. More... | |
| amrex::Real | emissivity_ground = 0.95 |
| Ground emissivity for the ground term. More... | |
| int | view_n_az = 16 |
| int | view_n_el = 8 |
| std::string | lw_mode = "gray" |
| amrex::Real | lw_down = 300.0 |
| fixed: sky longwave [W/m2] More... | |
| amrex::Real | sky_emissivity = 0.83 |
| gray: effective clear-sky emissivity More... | |
| amrex::Real | T_ground = 300.0 |
| Ground temperature for the ground term [K]. More... | |
| amrex::Real | z0_wall = 0.01 |
| Momentum roughness of the faces [m]. More... | |
| amrex::Real | z0h_wall = 0.001 |
| Heat roughness of the faces [m]. More... | |
| bool | stability_correction = false |
| bool | couple_heat = true |
| Add the face flux to the temperature equation. More... | |
| std::string | material_file |
| int | material_default = 1 |
| std::vector< int > | material_by_building |
| amrex::Real | k_therm = 1.0 |
| Uniform conductivity [W/m/K]. More... | |
| amrex::Real | rho_cp = 1.6e6 |
| Uniform volumetric heat capacity [J/m3/K]. More... | |
| amrex::Real | thickness = 0.3 |
| Uniform slab thickness [m]. More... | |
| bool | prognostic = true |
| amrex::Real | T_skin_min = 260.0 |
| Lower bound of the skin temperature [K]. More... | |
| amrex::Real | T_skin_max = 380.0 |
| Upper bound [K]; raise it for faces under a fire. More... | |
| int | newton_max_iter = 20 |
| Newton iteration cap per face and step. More... | |
| amrex::Real | newton_tol_K = 1.0e-3 |
| Newton stops when a step changes T_skin by less than this [K]. More... | |
| amrex::Real | newton_max_step_K = 20.0 |
| Largest Newton step [K]. More... | |
| amrex::Real | Q_ext_uniform = 0.0 |
| Uniform external incident flux on every face [W/m2] (test hook) More... | |
| std::string | obukhov_seed = "ground" |
| "ground" or "neutral" More... | |
| std::string | convective_velocity = "none" |
| "none" or "deardorff" More... | |
| amrex::Real | beta_conv = 1.2 |
| Gustiness factor on w*. More... | |
| std::string | z_i_mode = "bulk_ri" |
| "bulk_ri", "pblh" or "fixed" More... | |
| amrex::Real | z_i = 1000.0 |
| Fixed mixed-layer depth [m] (z_i_mode = fixed, and the fallback) More... | |
| amrex::Real | ri_crit = 0.25 |
| Critical bulk Richardson number of the diagnostic. More... | |
| amrex::Real | obukhov_relax = 0.5 |
| Under-relaxation of the roof's u*, theta* iteration (1 = none), as erf-model #3486. More... | |
|
inline |
Read the erf.ibseb.* inputs and validate them.
Only queried, never required: a deck without any erf.ibseb key gets the defaults above with the balance off. Validation is skipped when the balance is off so an unrelated deck cannot abort on an unused key.

| amrex::Real IBSEBParams::albedo = 0.3 |
Face shortwave albedo.
Referenced by init_params().
| amrex::Real IBSEBParams::albedo_ground = 0.2 |
Ground albedo for the reflected diffuse term.
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::beta_conv = 1.2 |
Gustiness factor on w*.
Referenced by init_params().
| std::string IBSEBParams::convective_velocity = "none" |
"none" or "deardorff"
Referenced by init_params().
| bool IBSEBParams::couple_heat = true |
Add the face flux to the temperature equation.
Referenced by init_params().
| std::string IBSEBParams::csv_file = "ibseb_buildings.csv" |
Per-building report.
Referenced by init_params(), IBFaceSet::print_debug_summary(), and IBFaceSet::report().
| int IBSEBParams::csv_int = 100 |
Steps between report rows; <= 0 disables.
Referenced by init_params(), and IBFaceSet::print_debug_summary().
| amrex::Real IBSEBParams::day_of_year = 172.0 |
solar: day of year
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| bool IBSEBParams::debug = false |
[IBSEB DEBUG] prints: set description at build, per-step summary, per-building rows
Referenced by IBFaceSet::compute_shortwave(), init_params(), IBFaceSet::load_state(), IBFaceSet::report(), and IBFaceSet::save_state().
| std::string IBSEBParams::dump_faces_file |
Per-rank face dump at report time (empty = off)
Referenced by init_params(), and IBFaceSet::report().
| bool IBSEBParams::dump_faces_tag_step = false |
Name each dump by its step (keeps every one) instead of overwriting.
Referenced by init_params(), and IBFaceSet::report().
| amrex::Real IBSEBParams::emissivity = 0.9 |
Face longwave emissivity.
Referenced by init_params().
| amrex::Real IBSEBParams::emissivity_ground = 0.95 |
Ground emissivity for the ground term.
Referenced by init_params().
| bool IBSEBParams::enable = false |
Master switch.
Referenced by init_params().
| amrex::Real IBSEBParams::k_therm = 1.0 |
Uniform conductivity [W/m/K].
Referenced by init_params().
| amrex::Real IBSEBParams::latitude_deg = 40.0 |
solar: site latitude, north positive
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::longitude_deg = -105.0 |
solar: site longitude, east positive
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::lw_down = 300.0 |
fixed: sky longwave [W/m2]
Referenced by init_params().
| std::string IBSEBParams::lw_mode = "gray" |
Referenced by init_params().
| std::vector<int> IBSEBParams::material_by_building |
Referenced by init_params().
| int IBSEBParams::material_default = 1 |
Referenced by init_params().
| std::string IBSEBParams::material_file |
Referenced by init_params().
| int IBSEBParams::n_slab_layers = 4 |
Conduction layers per face.
Referenced by init_params(), and IBFaceSet::n_layers().
| int IBSEBParams::newton_max_iter = 20 |
Newton iteration cap per face and step.
Referenced by init_params().
| amrex::Real IBSEBParams::newton_max_step_K = 20.0 |
Largest Newton step [K].
Referenced by init_params().
| amrex::Real IBSEBParams::newton_tol_K = 1.0e-3 |
Newton stops when a step changes T_skin by less than this [K].
Referenced by init_params().
| amrex::Real IBSEBParams::obukhov_relax = 0.5 |
Under-relaxation of the roof's u*, theta* iteration (1 = none), as erf-model #3486.
Referenced by init_params().
| std::string IBSEBParams::obukhov_seed = "ground" |
"ground" or "neutral"
Referenced by init_params().
| bool IBSEBParams::prognostic = true |
Referenced by init_params().
| amrex::Real IBSEBParams::Q_ext_uniform = 0.0 |
Uniform external incident flux on every face [W/m2] (test hook)
Referenced by init_params().
| std::string IBSEBParams::radiation = "prescribed" |
Referenced by init_params().
| amrex::Real IBSEBParams::rho_cp = 1.6e6 |
Uniform volumetric heat capacity [J/m3/K].
Referenced by init_params().
| amrex::Real IBSEBParams::ri_crit = 0.25 |
Critical bulk Richardson number of the diagnostic.
Referenced by init_params().
| amrex::Real IBSEBParams::sky_emissivity = 0.83 |
gray: effective clear-sky emissivity
Referenced by init_params().
| amrex::Real IBSEBParams::solar_constant = 1361.0 |
solar: [W/m2]
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| bool IBSEBParams::stability_correction = false |
Referenced by init_params().
| amrex::Real IBSEBParams::sun_azimuth_deg = 180.0 |
fixed: azimuth clockwise from north [deg]; 180 = sun in the south
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| std::string IBSEBParams::sun_mode = "fixed" |
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::sun_zenith_deg = 45.0 |
fixed: zenith angle [deg]
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::sw_diffuse = 100.0 |
fixed: diffuse irradiance on a horizontal surface [W/m2]
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::sw_diffuse_coeff = 0.5 |
solar: share of the attenuated beam that arrives as diffuse light
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::sw_direct_normal = 800.0 |
fixed: direct-normal irradiance [W/m2]
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::sw_transmission = 0.7 |
solar: bulk clear-sky transmission (Bird)
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| amrex::Real IBSEBParams::T_ground = 300.0 |
Ground temperature for the ground term [K].
Referenced by init_params().
| amrex::Real IBSEBParams::T_interior = 293.0 |
Interior (deep) temperature [K].
Referenced by init_params(), and IBFaceSet::print_debug_summary().
| amrex::Real IBSEBParams::T_skin_init = 300.0 |
Initial skin temperature [K].
Referenced by init_params(), and IBFaceSet::print_debug_summary().
| amrex::Real IBSEBParams::T_skin_max = 380.0 |
Upper bound [K]; raise it for faces under a fire.
Referenced by init_params().
| amrex::Real IBSEBParams::T_skin_min = 260.0 |
Lower bound of the skin temperature [K].
Referenced by init_params().
| amrex::Real IBSEBParams::thickness = 0.3 |
Uniform slab thickness [m].
Referenced by init_params().
| amrex::Real IBSEBParams::time_zero_utc_s = 12.0 * 3600.0 |
solar: seconds after 00:00 UTC at simulation time zero (the sun follows UTC and the longitude)
Referenced by IBFaceSet::compute_shortwave(), and init_params().
| int IBSEBParams::view_n_az = 16 |
Referenced by init_params().
| int IBSEBParams::view_n_el = 8 |
Referenced by init_params().
| amrex::Real IBSEBParams::z0_wall = 0.01 |
Momentum roughness of the faces [m].
Referenced by init_params().
| amrex::Real IBSEBParams::z0h_wall = 0.001 |
Heat roughness of the faces [m].
Referenced by init_params().
| amrex::Real IBSEBParams::z_i = 1000.0 |
Fixed mixed-layer depth [m] (z_i_mode = fixed, and the fallback)
Referenced by init_params().
| std::string IBSEBParams::z_i_mode = "bulk_ri" |
"bulk_ri", "pblh" or "fixed"
Referenced by init_params().