/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFieldInit.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
ABLFieldInit.H
Go to the documentation of this file.
Definition ABLFieldInit.H:19
amrex::Real m_tke_cutoff_height
Cutoff height for init tke profile.
Definition ABLFieldInit.H:124
bool m_perturb_theta
Perturb temperature field with random fluctuations.
Definition ABLFieldInit.H:139
amrex::Gpu::DeviceVector< amrex::Real > m_thvv_d
Definition ABLFieldInit.H:81
amrex::Gpu::DeviceVector< amrex::Real > m_prof_tke_d
Definition ABLFieldInit.H:86
amrex::RealArray m_bottom_vel
Bottom velocity.
Definition ABLFieldInit.H:130
std::string m_1d_rans
File name for 1-D data file.
Definition ABLFieldInit.H:72
amrex::Gpu::DeviceVector< amrex::Real > m_prof_v_d
Definition ABLFieldInit.H:85
amrex::Real m_Vperiods
Number of sinusoidal waves in y-direction.
Definition ABLFieldInit.H:100
void operator()(const amrex::Box &vbx, const amrex::Geometry &geom, const amrex::Array4< amrex::Real > &velocity, const amrex::Array4< amrex::Real > &density, const amrex::Array4< amrex::Real > &temperature) const
Definition ABLFieldInit.cpp:182
bool add_temperature_perturbations() const
Flag indicating whether temperature field needs perturbations.
Definition ABLFieldInit.H:44
void initialize_from_inputfile()
Definition ABLFieldInit.cpp:23
amrex::Real m_deltaU
Amplitude of fluctuations in x-direction.
Definition ABLFieldInit.H:91
amrex::Real m_tke_init_factor
Multiplicative factor for init tke profile.
Definition ABLFieldInit.H:121
amrex::Vector< amrex::Real > m_v_values
Definition ABLFieldInit.H:75
amrex::Real m_tke_init
Initial value for tke field.
Definition ABLFieldInit.H:118
bool m_init_uvtheta_profile
Profiles of u, v, and theta are read in from a NetCDF File.
Definition ABLFieldInit.H:145
amrex::Vector< amrex::Real > m_theta_values
Definition ABLFieldInit.H:66
amrex::Vector< amrex::Real > m_tke_values
Definition ABLFieldInit.H:76
amrex::Real m_theta_cutoff_height
Cutoff height for temperature fluctuations.
Definition ABLFieldInit.H:115
amrex::Gpu::DeviceVector< amrex::Real > m_windht_d
Definition ABLFieldInit.H:83
amrex::Real m_Uperiods
Number of sinusoidal waves in x-direction.
Definition ABLFieldInit.H:97
amrex::Real m_theta_gauss_var
Variance for Gaussian number generator.
Definition ABLFieldInit.H:112
amrex::Real m_vel_dir
Initial wind direction (rad)
Definition ABLFieldInit.H:60
amrex::Vector< amrex::Real > m_vel
Initial velocity components.
Definition ABLFieldInit.H:51
amrex::Real m_deltaV
Amplitude of fluctuations in y-direction.
Definition ABLFieldInit.H:94
amrex::Gpu::DeviceVector< amrex::Real > m_thht_d
Definition ABLFieldInit.H:80
amrex::RealArray m_top_vel
Top velocity.
Definition ABLFieldInit.H:127
void perturb_temperature(const int lev, const amrex::Geometry &geom, Field &temperature) const
Definition ABLFieldInit.cpp:348
void initialize_from_netcdf()
Definition ABLFieldInit.cpp:133
amrex::Real m_vel_speed
Initial wind speed.
Definition ABLFieldInit.H:57
bool m_initial_wind_profile
Definition ABLFieldInit.H:70
amrex::Real m_theta_gauss_mean
Mean for Gaussian number generator.
Definition ABLFieldInit.H:109
amrex::Real m_delta_t
Amplitude of temperature perturbations.
Definition ABLFieldInit.H:106
bool m_linear_profile
Initial linear velocity profile boolean.
Definition ABLFieldInit.H:133
bool m_perturb_vel
Perturb initial velocity field with sinusoidal fluctuations.
Definition ABLFieldInit.H:136
amrex::Gpu::DeviceVector< amrex::Real > m_prof_u_d
Definition ABLFieldInit.H:84
void init_tke(const amrex::Geometry &geom, amrex::MultiFab &tke) const
Initialize TKE field.
Definition ABLFieldInit.cpp:386
amrex::Vector< amrex::Real > m_u_values
Definition ABLFieldInit.H:74
amrex::Vector< amrex::Real > m_theta_heights
Definition ABLFieldInit.H:65
amrex::Vector< amrex::Real > m_wind_heights
Definition ABLFieldInit.H:73
bool m_tke_init_profile
Initialize tke profile non-constant.
Definition ABLFieldInit.H:142
std::string m_vel_timetable
File name for velocity forcing time table.
Definition ABLFieldInit.H:54
amrex::Real m_ref_height
Reference height for velocity perturbations.
Definition ABLFieldInit.H:103
Definition Field.H:116
Definition BCInterface.cpp:7
Generated by 1.12.0