|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
What a structure model reads once, at start-up. More...
#include <ERF_StructureModel.H>

Public Attributes | |
| int | lev |
| The level the model couples to. More... | |
| double | time |
| Simulation time [s]: 0, or the checkpoint's time on a restart. More... | |
| const amrex::Geometry & | geom |
| Geometry of level lev. More... | |
| const amrex::MultiFab & | xvel |
| x-velocity on x-faces [m/s] More... | |
| const amrex::MultiFab * | z_phys_nd |
| Nodal height [m] of a stretched or terrain-following mesh; nullptr on a uniform-dz mesh (flat ground at prob_lo z) More... | |
| const amrex::MultiFab * | detJ_cc |
| const amrex::FArrayBox * | immersed_terrain_surface |
| bool | unit_map_factors |
| Every map factor of level lev is 1 (the actuator core assumes so) More... | |
| bool | keqn_rans |
| Level lev runs the k-equation RANS closure, so cons holds rho k. More... | |
| amrex::Real | Cmu0 |
| The closure's C_mu^0 on level lev. More... | |
| std::string | restart_chkfile |
| double | fixed_dt |
| double | stop_time |
| int | max_step |
| bool | fully_compressible |
What a structure model reads once, at start-up.
All fields live on the level the model couples to (StructureModel::level()).
| amrex::Real StructureInit::Cmu0 |
The closure's C_mu^0 on level lev.
| const amrex::MultiFab* StructureInit::detJ_cc |
Cell Jacobian of a stretched or terrain-following mesh; nullptr on a uniform-dz mesh
| double StructureInit::fixed_dt |
The nominal step of level lev [s]: erf.fixed_dt divided by the sub-cycling ratios down to lev, after the CFL limit of erf.fixed_dt_cfl_limit; ERF calls fixed_dt_changed() if it lowers it later. Not positive when the run has no fixed step (ERF then chooses each step from erf.cfl). StructureStep::dt is the step taken: it differs on the first steps with erf.init_shrink below 1 or after a restart (growth limited by erf.change_max), and on a last step that ERF fits to the stop time
| bool StructureInit::fully_compressible |
A level of the run, not only lev, is FullyCompressible (erf.compressibility_type); false when every level is Anelastic or PseudoIncompressible. It names the solver, not the time scheme: a FullyCompressible level with erf.timestepping_type = RK3_NoSubstepping counts
| const amrex::Geometry& StructureInit::geom |
Geometry of level lev.
| const amrex::FArrayBox* StructureInit::immersed_terrain_surface |
With erf.terrain_type = ImmersedForcing: the terrain height [m] at the nodes of level lev (a k = 0 slab over the domain grown by 3 nodes), from the surface the immersed boundary was built from, in host-readable memory and valid only during initialize(); nullptr otherwise, or when wants_immersed_terrain_surface() is false
| bool StructureInit::keqn_rans |
Level lev runs the k-equation RANS closure, so cons holds rho k.
| int StructureInit::lev |
The level the model couples to.
| int StructureInit::max_step |
The run stops after this many level-0 steps, counted from the start of the first run (a restart continues the count); the largest int when max_step is not given or negative
| std::string StructureInit::restart_chkfile |
The checkpoint ERF restarts from; empty on a fresh start
| double StructureInit::stop_time |
The time [s], on the clock of time, at which the run stops: the input stop_time, or stop_datetime less start_datetime; the largest double when neither is given. It is ERF's own stop, which can differ from the input by about 1e-7 s when start_datetime is given, so compare with a tolerance. max_step may end the run earlier
| double StructureInit::time |
Simulation time [s]: 0, or the checkpoint's time on a restart.
| bool StructureInit::unit_map_factors |
Every map factor of level lev is 1 (the actuator core assumes so)
| const amrex::MultiFab& StructureInit::xvel |
x-velocity on x-faces [m/s]
| const amrex::MultiFab* StructureInit::z_phys_nd |
Nodal height [m] of a stretched or terrain-following mesh; nullptr on a uniform-dz mesh (flat ground at prob_lo z)