I check the code calc_interp_weights.f. there are 3 interpolation schemes.
But when I check particle_filter_mod.f, it renumbers the interpolation schemes. But here are five methods. Does anyone know why this is?
Because I want to use the Gauss interpolation scheme, I want to know if I could activate it.
Hi -
There is no Gaussian interpolation scheme implemented in MFiX. What you found is incomplete - either something that was started and not finished, or removed.
Note that in the definition for the DES_INTERP_SCHEME keyword, in model/des/des_init_namelist.f, “GAUSS” is not listed as one of the “valid values”:
! <valid value="NONE" note="Do not use interpolation."/>
! <valid value="GARG_2012" note="Interpolate to/from a particle's
! position using the corners (nodes) of the fluid cells. This was
! the default behavior prior to version 2015-1.
! See Garg et al. (2012) Documentation of the open-source MFiX-DEM
! software for gas-solids flows."/>
! <valid value="SQUARE_DPVM" note="Divided Particle Volume Method:
! Information is interpolated to/from a particles position using
! a square filter of size DES_INTERP_WIDTH."/>
! <valid value="LINEAR_HAT" note="Linear interpolation: Hat functions
! are used to distribute particle information. PIC only."/>
The input file handler will reject any value that is not listed here. But even if you modify the code to add ‘GAUSS’ as a valid value, it appears that there are no code-paths that will taken that are any different from SQUARE_DPVM: