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

TimeVaryingUniformFixedValue b.c.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2011, 15:48
Default TimeVaryingUniformFixedValue b.c.
  #1
New Member
 
Wei Ma
Join Date: Feb 2011
Posts: 14
Rep Power: 15
merlyn is on a distinguished road
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
merlyn is offline   Reply With Quote

Old   November 28, 2011, 20:48
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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
marupio is offline   Reply With Quote

Old   November 29, 2011, 15:36
Default
  #3
New Member
 
Wei Ma
Join Date: Feb 2011
Posts: 14
Rep Power: 15
merlyn is on a distinguished road
Quote:
Originally Posted by marupio View Post
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
Thank you buddy!
Appreciate that. It works well now after I added "outOfBounds warn;"
but still cant tell the necessity for this line

-merlin
merlyn is offline   Reply With Quote

Old   October 1, 2013, 03:45
Default
  #4
Member
 
Hale
Join Date: May 2013
Posts: 53
Rep Power: 12
Hale is on a distinguished road
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
Hale is offline   Reply With Quote

Reply


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
Confusion between 'non-slip' and 'slip' B.C jinwon park Main CFD Forum 7 March 6, 2008 04:56
how to set such B.C. in Fluent? Sherri FLUENT 1 January 12, 2006 12:32
Urgent! Help on UDF to set B.C. of 3rd type Ray Hong FLUENT 0 December 28, 2005 19:35
How to set B.C. of the 2nd or 3rd type in UDS? Ray Hong FLUENT 0 December 28, 2005 06:03
Non-Reflecting B.C. in NSC2KE Zou Chu Main CFD Forum 2 May 27, 1999 21:26


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