|
[Sponsors] |
How to access the field of weighting factor of interpolations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2012, 23:46 |
How to access the field of weighting factor of interpolations
|
#1 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
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 |
|
November 16, 2012, 05:43 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 23 |
For linear interpolation "mesh.surfaceInterpolation::weights()" should work (surfaceScalarField).
Regards, Lieven |
|
November 16, 2012, 08:33 |
|
#3 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems after decomposing for running | alessio.nz | OpenFOAM | 7 | March 5, 2021 05:49 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Performance of GGI case in parallel | hannes | OpenFOAM Running, Solving & CFD | 26 | August 3, 2011 04:07 |
Access to Domain Pressure Field or mesh | ar_mofidi | OpenFOAM | 0 | April 12, 2010 07:47 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |