VelPlaneAveragingFine Class Reference

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

#include <FieldPlaneAveragingFine.H>

Inheritance diagram for amr_wind::VelPlaneAveragingFine:
[legend]
Collaboration diagram for amr_wind::VelPlaneAveragingFine:
[legend]

Public Member Functions

 VelPlaneAveragingFine (CFDSim &sim, int axis_in)
 
 ~VelPlaneAveragingFine () override=default
 
void operator() () override
 
template<typename IndexSelector >
void compute_hvelmag_averages (const IndexSelector &idxOp)
 
amrex::Real line_hvelmag_average_interpolated (amrex::Real x) const
 
amrex::Real line_su_average_interpolated (amrex::Real x) const
 
amrex::Real line_sv_average_interpolated (amrex::Real x) const
 
- Public Member Functions inherited from amr_wind::FPlaneAveragingFine< Field >
 FPlaneAveragingFine (const Field &field_in, const amr_wind::SimTime &time, int axis_in)
 
virtual ~FPlaneAveragingFine ()=default
 
void convert_x_to_ind (amrex::Real x, int &ind, amrex::Real &c) const
 
amrex::Real line_average_interpolated (amrex::Real x, int comp) const
 
amrex::Real line_average_cell (int ind, int comp) const
 
void output_line_average_ascii (const std::string &filename, int step, amrex::Real time)
 
void output_line_average_ascii (int step, amrex::Real time)
 
void set_precision (int p)
 
int axis () const
 
int ncomp () const
 
int ncell_line () const
 
int last_updated_index () const
 
const amrex::Vector< amrex::Real > & line_average () const
 
void line_average (int comp, amrex::Vector< amrex::Real > &l_vec)
 
const amrex::Vector< amrex::Real > & line_centroids () const
 
const Fieldfield () const
 
void compute_averages (const IndexSelector &idxOp)
 

Private Attributes

amrex::Vector< amrex::Real > m_line_hvelmag_average
 
amrex::Vector< amrex::Real > m_line_Su_average
 
amrex::Vector< amrex::Real > m_line_Sv_average
 

Additional Inherited Members

- Protected Attributes inherited from amr_wind::FPlaneAveragingFine< Field >
int m_ncomp
 
amrex::Vector< amrex::Real > m_line_average
 
amrex::Vector< amrex::Real > m_line_xcentroid
 
amrex::Real m_dx
 
amrex::Real m_xlo
 
amrex::Real m_xhi
 
int m_ncell_line
 
int m_precision
 
int m_last_updated_index
 
const Fieldm_field
 
const SimTimem_time
 
const int m_axis
 

Detailed Description

Specific application of FieldPlaneAveraging to the velocity field

Constructor & Destructor Documentation

◆ VelPlaneAveragingFine()

amr_wind::VelPlaneAveragingFine::VelPlaneAveragingFine ( CFDSim & sim,
int axis_in )

◆ ~VelPlaneAveragingFine()

amr_wind::VelPlaneAveragingFine::~VelPlaneAveragingFine ( )
overridedefault

Member Function Documentation

◆ compute_hvelmag_averages()

template<typename IndexSelector >
void amr_wind::VelPlaneAveragingFine::compute_hvelmag_averages ( const IndexSelector & idxOp)

line storage for the average horizontal velocity magnitude time y-velocity fill line storage with horizontal velocity magnitude averages

◆ line_hvelmag_average_interpolated()

amrex::Real amr_wind::VelPlaneAveragingFine::line_hvelmag_average_interpolated ( amrex::Real x) const

evaluate line haverage at specific location for horizontal velocity magnitude

◆ line_su_average_interpolated()

amrex::Real amr_wind::VelPlaneAveragingFine::line_su_average_interpolated ( amrex::Real x) const

evaluate line haverage at specific location for horizontal velocity magnitude times x-velocity

◆ line_sv_average_interpolated()

amrex::Real amr_wind::VelPlaneAveragingFine::line_sv_average_interpolated ( amrex::Real x) const

evaluate line haverage at specific location for horizontal velocity magnitude times y-velocity

◆ operator()()

void amr_wind::VelPlaneAveragingFine::operator() ( )
overridevirtual

Member Data Documentation

◆ m_line_hvelmag_average

amrex::Vector<amrex::Real> amr_wind::VelPlaneAveragingFine::m_line_hvelmag_average
private

◆ m_line_Su_average

amrex::Vector<amrex::Real> amr_wind::VelPlaneAveragingFine::m_line_Su_average
private

line storage for the average horizontal velocity magnitude

◆ m_line_Sv_average

amrex::Vector<amrex::Real> amr_wind::VelPlaneAveragingFine::m_line_Sv_average
private

line storage for the average horizontal velocity magnitude time x-velocity


The documentation for this class was generated from the following files: