|
[Sponsors] |
June 11, 2009, 05:59 |
error about timeVaryingUniformFixedValue
|
#1 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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! |
|
June 12, 2009, 09:21 |
|
#2 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
Is there anybody caring about this problem?
I wish there will be good advice on it. |
|
June 14, 2009, 14:15 |
|
#3 |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
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 |
|
June 17, 2009, 04:21 |
|
#4 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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! |
|
June 17, 2009, 04:54 |
|
#5 |
Member
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17 |
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 |
|
June 17, 2009, 05:49 |
|
#6 |
Senior Member
xinguang cui
Join Date: Mar 2009
Posts: 116
Rep Power: 17 |
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! |
|
|
|