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

import tableFile to OF

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2012, 09:48
Default import tableFile to OF
  #1
Member
 
Join Date: Jul 2012
Posts: 31
Rep Power: 5
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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 likes this.
wyldckat is online now   Reply With Quote

Old   October 8, 2012, 06:49
Default
  #3
Member
 
Join Date: Jul 2012
Posts: 31
Rep Power: 5
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

Thread Tools
Display Modes

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 On
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 6 August 3, 2012 05:26
[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 21:30
I-DEAS CAD data import with boundary conditions Yunus FLUENT 2 March 14, 2001 15:45


All times are GMT -4. The time now is 07:52.