CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

import tableFile to OF

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2012, 09:48
Default import tableFile to OF
  #1
Member
 
Join Date: Jul 2012
Posts: 31
Rep Power: 13
kpax is on a distinguished road
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.
kpax is offline   Reply With Quote

Old   October 5, 2012, 08:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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,
Bruno
piccinini and Abhi16 like this.
__________________
wyldckat is offline   Reply With Quote

Old   October 8, 2012, 06:49
Default
  #3
Member
 
Join Date: Jul 2012
Posts: 31
Rep Power: 13
kpax is on a distinguished road
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 .. :>
kpax is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I developed an FEM toolkit in Java: FuturEye nkliuyueming Main CFD Forum 7 January 29, 2016 13:28
[ICEM] Best way to import geometry ICEM Cottbus ANSYS Meshing & Geometry 4 June 12, 2012 09:42
Import transient cfx-results for static structural analysis in Ansys WB 13 Colt Seavers ANSYS 1 August 11, 2011 06:01
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
I-DEAS CAD data import with boundary conditions Yunus FLUENT 2 March 14, 2001 14:45


All times are GMT -4. The time now is 05:34.