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

where does kEqns update its coeffient?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2019, 22:20
Default where does kEqns update its coeffient?
  #1
New Member
 
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 6
Samuel Twain is on a distinguished road
Dear all:
I found that in kEpsilon.C ( https://cpp.openfoam.org/v7/kEpsilon_8C_source.html ) line 252 updated epsilon and G at the wall. Epsilon and G in cell centers of the first layer are updated before assembling epsilon matrix( updateCoeffs() can be found in epsilonWallFunction.C https://cpp.openfoam.org/v7/epsilonW...8C_source.html and line 175 to 230 do calculation). However, it seems that in kEpsilon.C k of cell centers in the first layer is not updated before kEqn. But for a kWallFunction (e.g. kLowReWallFunction.C https://cpp.openfoam.org/v7/kLowReWa...8C_source.html), it has a member function updateCoeffs() in line 97 to 161 and it does calculation of k on the wall. So my question is:
Should k be updated before assembling kEqn? But updateCoeffs() of k can't be found in kEpsilon.C
Each reply will be appreciated!
samuel

Last edited by Samuel Twain; October 31, 2019 at 03:03.
Samuel Twain is offline   Reply With Quote

Old   October 31, 2019, 05:50
Default
  #2
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 93
Rep Power: 14
einstein_zee is on a distinguished road
You may get your answer here:
http://www.tfd.chalmers.se/~hani/kur...nfoamFinal.pdf
einstein_zee is offline   Reply With Quote

Old   October 31, 2019, 09:59
Default
  #3
New Member
 
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 6
Samuel Twain is on a distinguished road
Many thanks to you! It really helps me!
Samuel Twain 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
Change "Implicit Mesh Update Interval" using UDF ASimonsen Fluent UDF and Scheme Programming 2 October 12, 2017 09:38
Implicit mesh update restriction for faster calculation burning_bert Fluent UDF and Scheme Programming 1 May 28, 2017 16:59
Profile Update Interval in Process Cycle Time oozcan FLUENT 0 August 3, 2016 06:38
libsampling for DyM solver exporting vtk patch. Problem to update geometry be_inspired OpenFOAM Post-Processing 3 October 9, 2015 07:58
Using Workbench, CFX-Pre doesn't update mesh from upstream data Shawn_A CFX 2 November 25, 2012 13:06


All times are GMT -4. The time now is 14:50.