/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/actuator/wing/wing_ops.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
wing_ops.H
Go to the documentation of this file.
Definition MultiParser.H:18
void query(const std::string &name, vs::Vector &value) const
Definition MultiParser.H:57
const AirfoilTraits< T >::AirfoilLookup & airfoil_lookup(typename T::DataType &data)
void new_wing_position_velocity(VecList &points, vs::Vector &vtr, const int npts, const amrex::Real tn, const amrex::Real tnp1, const std::string &motion, const amrex::Real period, const vs::Vector svec)
Definition wing_ops.cpp:161
void refresh_wing_position(VecList &vpoints, VecList fpoints, const int npts)
Definition wing_ops.cpp:151
ComponentView make_component_view(typename T::DataType &data)
Definition wing_ops.H:45
void init_data_structures(WingBaseData &wdata, ActGrid &grid)
Definition wing_ops.cpp:10
void prepare_netcdf_file(const std::string &ncfile, const WingBaseData &meta, const ActInfo &info, const ActGrid &grid)
Definition wing_ops.cpp:49
void write_netcdf(const std::string &ncfile, const WingBaseData &meta, const ActInfo &info, const ActGrid &grid, const amrex::Real time)
Definition wing_ops.cpp:111
Definition ActParser.H:6
void fllc_init(FLLCData &data, const ComponentView &view, const amrex::Real eps_chord)
Initialize FLLC data structure. This should be called at the end of the first ComputeForceOp to ensur...
Definition FLLC.cpp:6
amrex::Vector< amr_wind::vs::Vector > VecList
Definition actuator_types.H:62
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::iterator_traits< C2 >::value_type linear_angle(const C1 xbegin, const C1 xend, const C2 yinp, const typename std::iterator_traits< C1 >::value_type &xout, const typename std::iterator_traits< C1 >::value_type &upper_bound)
Definition linear_interpolation.H:213
Slice< T > slice(std::vector< T > &vec, const size_t start, const size_t count)
Definition Slice.H:66
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real degrees(const amrex::Real rad_val)
Convert from radians to degrees.
Definition trig_ops.H:42
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real radians(const amrex::Real deg_val)
Convert from degrees to radians.
Definition trig_ops.H:35
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Tensor quaternion(const Vector &axis, const amrex::Real angle)
Definition tensorI.H:215
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T mag(const TensorT< T > &t)
Definition tensorI.H:182
Definition actuator_types.H:38
AirfoilTable AirfoilLookup
Definition AirfoilTable.H:80
Definition actuator_types.H:126
TensorSlice orientation
Definition actuator_types.H:130
This struct will operate on a blade/wing. The velocity from the simulation is corrected using the Fil...
Definition FLLCOp.H:17
void operator()(typename ActTrait::DataType &data)
Definition wing_ops.H:123
Definition actuator_ops.H:61
void read_io_options(const utils::ActParser &pp)
Definition wing_ops.H:274
std::string m_nc_filename
Definition wing_ops.H:267
void prepare_outputs(const std::string &out_dir)
Definition wing_ops.H:279
void write_outputs()
Definition wing_ops.H:286
ActTrait::DataType & m_data
Definition wing_ops.H:264
std::string m_out_dir
Definition wing_ops.H:266
ProcessOutputsOp(typename ActTrait::DataType &data)
Definition wing_ops.H:271
Definition actuator_ops.H:71
void operator()(typename ActTrait::DataType &data)
Definition wing_ops.H:88
Definition actuator_ops.H:43
void operator()(typename ActTrait::DataType &data)
Definition wing_ops.H:106
Definition actuator_ops.H:54
Definition wing_ops.H:73
static constexpr bool update_vel
Definition wing_ops.H:75
static constexpr bool compute_force
Definition wing_ops.H:76
static constexpr bool process_outputs
Definition wing_ops.H:77
static constexpr bool update_pos
Definition wing_ops.H:74
Definition vector.H:13
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & z() &noexcept
Definition vector.H:99
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & x() &noexcept
Definition vector.H:97
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE VectorT< T > unit() const
Return the unit vector parallel to this vector.
Definition vector.H:92
Generated by 1.12.0