IBModel< GeomTrait > Class Template Reference

AMR-Wind API: amr_wind::ib::IBModel< GeomTrait > Class Template Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <IBModel.H>

Inheritance diagram for amr_wind::ib::IBModel< GeomTrait >:
[legend]
Collaboration diagram for amr_wind::ib::IBModel< GeomTrait >:
[legend]

Public Member Functions

 IBModel (CFDSim &sim, const std::string &label, const int id)
 
const std::string & label () const override
 Return the unique identifier (name) for this instance.
 
int id () const override
 Return the unique tag (integer ID) for this instance.
 
void read_inputs (const ::amr_wind::utils::MultiParser &pp) override
 
void update_positions () override
 
void update_velocities () override
 
void compute_forces () override
 
void prepare_outputs (const std::string &out_dir) override
 
void write_outputs () override
 
void init_ib () override
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

GeomTrait::DataType m_data
 
ops::ProcessOutputsOp< GeomTrait > m_out_op
 Outputs processor.
 

Detailed Description

template<typename GeomTrait>
class amr_wind::ib::IBModel< GeomTrait >

Concrete implementation of the IBModel for different geometry types.

Template Parameters
GeomTraitA geometry type trait that defines the behavior of the different actions (initialization, velocity update, force computation) that are executed by the IBModel class through the amr_wind::ib physics driver class.

Constructor & Destructor Documentation

◆ IBModel()

template<typename GeomTrait >
amr_wind::ib::IBModel< GeomTrait >::IBModel ( CFDSim & sim,
const std::string & label,
const int id )
inline
Parameters
simCFD simulation environment instance
labelUnique string identifier for this instance
idUnique integer tag for this instance

Member Function Documentation

◆ compute_forces()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::compute_forces ( )
inlineoverride

◆ id()

template<typename GeomTrait >
int amr_wind::ib::IBModel< GeomTrait >::id ( ) const
inlineoverride

Return the unique tag (integer ID) for this instance.

◆ identifier()

template<typename GeomTrait >
static std::string amr_wind::ib::IBModel< GeomTrait >::identifier ( )
inlinestatic

◆ init_ib()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::init_ib ( )
inlineoverride

◆ label()

template<typename GeomTrait >
const std::string & amr_wind::ib::IBModel< GeomTrait >::label ( ) const
inlineoverride

Return the unique identifier (name) for this instance.

◆ prepare_outputs()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::prepare_outputs ( const std::string & out_dir)
inlineoverride

◆ read_inputs()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::read_inputs ( const ::amr_wind::utils::MultiParser & pp)
inlineoverride

◆ update_positions()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::update_positions ( )
inlineoverride

◆ update_velocities()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::update_velocities ( )
inlineoverride

◆ write_outputs()

template<typename GeomTrait >
void amr_wind::ib::IBModel< GeomTrait >::write_outputs ( )
inlineoverride

Member Data Documentation

◆ m_data

template<typename GeomTrait >
GeomTrait::DataType amr_wind::ib::IBModel< GeomTrait >::m_data
private

Instance that holds all data related to a particular immersed boundary type

◆ m_out_op

template<typename GeomTrait >
ops::ProcessOutputsOp<GeomTrait> amr_wind::ib::IBModel< GeomTrait >::m_out_op
private

Outputs processor.


The documentation for this class was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/immersed_boundary/IBModel.H