ops Namespace Reference

AMR-Wind API: amr_wind::actuator::ops Namespace Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::actuator::ops Namespace Reference

Namespaces

namespace  base
 
namespace  joukowsky
 
namespace  uniformct
 

Classes

class  ActSrcOp
 
class  ActSrcOp< ActTrait, ActSrcDisk, std::enable_if_t< std::is_base_of_v< DiskType, ActTrait > > >
 
class  ActSrcOp< ActTrait, ActSrcDisk, std::enable_if_t< std::is_base_of_v< TurbineType, ActTrait > > >
 
class  ActSrcOp< ActTrait, ActSrcLine >
 
struct  ComputeForceOp
 
struct  ComputeForceOp< ActTrait, ActSrcLine, typename std::enable_if_t< std::is_base_of_v< WingType, ActTrait > &&UseDefaultOp< ActTrait, ActSrcLine >::compute_force > >
 
struct  ComputeForceOp< Joukowsky, ActSrcDisk >
 Compute Forces following procedures of Sorenson 2020. More...
 
struct  ComputeForceOp< TurbineFast, SrcTrait >
 
struct  ComputeForceOp< UniformCt, ActSrcDisk >
 
struct  InitDataOp
 
struct  InitDataOp< FixedWing, ActSrcLine >
 
struct  InitDataOp< FlatPlate, ActSrcLine >
 
struct  InitDataOp< Joukowsky, ActSrcDisk >
 
struct  InitDataOp< TurbineFast, SrcTrait >
 
struct  InitDataOp< UniformCt, ActSrcDisk >
 
struct  ProcessOutputsOp
 
struct  ProcessOutputsOp< ActTrait, SrcTrait, typename std::enable_if_t< std::is_base_of_v< WingType, ActTrait > &&UseDefaultOp< ActTrait, ActSrcLine >::process_outputs > >
 
struct  ProcessOutputsOp< Joukowsky, ActSrcDisk >
 
struct  ProcessOutputsOp< TurbineFast, SrcTrait >
 
struct  ProcessOutputsOp< UniformCt, ActSrcDisk >
 
struct  ReadInputsOp
 
struct  ReadInputsOp< FixedWing, ActSrcLine >
 
struct  ReadInputsOp< FlatPlate, ActSrcLine >
 
struct  ReadInputsOp< Joukowsky, ActSrcDisk >
 
struct  ReadInputsOp< TurbineFast, SrcTrait >
 
struct  ReadInputsOp< UniformCt, ActSrcDisk >
 
class  SpreadingFunction
 A collection of spreading functions This class allows for polymorphic spreading functions. The concept is based on Impossibly Fast C++ Delegates proposed here: https://www.codeproject.com/Articles/11015/The-Impossibly-Fast-C-Delegates. More...
 
struct  UpdatePosOp
 
struct  UpdatePosOp< ActTrait, ActSrcDisk, std::enable_if_t< std::is_base_of_v< DiskType, ActTrait > > >
 
struct  UpdatePosOp< ActTrait, ActSrcLine, typename std::enable_if_t< std::is_base_of_v< WingType, ActTrait > &&UseDefaultOp< ActTrait, ActSrcLine >::update_pos > >
 
struct  UpdatePosOp< Joukowsky, ActSrcDisk >
 
struct  UpdatePosOp< TurbineFast, SrcTrait >
 
struct  UpdatePosOp< UniformCt, ActSrcDisk >
 
struct  UpdateVelOp
 
struct  UpdateVelOp< ActTrait, ActSrcDisk, std::enable_if_t< std::is_base_of_v< DiskType, ActTrait > > >
 
struct  UpdateVelOp< ActTrait, ActSrcLine, typename std::enable_if_t< std::is_base_of_v< WingType, ActTrait > &&UseDefaultOp< ActTrait, ActSrcLine >::update_vel > >
 
struct  UpdateVelOp< TurbineFast, SrcTrait >
 
struct  UseDefaultOp
 

Functions

template<typename T >
void determine_influenced_procs (typename T::DataType &)
 
template<typename T >
void determine_root_proc (typename T::DataType &, amrex::Vector< int > &)
 
template<>
void determine_influenced_procs< TurbineFast > (typename TurbineFast::DataType &data)
 
template<>
void determine_root_proc< TurbineFast > (typename TurbineFast::DataType &data, amrex::Vector< int > &act_proc_count)
 
template<>
const AirfoilTableairfoil_lookup< FixedWing > (FixedWing::DataType &data)
 
template<>
const ThinAirfoilairfoil_lookup< FlatPlate > (FlatPlate::DataType &data)
 
template<typename T >
const AirfoilTraits< T >::AirfoilLookup & airfoil_lookup (typename T::DataType &data)
 

Function Documentation

◆ airfoil_lookup()

template<typename T >
const AirfoilTraits< T >::AirfoilLookup & amr_wind::actuator::ops::airfoil_lookup ( typename T::DataType & data)

◆ airfoil_lookup< FixedWing >()

◆ airfoil_lookup< FlatPlate >()

◆ determine_influenced_procs()

template<typename T >
void amr_wind::actuator::ops::determine_influenced_procs ( typename T::DataType & data)

Determine the list of processes (MPI ranks) that is expected to be influenced by this actuator source.

The list of processes is used to determine where velocity sampling data is too be gathered, as well as ensuring that all actuator data is properly mapped.

◆ determine_influenced_procs< TurbineFast >()

◆ determine_root_proc()

template<typename T >
void amr_wind::actuator::ops::determine_root_proc ( typename T::DataType & data,
amrex::Vector< int > & act_proc_count )

During initialization determine the influenced processes and elect a root process to manage I/O and external solver interfaces for this turbine.

Template Parameters
TAn actuator traits type
Parameters
dataData object for the specific actuator instance
act_proc_countA map of the number of turbines managed by each proc

◆ determine_root_proc< TurbineFast >()

template<>
void amr_wind::actuator::ops::determine_root_proc< TurbineFast > ( typename TurbineFast::DataType & data,
amrex::Vector< int > & act_proc_count )
inline