short question: zeroGradient equal fixedGradient=(0 0 0) ?!
Hello,
I looked at fixedGradientFvPatchField.C and zeroGradientFvPatchField.C and for me Code:
type fixedGradient; Code:
type zeroGradient; Or do I draw the wrong conclusion? Best regards, Andy |
They are not the same. zeroGradient only garantuees the wall-normal derivative to be zero, not the complete gradient.
|
Thank you for the fast answer. I got it.
Next little question: A given fixedGradient value (a b c) will specify the gradient of for example U in the standard Coordinate-System(x,y,z) on a patch HTML Code:
http://foam.sourceforge.net/docs/cpp/a00671.html#details http://foam.sourceforge.net/docs/cpp/form_17.png where http://foam.sourceforge.net/docs/cpp/form_18.png = patch values http://foam.sourceforge.net/docs/cpp/form_19.png = internal field values http://foam.sourceforge.net/docs/cpp/form_20.png = gradient (user-specified) http://foam.sourceforge.net/docs/cpp/form_21.png = inverse distance from patch face centre to cell centre Hence, x_p is independent from the normal patch face vector? Thanks for the answer in advance, Andy |
All times are GMT -4. The time now is 00:14. |