/home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/interface.cpp File Reference

Kynema API: /home/runner/work/kynema/kynema/kynema/src/interfaces/cfd/interface.cpp File Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
interface.cpp File Reference

Namespaces

namespace  kynema
 
namespace  kynema::interfaces
 
namespace  kynema::interfaces::cfd
 

Functions

void kynema::interfaces::cfd::GetNodeMotion (NodeData &node, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_x, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_q, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_v, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_vd)
 Populates the provided NodeData object with state information.
 
FloatingPlatform kynema::interfaces::cfd::CreateFloatingPlatform (const FloatingPlatformInput &input, Model &model)
 Adds nodes to the provided model based on the provided input configuration.
 
template<typename DeviceType >
void kynema::interfaces::cfd::SetPlatformLoads (const FloatingPlatform &platform, kynema::interfaces::HostState< DeviceType > &host_state)
 Sets the force vector at the Platform's mass node in the host_state.
 
void kynema::interfaces::cfd::GetFloatingPlatformMotion (FloatingPlatform &platform, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_x, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_q, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_v, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_vd)
 Sets the state data on the provided FloatingPlatform object.
 
Turbine kynema::interfaces::cfd::CreateTurbine (const TurbineInput &input, Model &model)
 Creates the Turbine object based on the input configuration and populates the provided model.
 
template<typename DeviceType >
void kynema::interfaces::cfd::SetTurbineLoads (const Turbine &turbine, kynema::interfaces::HostState< DeviceType > &host_state, State< DeviceType > &state)
 Sets the force loads on the provided HostState and State objects.
 
void kynema::interfaces::cfd::GetTurbineMotion (Turbine &turbine, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_x, const Kokkos::View< double *[7]>::HostMirror::const_type &host_state_q, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_v, const Kokkos::View< double *[6]>::HostMirror::const_type &host_state_vd)
 Populates the Turbine object with the appropriate state data.