Why should we define both P and U for boundaries?
What should be velocity boundary condition (U) type for outlet of a problem which we want set pressure (P) as fixedValue.
We can't suppose it zeroGradient because it is not fully developed at outlet. and i don't know why should we define both of P and U for boundaries in OpenFOAM.:confused:
you have to define BC for each field you are solving, so you need a BC for U and p. Other CFD software like fluent or cfx does the same (without telling you).
zeroGradients is the correct BC (or better inletOutlet) for U at the outlet. Of course your BC has an effect on the solution (as in all CFD software), so you must place the outlet BC far (at least a bit) away from the area of interest.
the problem is in processing algorithm depend on its form, in boundary cell we set pressure and the algorithm try to calculate a velocity which satisfy continuity and ...
so setting both of U and P leads to have more equations than unknowns:confused: and this is the cause that other softwares like Fluent don't need to define both of them.
|All times are GMT -4. The time now is 12:23.|