CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

I/O operations in openfoam

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

LinkBack Thread Tools Display Modes
Old   May 9, 2016, 06:04
Default I/O operations in openfoam
Saurabh Tandon
Join Date: Nov 2015
Location: Austin
Posts: 42
Rep Power: 3
STutexas is on a distinguished road

I have a question about Openfoam IO operations.
I have a text file containing a set of location vectors (x, y, z) and another file containing my input variable at these locations. There is no header in the file (Its just a text file in addition to the mesh file).
The location vectors are not necessarily located in the mesh (located outside the mesh in most cases) but affect my calculations. I want to read this file and create a list with locations and input variable.
Is there a command that directly does that? Or do I have to use fscanf, read the file and create the list.
Most of the links I have found contain I/O operations for the mesh and not very helpful.

STutexas is offline   Reply With Quote


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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 OpenFOAM Announcements from Other Sources 0 January 14, 2016 11:19
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07

All times are GMT -4. The time now is 09:36.