Reader for trans.inp, the CEA transport property table. More...
#include <cl_GT_InputTransport.hpp>
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 | |
| string & | line (const index_t aLineNumber) |
| const string & | line (const index_t aLineNumber) const |
Additional Inherited Members | |
| Protected Attributes inherited from belfem::Ascii | |
| string | mPath |
| const FileMode | mMode |
| Cell< string > | mBuffer |
| bool | mChangedSinceLastSave = false |
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.
| belfem::gastables::InputTransport::InputTransport | ( | const string & | aPath | ) |
Default Constructor.
Loads an input file from a path
| aPath |
|
default |
| bool belfem::gastables::InputTransport::interaction_parameter_exists | ( | const string & | aLabelA, |
| const string & | aLabelB ) |
| void belfem::gastables::InputTransport::read_data | ( | RefGas * | aRefgas | ) |