CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to read data from a table in the solver code openfoam (https://www.cfd-online.com/Forums/openfoam-programming-development/228582-how-read-data-table-solver-code-openfoam.html)

upuli July 7, 2020 04:42

How to read data from a table in the solver code openfoam
 
Hi friends

I want to read data(Y1) given in a dat file to be read by the solver and compare with a volume scalar field(Y2) . The data does not vary with time. But there is a number of data which has to be compared with the given volume scalar field at each time step. Example of the data is given below.
Your help is verymuch appreciated.

Y1

10
8.5
9
14
21
6.8
3.5
12.4
19.5

Thanks


All times are GMT -4. The time now is 11:22.