CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   import tableFile to OF (

kpax October 4, 2012 09:48

import tableFile to OF
hello fellow FOAMers,

i have a simple question: when using the uniformFixedValue BC with a tableFile, the data in that file is (obviously) read to give the BC values. How does OF do this exactly? I can't figure it out.

My goal is to import a tableFile in the main-function of a new solver.

any help is appreciated.

wyldckat October 5, 2012 08:05

Greetings kpax,

I don't have time to try and create an example myself, but I can point you in the right directions!
  • The table data loading is handled by the classes that are present here: "src/OpenFOAM/primitives/functions/DataEntry"
  • For using "DataEntry" stuff, see "applications/test/dataEntry/Test-DataEntry.C"
Best regards,

kpax October 8, 2012 06:49

hello wyldckat,

thanks a lot for the hints, that actually led me to the solution of my problem.

dont know what i would do without this forum .. :>

All times are GMT -4. The time now is 14:49.