BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::gastables::InputTransport Class Reference

Reader for trans.inp, the CEA transport property table. More...

#include <cl_GT_InputTransport.hpp>

Inheritance diagram for belfem::gastables::InputTransport:
[legend]
Collaboration diagram for belfem::gastables::InputTransport:
[legend]

Public Member Functions

 InputTransport (const string &aPath)
 Default Constructor.
 ~InputTransport ()=default
void read_data (RefGas *aRefgas)
uint entry_exists (RefGas *aRefgas)
bool interaction_parameter_exists (const string &aLabelA, const string &aLabelB)
Public Member Functions inherited from belfem::Ascii
 Ascii (const string &aPath, const enum FileMode &aMode)
virtual ~Ascii ()
bool save ()
void print (const std::string &aLine)
index_t length () const
 return the number of lines
stringline (const index_t aLineNumber)
const stringline (const index_t aLineNumber) const

Additional Inherited Members

Protected Attributes inherited from belfem::Ascii
string mPath
const FileMode mMode
Cell< stringmBuffer
bool mChangedSinceLastSave = false

Detailed Description

Reader for trans.inp, the CEA transport property table.

One species may carry several viscosity and conductivity intervals, and the two are interleaved in the file, so the reader hands RefGas both sets separately. The file also holds interaction pairs - records keyed on two species names - used for the binary viscosity of mixtures.

Like the other tables this one is fixed column; the temperature range fields in particular are narrow enough that the parse window has to be exact, or a fractional bound such as 63.7 K silently reads as 63.

Constructor & Destructor Documentation

◆ InputTransport()

belfem::gastables::InputTransport::InputTransport ( const string & aPath)

Default Constructor.

Loads an input file from a path

Parameters
aPath

◆ ~InputTransport()

belfem::gastables::InputTransport::~InputTransport ( )
default

Member Function Documentation

◆ entry_exists()

uint belfem::gastables::InputTransport::entry_exists ( RefGas * aRefgas)

◆ interaction_parameter_exists()

bool belfem::gastables::InputTransport::interaction_parameter_exists ( const string & aLabelA,
const string & aLabelB )

◆ read_data()

void belfem::gastables::InputTransport::read_data ( RefGas * aRefgas)

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