Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sierra::nalu::HStarConverter Class Reference

Calculates reference heat loss parameter. More...

#include <Converter.h>

Inheritance diagram for sierra::nalu::HStarConverter:
sierra::nalu::Converter

Public Member Functions

 HStarConverter (const bool isDelta=false)
 
virtual ~HStarConverter ()
 
virtual double query (const std::vector< double > &inputs) const
 Do a lookup in the table at the input variable coordinates provided. More...
 
virtual void read_hdf5 (H5IO &io)
 Read this Converter from the provided I/O device. More...
 
- Public Member Functions inherited from sierra::nalu::Converter
 Converter (const std::string &converterType)
 
virtual ~Converter ()
 
const std::string & name () const
 Get the name of the variable returned by this Converter. More...
 
const std::vector< std::string > & input_names () const
 Get the list of input variables, in the order that they are to be provided to the query() call. More...
 
unsigned int dimension () const
 
void print_summary () const
 Print a summary of this Converter configuration. More...
 

Private Member Functions

HStarConverter operator= (const HStarConverter &)
 
void augmented_mixfrac (const std::vector< double > &mixFrac, std::vector< double > &mixFracAug) const
 
double mixture_property (const std::vector< double > &mixFracAug, const std::vector< double > &streamProp) const
 

Private Attributes

unsigned int numMixFrac_
 
std::vector< double > zAug_
 
double hStar_ref_min_
 
std::vector< double > hStar_stream_min_
 
std::vector< double > a_
 

Additional Inherited Members

- Protected Attributes inherited from sierra::nalu::Converter
std::string name_
 
std::vector< std::string > inputNames_
 
unsigned int dimension_
 

Detailed Description

Calculates reference heat loss parameter.

This converter calculates the reference (median) conserved enthalpy value, given mixture fraction and conserved enthalpy. This is used by the nonadiabatic flamelet model for flows where the turbulence/ chemistry interactions may be either neglected (isDelta=true) or included (isDelta=false; default).

Constructor & Destructor Documentation

sierra::nalu::HStarConverter::HStarConverter ( const bool  isDelta = false)
explicit
sierra::nalu::HStarConverter::~HStarConverter ( )
virtual

Member Function Documentation

void sierra::nalu::HStarConverter::augmented_mixfrac ( const std::vector< double > &  mixFrac,
std::vector< double > &  mixFracAug 
) const
private

References numMixFrac_.

Referenced by query().

double sierra::nalu::HStarConverter::mixture_property ( const std::vector< double > &  mixFracAug,
const std::vector< double > &  streamProp 
) const
private

Referenced by query().

HStarConverter sierra::nalu::HStarConverter::operator= ( const HStarConverter )
private
double sierra::nalu::HStarConverter::query ( const std::vector< double > &  inputs) const
virtual

Do a lookup in the table at the input variable coordinates provided.

Parameters
inputs: Array of input variable values
Returns
: The state variable value interpolated from the table

Implements sierra::nalu::Converter.

References a_, augmented_mixfrac(), hStar_ref_min_, hStar_stream_min_, mixture_property(), numMixFrac_, and zAug_.

void sierra::nalu::HStarConverter::read_hdf5 ( H5IO io)
virtual

Member Data Documentation

std::vector<double> sierra::nalu::HStarConverter::a_
private

Referenced by query(), and read_hdf5().

double sierra::nalu::HStarConverter::hStar_ref_min_
private

Referenced by query(), and read_hdf5().

std::vector<double> sierra::nalu::HStarConverter::hStar_stream_min_
private

Referenced by query(), and read_hdf5().

unsigned int sierra::nalu::HStarConverter::numMixFrac_
private

Referenced by augmented_mixfrac(), query(), and read_hdf5().

std::vector<double> sierra::nalu::HStarConverter::zAug_
mutableprivate

Referenced by query(), and read_hdf5().


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