Smoothing Model (constDiffSmoothing)

Submitted by Ivan Mema on Tue, 07/18/2017 - 16:58

Hi,

can someone explain a bit how to use smoothing model (constDiffSmoothing). I have read Docs about it but I think there is something else to be done beside just defining it in coplingProperties dictionary. I also added sSmoothField and vSmoothField to initial time directory and defined zeroGradient boundary conditions but after that I get an error:

--> FOAM FATAL IO ERROR:
keyword sSmoothField is undefined in dictionary ".../CFD/system/fvSolution.solvers".

I am using 2.3 version of CFDEM and cfdemSolverPiso.

Can you also explain what this smoothing model actually does? Is it interpolating coupling forces to surrounding cells instead just assigning it to the cell in which particle centre is?

Thanks,
Ivan

j-kerbl's picture

j-kerbl | Tue, 07/18/2017 - 18:14

Hi Ivan,

it is similar to what you described. It takes the original particle fields and runs a diffusion equation on them to smear them out. Since there are more differential-equations solved by openfoam, you need to tell it how to do it. Hence the error "keyword sSmoothField is undefined in dictionary ".../CFD/system/fvSolution.solvers"."
So you need to add entries for sSmoothField and vSmoothField to CFD/system/fvSolution in the solvers dictionary. Probably a PCG solver with DIC preconditioning.

Cheers,
Josef

Ivan Mema | Wed, 07/19/2017 - 09:27

Hi Josef,

Thanks for the answer, that's what I needed.

Regards,
Ivan