How to access the field of weighting factor of interpolations
Hi,
I'd like to access and use the weighting factor used in interpolations. When I use the setting "interpolate(U) linear", I'd like to access the weighting factor w in the following equation: U_f = w*U_P + (1-w)*U_N Could you tell me how to access the field(maybe surfaceScalarField) of the weighting factor for the interpolation schemes defined in fvSchemes? Thanks in advance, Fumiya |
For linear interpolation "mesh.surfaceInterpolation::weights()" should work (surfaceScalarField).
Regards, Lieven |
Thank you for your reply. That works fine for linear interpolation.
Is there a more general way to access weighting factors for other interpolation schemes different from the central differencing? Thank you for your help, Fumiya |
All times are GMT -4. The time now is 09:27. |