/home/runner/work/amr-wind/amr-wind/amr-wind/physics/SyntheticTurbulence.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
SyntheticTurbulence.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
Definition FieldRepo.H:86
Definition SimTime.H:30
Definition SyntheticTurbulence.H:148
static std::string identifier()
Definition SyntheticTurbulence.H:150
~SyntheticTurbulence() override=default
SyntheticTurbulence(const SyntheticTurbulence &)=delete
std::string m_turb_filename
Definition SyntheticTurbulence.H:189
void pre_advance_work() override
Definition SyntheticTurbulence.cpp:484
amrex::Real m_time_offset
Definition SyntheticTurbulence.H:200
void post_advance_work() override
Definition SyntheticTurbulence.H:168
void update_impl(const SynthTurbDeviceData &, const InterpWeights &, const T &)
Definition SyntheticTurbulence.cpp:554
SyntheticTurbulence & operator=(const SyntheticTurbulence &)=delete
const amr_wind::SimTime & m_time
Definition SyntheticTurbulence.H:181
void post_regrid_actions() override
Definition SyntheticTurbulence.H:164
void initialize_fields(int level, const amrex::Geometry &geom) override
Definition SyntheticTurbulence.cpp:480
std::unique_ptr< synth_turb::MeanProfile > m_wind_profile
Definition SyntheticTurbulence.H:194
SyntheticTurbulence()=delete
amrex::Real m_gauss_scaling
Definition SyntheticTurbulence.H:198
std::string m_mean_wind_type
Definition SyntheticTurbulence.H:196
SynthTurbData m_turb_grid
Definition SyntheticTurbulence.H:192
void post_init_actions() override
Definition SyntheticTurbulence.H:162
const amrex::AmrCore & m_mesh
Definition SyntheticTurbulence.H:183
Definition SyntheticTurbulence.H:29
const int m_shear_dir
Definition SyntheticTurbulence.H:47
MeanProfile(double ref_vel, int shear_dir=2)
Definition SyntheticTurbulence.H:31
amrex::Real reference_velocity() const
Definition SyntheticTurbulence.H:37
int shear_dir() const
Definition SyntheticTurbulence.H:39
const double m_ref_vel
Definition SyntheticTurbulence.H:46
virtual ~MeanProfile()=default
MeanVelOp device_instance() const
Definition SyntheticTurbulence.H:41
Definition BCInterface.cpp:7
Definition SyntheticTurbulence.H:130
Definition SyntheticTurbulence.H:53
amrex::Gpu::DeviceVector< double > vvel_d
Definition SyntheticTurbulence.H:77
amrex::Gpu::DeviceVector< double > wvel_d
Definition SyntheticTurbulence.H:78
amrex::Gpu::DeviceVector< double > uvel_d
Definition SyntheticTurbulence.H:76
Definition SyntheticTurbulence.H:86
vs::VectorT< int > box_dims
Definition SyntheticTurbulence.H:88
SynthTurbDeviceData(SynthTurbData &hdata)
Definition SyntheticTurbulence.H:112
Definition SyntheticTurbulence.H:18
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(double) const
Definition SyntheticTurbulence.H:20
Definition tensor.H:14
Definition vector.H:13
Generated by 1.12.0