|
[Sponsors] |
March 7, 2024, 06:52 |
What does fvm::laplacianCorrection do?
|
#1 | |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15 |
Hi,
I am implementing new turbulence thermophysical transport models in OpenFOAM 11, and I am dealing with the divq function: Code:
template<class TurbulenceThermophysicalTransportModel> tmp<fvScalarMatrix> eddyDiffusivity<TurbulenceThermophysicalTransportModel>::divq ( volScalarField& he ) const { // Return heat flux source as an implicit energy correction // to the temperature gradient flux return -fvc::laplacian(this->alpha()*this->kappaEff(), this->thermo().T()) -fvm::laplacianCorrection(this->alpha()*this->alphaEff(), he); } Quote:
What I understand when I see the function is that I add the divergence of the effective heat flux in terms of the temperature gradient and I do some kind of correction on the energy, which is the equation's variable. In this case, considering on one phase the extra term is: which has some simmilarities to the previous equation. My question is: what is actually doing in this case? I am planning to add anisotropic diffusivity models like but do not undestand how can I benefit from this laplacianCorrection function. |
||
|
|