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

A question on IOObject

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2008, 04:24
Default I have a suestion on how to ou
  #1
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
I have a suestion on how to output on file.
I'm coding an application that reproduce a turbulent fluctuation in each cell of a mesh with an analytical spectrum function. Now, I want to test my spectrum function so I need to output on a file the value of k and E(k) in each cell, where k is a wave number and E(k) the spectrum. k and E(k) are vectors , so for each cell I have:

k E(k)

a1 b1
a2 b2
a3 b3
... etc

How can I have this on a file? I can't define k and E(k) as a geometricField, as they not have one value for each cell but several values for each cell.

Thank you!
Ivan
ivan_cozza is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOobject r2d2 OpenFOAM Running, Solving & CFD 20 May 5, 2016 09:16
Create GeometricField without IOobject nadine OpenFOAM Running, Solving & CFD 3 August 15, 2008 10:24
IOobject and IOfield in OpenFoam xiao OpenFOAM Running, Solving & CFD 0 April 2, 2008 22:56
Use of IOobject to Output irishdave OpenFOAM Pre-Processing 1 January 8, 2008 12:12
IOobject constructor problem iyer_arvind OpenFOAM Running, Solving & CFD 3 November 19, 2006 07:39


All times are GMT -4. The time now is 02:18.