ReynoldsStress Class Reference

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

#include <ReynoldsStress.H>

Inheritance diagram for amr_wind::averaging::ReynoldsStress:
[legend]
Collaboration diagram for amr_wind::averaging::ReynoldsStress:
[legend]

Public Member Functions

 ReynoldsStress (CFDSim &, const std::string &fname)
 
void operator() (const SimTime &, const amrex::Real, const amrex::Real) override
 
const std::string & average_field_name () override
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

const Fieldm_field
 Fluctuating field.
 
const Fieldm_average
 Reynolds averaged field.
 
Fieldm_stress
 The stresses < AB >
 
Fieldm_re_stress
 The reynolds stresses < ab > = < AB > - < A > < B >
 

Detailed Description

Compute correlation from 2 CFD fields The formula used to compute the correlations between two fields: A = < A > + a and B = < B > + b is < ab > = < AB > -< A >< B > where A and B are the mean values and a and b are the fluctuations

Constructor & Destructor Documentation

◆ ReynoldsStress()

amr_wind::averaging::ReynoldsStress::ReynoldsStress ( CFDSim & sim,
const std::string & fname )

Member Function Documentation

◆ average_field_name()

const std::string & amr_wind::averaging::ReynoldsStress::average_field_name ( )
override

◆ identifier()

static std::string amr_wind::averaging::ReynoldsStress::identifier ( )
inlinestatic

◆ operator()()

void amr_wind::averaging::ReynoldsStress::operator() ( const SimTime & time,
const amrex::Real filter_width,
const amrex::Real elapsed_time )
override

Update field averaging at a given timestep

Parameters
timeSimTime instance
filter_widthTime-averaging window specified by user
elapsed_timeTime elapsed since averaging was initiated

Member Data Documentation

◆ m_average

const Field& amr_wind::averaging::ReynoldsStress::m_average
private

Reynolds averaged field.

◆ m_field

const Field& amr_wind::averaging::ReynoldsStress::m_field
private

Fluctuating field.

◆ m_re_stress

Field& amr_wind::averaging::ReynoldsStress::m_re_stress
private

The reynolds stresses < ab > = < AB > - < A > < B >

◆ m_stress

Field& amr_wind::averaging::ReynoldsStress::m_stress
private

The stresses < AB >


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