CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   difference between inletValue and value in inletOutlet B.C. (https://www.cfd-online.com/Forums/openfoam-solving/88883-difference-between-inletvalue-value-inletoutlet-b-c.html)

atoof May 29, 2011 07:34

difference between inletValue and value in inletOutlet B.C.
 
Dear foamers
I try to run a case and have a problem with inletOutlet Boundary condition.
What is the difference between the inletValue and value in this B.C.?
It seems that they have a same value in most of the cases.

regards,
Moha:confused:

su_junwei May 29, 2011 10:31

inletOutlet is a back flow boundary condition for outlet. If fluid attepts to flow inwards, it applies a fixed value velocity assigned by inletValue for that given patch face. Or, it use zerogradient.

InletValue is the value flow inwards you have to give.
value is the actual value for the given patch. given by inletValue or patchface neighbour cell(zerogradient).

Hope this helps.

regards, Junwei

atoof May 29, 2011 22:43

Thanks for your answer. It was useful for me.

santiagomarquezd May 30, 2011 13:28

Junwei, your explanation about inletValue is clear for me but the one for value isn't.

Quote:

Originally Posted by su_junwei (Post 309672)
InletValue is the value flow inwards you have to give.
value is the actual value for the given patch. given by inletValue or patchface neighbour cell(zerogradient).

Suppose you want a velocity pointing only outwards. It would be zeroGradient if velocity is outwards and (0 0 0) if it is inwards. I suppose inletValue should be (0 0 0) and it would represent the inlet velocity. Then what is the purpose of the "value" entry?.

Regards.

su_junwei May 30, 2011 21:01

value is a keyword for all the numerical boundary condition. It is not used for input but calculated based on the boundary you set. It is useful for postprocessing. you can set the same value as inletValue, and it will be updated during the calculation.

sometimes, paraview don't like boundary condition without "value" entry.

Regards, Junwei

santiagomarquezd May 30, 2011 21:42

Junwei, thanks for the clarification and confirmation. Tthat's true when values are calculated "value" entry data is replaced by which is calculated at running time.

Regards.


All times are GMT -4. The time now is 09:13.