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

error about timeVaryingUniformFixedValue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2009, 05:59
Default error about timeVaryingUniformFixedValue
  #1
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Hey foamers!

I wish all of you have a good holiday.

I am trying to use the timeVaryingUniformFixedValue patch. But there is some error information as follows:

/OpenFOAM/cui-1.5/run/Project/Simplied_circular_geometry/Oodlagrangian/test/0/U::INLET"

file: /home/cui/OpenFOAM/cui-1.5/run/Project/Simplied_circular_geometry/Oodlagrangian/test/0/U::INLET from line 25 to line 27.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

Would you like to give me some advice about it?

Moreover, Does anybody know the tutorial for the patch?

Thanks and Best wishes!
flying is offline   Reply With Quote

Old   June 12, 2009, 09:21
Default
  #2
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Is there anybody caring about this problem?

I wish there will be good advice on it.
flying is offline   Reply With Quote

Old   June 14, 2009, 14:15
Default
  #3
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Hi,

could you post your U file? Looking at your errors it seems that your inlet bc is hill posed (maybe your timeVaryingUniformFixedValue is not well set).

Norman
norman1981 is offline   Reply With Quote

Old   June 17, 2009, 04:21
Default
  #4
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Hey Norman:

I am really sorry to reply late because I was out of work.

This is the U file

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
INLET
{
type timeVaryingUniformFixedValue;
fileName "inlet.dat";
boundAction repeat ;
}

OUTLET
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

WALL1
{
type fixedValue;
value uniform (0 0 0);
}

WALL2
{
type fixedValue;
value uniform (0 0 0);
}

WALL3
{
type fixedValue;
value uniform (0 0 0);
}

WALL4
{
type fixedValue;
value uniform (0 0 0);
}


In addition, I didn't give timeSeries file because I really don't know how to give it.

Would you like to tell me the tutorial for using this patch?

Thanks and best wishes!
flying is offline   Reply With Quote

Old   June 17, 2009, 04:54
Default
  #5
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Hi,

don't worry ;-)

Try setting the INLET in this way:
----

INLET
{
type timeVaryingUniformFixedValue;
// value uniform (0 0 0); //Un-comment it if OF complaints..
fileName "series.dat"; // You can change the filename...
outOfBounds clamp;
}

---

Put a "series.dat" file in your case directory. The "series.dat" file has this format:

(
(time_1 (vx_1 vy_1 vz_1))
(time_2 (vx_2 vy_2 vz_2))
...
(time_n (vx_1 vy_1 vz_1))
)

Please, note I used this bc in OpenFOAM-1.5.x version. I have not found a way to use it in OpenFOAM-1.5-dev although it is present in the source code.

Regards

Norman
norman1981 is offline   Reply With Quote

Old   June 17, 2009, 05:49
Default
  #6
Senior Member
 
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17
flying is on a distinguished road
Thanks a lot for your reply. It is so helpful that I have solved the problem.
If you would like to spend your cherish time to answer my other question, I will be more grateful.
In fact, the velocity in the inlet boundary not only change with time, but it is also needed to add some fluctuation on it. It means that I need to use turbulence inlet boundary as well.

Would you like to give me some advice on how to use it?

Thanks and best wishes!
flying 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



All times are GMT -4. The time now is 16:47.