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

How do I use interpolationTable

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 4, 2009, 00:22
Default Hello, I have a couple of q
  #1
New Member
 
Peter Johnston
Join Date: Mar 2009
Location: Brisbane, Queensland, Australia
Posts: 25
Rep Power: 17
prjohnston is on a distinguished road
Hello,

I have a couple of questions regarding the use of interpolationTable. I have studied the routine timeVaryingUniformFixedValueFvPatchField.C quite closely. In this routine interpolationTable is instantiated with the name timeSeries_. The interpolation is performed via the line

timeSeries_(this->db().time().timeOutputValue())

This line performs an interpolation from a data table given in a file and returns a value. In the above mentioned routine this value is used to set the inlet velocity in flow simulation.

My questions are:

1) What is the form (type?) of the value returned after the call to timeSeries_?

2) How can I see (print out) this value?

3) How can I use the value is some other fashion?

4) Can I use the value simply as a scalar (which is what it should be)?

Any insights would be much appreciated.

Thank you,

Peter.
prjohnston is offline   Reply With Quote

 


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



All times are GMT -4. The time now is 23:19.