|
[Sponsors] |
November 28, 2011, 16:48 |
TimeVaryingUniformFixedValue b.c.
|
#1 |
New Member
Wei Ma
Join Date: Feb 2011
Posts: 14
Rep Power: 15 |
Hi Guys,
I am trying to implement TimeVaryUniformFixedValue b.c to setup a temperature b.c. which changes linearly with time, like T=10+5*time() in T/0 I wrote as: front_heat_in { type timeVaryingUniformFixedValue; timeDataFileName "test1.dat"; value uniform 0; } and the error came up: --> FOAM FATAL IO ERROR: keyword outOfBounds is undefined in dictionary "/home/merlin/OpenFOAM/merlin-1.7.1/run/tutorials/myFoam/ckaniso2D/0/T::boundaryField::front_heat_in" file: /home/merlin/OpenFOAM/merlin-1.7.1/run/tutorials/myFoam/ckaniso2D/0/T::boundaryField::front_heat_in from line 33 to line 35. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 395. BTW, the time series, "test1.dat" was coded: ( 1 300 2 300 3 300 4 330 5 340 6 350 7 360 8 370 9 380 10 390 ) where the first column stands for time: 1sec, 2sec.... and the second column is temperature: 300k 300k 300k 330k ... The purpose is pretty simple, but i am not familiar with this transient case, please help me! -Thank you in advance |
|
November 28, 2011, 21:48 |
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
It's telling you that you are missing the keyword "outOfBounds" in the dictionary. I believe this is a setting that determines how it handles extrapolation to time values outside what is defined in your data. See here:
http://openfoamwiki.net/index.php/Op...rpolationTable
__________________
~~~ Follow me on twitter @DavidGaden |
|
November 29, 2011, 16:36 |
|
#3 | |
New Member
Wei Ma
Join Date: Feb 2011
Posts: 14
Rep Power: 15 |
Quote:
Appreciate that. It works well now after I added "outOfBounds warn;" but still cant tell the necessity for this line -merlin |
||
October 1, 2013, 04:45 |
|
#4 |
Member
Hale
Join Date: May 2013
Posts: 53
Rep Power: 13 |
Hi everyone,
I want to apply the timeVaryingUniformFixedValue boundary condition to the outlet in such a way that the outlet is closed for the first 3 seconds then it is open (an inletOutlet b.c.) for the next 2 seconds and it continues like that. Is it possible to apply derived boundary conditions (e.g. inletOutlet) in timeVaryingUniformFixedValue for the velocity? Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Confusion between 'non-slip' and 'slip' B.C | jinwon park | Main CFD Forum | 7 | March 6, 2008 05:56 |
how to set such B.C. in Fluent? | Sherri | FLUENT | 1 | January 12, 2006 13:32 |
Urgent! Help on UDF to set B.C. of 3rd type | Ray Hong | FLUENT | 0 | December 28, 2005 20:35 |
How to set B.C. of the 2nd or 3rd type in UDS? | Ray Hong | FLUENT | 0 | December 28, 2005 07:03 |
Non-Reflecting B.C. in NSC2KE | Zou Chu | Main CFD Forum | 2 | May 27, 1999 22:26 |