View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003750 | OpenFOAM | Feature | public | 2021-11-02 09:19 | 2021-11-02 11:57 |
Reporter | peksa | Assigned To | henry | ||
Priority | low | Severity | text | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 15.04 |
Product Version | dev | ||||
Summary | 0003750: UniformTable2 header example text clarification. | ||||
Description | Dear developers, I was trying to learn how to use UniformTable2 function feature in latest OpenFOAM-dev. I looked-up the source header (UniformTable2.H) for an example usage but quickly became puzzled by two aspects: 1) There is no pLow/pHigh/Tlow/Thigh keywords but they are replaced by low/high pairs. 2) How one should give a 2d matrix as an input for the "values" keyword? The present example is valid for 1d arrays only. 3) In case of two variables, which one corresponds the matrix row and column, respectively? I had to look into source code to ensure the behavior. Hence, I'd like to propose the following new header documentation: ------------------------ Example for the density of water between 1-3 bar (3 rows) and 280-350K (2 columns) \verbatim rho { type uniformTable; low (1e5 280); high (3e5 350); values 3 2 ( (991 992) (993 994) (995 996) ); } \endverbatim ------------------------ | ||||
Tags | No tags attached. | ||||