CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

divq definition in eddyDiffusvity.C

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2022, 11:43
Default divq definition in eddyDiffusvity.C
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi everyone,


I was looking at the divq term of the ThermophysicalTransportModels library and I don't understand the current implementation:

Code:
// Return heat flux source as an implicit energy correction
// to the temperature gradient flux
return
    -correction(fvm::laplacian(this->alpha()*this->alphaEff(), he))
    -fvc::laplacian(this->alpha()*this->kappaEff(), this->thermo().T());
I have some questions regarding this:


  1. If [math]\alpha_{eff}[\math] is usually employed (as far as I have used) as the effective diffusion of temperature, why is it employed in the laplacian term of he?
  2. What does the correction function do?
  3. I suppose there is a sort of stability reason to have a fvm and a fvc term, however I don't see the point on it here.
agustinvo is offline   Reply With Quote

Old   January 12, 2023, 09:22
Default
  #2
New Member
 
Corbin G
Join Date: Oct 2022
Location: Midwest, USA
Posts: 11
Rep Power: 4
CorbinMG is on a distinguished road
Hi Agustín,

In regards to (2), Some mysteries (but not all) of the correction() function are explained here: Foam::correction() function

Best regards,
Corbin
CorbinMG is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
the definition of progress variable in FGM model gc_cfdonline FLUENT 0 July 12, 2020 05:38
It has to include complete definition of a type (not just fwd declaration), isn't it? Zeppo OpenFOAM Programming & Development 12 August 16, 2016 15:01
(AutoGRID 5) Problem in Geometry definition of propeller venkat_aero2007 Fidelity CFD 14 July 31, 2012 15:05
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 06:19


All times are GMT -4. The time now is 21:12.