#include <Actuator.H>
Actuator line/disk modeling for wind turbines.
This class provides an interface to model wind turbines in a wind farm as actuator line/disk source terms.
- See also
- ActuatorModel, ActuatorContainer
◆ Actuator()
| kynema_sgf::actuator::Actuator::Actuator |
( |
CFDSim & | sim | ) |
|
|
explicit |
◆ ~Actuator()
| kynema_sgf::actuator::Actuator::~Actuator |
( |
| ) |
|
|
overridedefault |
◆ communicate_turbine_io()
| void kynema_sgf::actuator::Actuator::communicate_turbine_io |
( |
| ) |
|
|
private |
◆ compute_forces()
| void kynema_sgf::actuator::Actuator::compute_forces |
( |
| ) |
|
|
private |
Helper method to compute forces on all actuator components
◆ compute_source_term()
| void kynema_sgf::actuator::Actuator::compute_source_term |
( |
| ) |
|
|
private |
◆ get_act()
| ActuatorModel & kynema_sgf::actuator::Actuator::get_act |
( |
int | index | ) |
const |
|
inlinenodiscard |
◆ get_act_bylabel()
| ActuatorModel & kynema_sgf::actuator::Actuator::get_act_bylabel |
( |
const std::string & | actlabel | ) |
const |
|
nodiscard |
◆ get_actuator()
| T * kynema_sgf::actuator::Actuator::get_actuator |
( |
std::string & | key | ) |
const |
◆ identifier()
| std::string kynema_sgf::actuator::Actuator::identifier |
( |
| ) |
|
|
inlinestatic |
◆ initialize_fields()
| void kynema_sgf::actuator::Actuator::initialize_fields |
( |
int | , |
|
|
const amrex::Geometry & | ) |
|
inlineoverride |
◆ num_actuators()
| int kynema_sgf::actuator::Actuator::num_actuators |
( |
| ) |
const |
|
inlinenodiscardprotected |
Total number of actuator components (e.g., turbines) in the flow field.
◆ post_advance_work()
| void kynema_sgf::actuator::Actuator::post_advance_work |
( |
| ) |
|
|
override |
◆ post_init_actions()
| void kynema_sgf::actuator::Actuator::post_init_actions |
( |
| ) |
|
|
override |
◆ post_regrid_actions()
| void kynema_sgf::actuator::Actuator::post_regrid_actions |
( |
| ) |
|
|
override |
◆ pre_advance_work()
| void kynema_sgf::actuator::Actuator::pre_advance_work |
( |
| ) |
|
|
override |
◆ pre_init_actions()
| void kynema_sgf::actuator::Actuator::pre_init_actions |
( |
| ) |
|
|
override |
◆ prepare_outputs()
| void kynema_sgf::actuator::Actuator::prepare_outputs |
( |
| ) |
|
|
protectedvirtual |
◆ setup_container()
| void kynema_sgf::actuator::Actuator::setup_container |
( |
| ) |
|
|
private |
Set up the container for sampling velocities
Allocates memory and initializes the particles corresponding to actuator nodes for all turbines that influence the current MPI rank. This method is invoked once during initialization and during regrid step.
◆ update_positions()
| void kynema_sgf::actuator::Actuator::update_positions |
( |
| ) |
|
|
private |
Update actuator positions and sample velocities at new locations.
This method loops over all the turbines local to this MPI rank and updates the position vectors. These new locations are provided to the sampling container that samples velocities at these new locations.
- See also
- Actuator::update_velocities
◆ update_velocities()
| void kynema_sgf::actuator::Actuator::update_velocities |
( |
| ) |
|
|
private |
Provide updated velocities from container to actuator instances
- See also
- Acuator::update_positions
◆ m_act_source
| Field& kynema_sgf::actuator::Actuator::m_act_source |
|
private |
◆ m_actuators
| std::vector<std::unique_ptr<ActuatorModel> > kynema_sgf::actuator::Actuator::m_actuators |
|
private |
◆ m_container
◆ m_sim
| CFDSim& kynema_sgf::actuator::Actuator::m_sim |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/Actuator.H
- /home/runner/work/kynema-sgf/kynema-sgf/src/wind_energy/actuator/Actuator.cpp