Simple 2D thermodynamic table used to identify the starting point for the Newton solver.
More...
#include <CDataDrivenFluid.hpp>
|
| | MiniTable2D ()=default |
| |
| void | SetNPoints (const size_t nP_in) |
| | Set the number of table nodes.
|
| |
| void | SetNVars (const size_t n_vars_in) |
| | Set the number of thermodynamic variables in the table.
|
| |
| void | SetTableData (const size_t iVar, const size_t iX, const su2double val_var) |
| | Specify the thermodynamic data at a table node.
|
| |
| void | SizeTable () |
| | Size table data arrays.
|
| |
| void | ScaleTableData () |
| | Normalize thermodynamic data for regularization.
|
| |
| size_t | FindNode (const size_t iX, const su2double val_x, const size_t iY, const su2double val_y) const |
| | Find the node in the table closest to the query.
|
| |
Simple 2D thermodynamic table used to identify the starting point for the Newton solver.
- Author
- : E.C.Bunschoten.
◆ MiniTable2D()
| MiniTable2D::MiniTable2D |
( |
| ) |
|
|
default |
◆ FindNode()
| size_t MiniTable2D::FindNode |
( |
const size_t |
iX, |
|
|
const su2double |
val_x, |
|
|
const size_t |
iY, |
|
|
const su2double |
val_y |
|
) |
| const |
Find the node in the table closest to the query.
- Parameters
-
| [in] | iX | - Index of the first thermodynamic variable. |
| [in] | val_x | - Query of the first thermodynamic variable. |
| [in] | iY | - Index of the second thermodynamic variable. |
| [in] | val_y | - Query of the second thermodynamic variable. |
- Returns
- Nearest neighbor index.
◆ ScaleTableData()
| void MiniTable2D::ScaleTableData |
( |
| ) |
|
Normalize thermodynamic data for regularization.
◆ SetNPoints()
| void MiniTable2D::SetNPoints |
( |
const size_t |
nP_in | ) |
|
|
inline |
Set the number of table nodes.
- Parameters
-
| [in] | nP_in | - Number of table nodes. |
◆ SetNVars()
| void MiniTable2D::SetNVars |
( |
const size_t |
n_vars_in | ) |
|
|
inline |
Set the number of thermodynamic variables in the table.
- Parameters
-
| [in] | n_vars_in | - Number of thermodynamic variables. |
◆ SetTableData()
| void MiniTable2D::SetTableData |
( |
const size_t |
iVar, |
|
|
const size_t |
iX, |
|
|
const su2double |
val_var |
|
) |
| |
|
inline |
Specify the thermodynamic data at a table node.
- Parameters
-
| [in] | iVar | - Variable index. |
| [in] | iX | - Table node index. |
| [in] | val_var | - Thermodynamic state value. |
◆ SizeTable()
| void MiniTable2D::SizeTable |
( |
| ) |
|
The documentation for this class was generated from the following files: