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

Trouble understanding the OpenFOAM userguide

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2017, 11:18
Default Trouble understanding the OpenFOAM userguide
  #1
New Member
 
huangkai
Join Date: May 2017
Posts: 3
Rep Power: 9
huangkai is on a distinguished road
I'm a new of studying the OpenFOAM, when i read the 5.3, i can't understand the syntax below:

uniformValue table ((0 0) (10 2)) ????

The guide says inline list of (time value pairs; interpolates values linearly between times)?

What's the meaning of it?

Thank you for your hep.
huangkai is offline   Reply With Quote

Old   May 12, 2017, 02:48
Default
  #2
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
It is inlined, so if we "outline" it for clarity, it would look like:

Code:
uniformValue    <-- apply the same value to every cell (homogeneous/uniform)
table   <-- this is the value to-be-applied <-- we use a look-up table to apply a different value at different times.
(       <-- start a list
    (0 0)     <-- tuple "at t=0, value=0"
    (10 2)    <-- tuple "at t=10, value=2"
)       <-- end the list
And at times between t=0 and t=10 it linearly interpolates between value=0 and value=2 (assuming your quote is correct; I didn't verify):
Quote:
Originally Posted by huangkai
The guide says inline list of (time value pairs; interpolates values linearly between times)?
floquation is offline   Reply With Quote

Reply

Tags
table ((0 0) (10 2))


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
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 05:40
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04


All times are GMT -4. The time now is 03:58.