|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 18 ![]() |
The simpleFoam solver is used. And a problem is met.
The inlet velocity condition is set as follows. -------------------------------------------------------------------- pump-in { type surfaceNormalFixedValue; value uniform -0.9611; } ------------------------------------------------------------------- However, failed. The errors are reported: .................................................. ............................................ keyword refValue is undefined in dictionary "/home/g2/e090012/OpenFOAM/e090012-1.5/run/tutorials/simpleFoam/stratification/0/U: ![]() file: /home/g2/e090012/OpenFOAM/e090012-1.5/run/tutorials/simpleFoam/stratification/0/U: ![]() From function dictionary::lookupEntry(const word& keyword) const in file db/dictionary/dictionary.C at line 213. FOAM exiting .................................................. ............................................. Then I revised it as: ------------------------------------------------------------------- pump-in { type surfaceNormalFixedValue; value -0.9611; } ------------------------------------------------------------------- still failed, and the errors are the same. But the case can successfully run with "fixedValue" type. Any comments? Thanks in advance. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 19 ![]() |
Hi Jiejin,
Perhaps it is the sign of the value that is the problem. Try Code:
pump-in { type surfaceNormalFixedValue; value uniform 0.9611; } Code:
pump-in { type surfaceNormalFixedValue; value uniform -0.9611; } Gijsbert |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 18 ![]() |
thank you, Wierink.
from the userguide, there is description like, "surfaceNormalFixedValue Specifies a vector boundary condition, normal to the patch, by its magnitude; +ve for vectors pointing out of the domain" thus I use the sign of "-" to mean pointing in of the domain. anyway, I shall try it and report the results. Thanks. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 19 ![]() |
Yes, you are very right, that's what I read as well ...
![]() ![]() pump-in { type surfaceNormalFixedValue; refValue uniform -10; } I don't know whether this is how it is supposed to be, but it works. Perhaps it's a 1.5 thing? Regards, Gijsbert |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 18 ![]() |
Hi, Wierink, I do following your suggestions, it does work well. It is insteresting. How can you know that? You are a great man!
Thank you very much. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 50
Rep Power: 18 ![]() |
Sort of makes sense though, no? We're setting velocity U so value would expect a vector, hence the need for refValue, a scalar.
Michael |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
J. Cai
Join Date: Apr 2009
Posts: 180
Rep Power: 18 ![]() |
hi, Michael, thank you for your tip. Now I understand.
![]() |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 14 ![]() |
Hi all,
This is a really old thread but is the most relevant one to place my question in. I have a curved patch which is an inlet on which the surfaceNormalFixedValue velocity is imposed. The initial magnitude and direction of the vectors are correct. The case is a buoyancy driven flow in the domain surrounding this inlet. Timestep - 1e-05. Once the simulation starts the first time step is fine. But at the 3rd time step, there is some backflow into this curved patch at the bottom showing abnormally high velocities (rescaled maximum velocity ~ 1m/s) (Snapshots are attached) Is there a way that I can provide the surfaceNormalFixedValue + no back flow condition to this curved patch? Thanks in advance
__________________
Regards, Srivaths |
|
![]() |
![]() |
![]() |
![]() |
#9 | |
New Member
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 7 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
Help required to solve Hydraulic related problems | aero | CFX | 0 | October 30, 2006 11:00 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 13:55 |
Using Fluent for Geophysical Problems | Hassid Samuel | FLUENT | 0 | February 23, 2001 06:04 |
Inverse problems | Aleksey Alekseev | Main CFD Forum | 0 | May 12, 1999 15:38 |