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

Turbulent Kinetic Energy Budget

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 3 Post By skyinventorbt
  • 1 Post By mmmn036
  • 1 Post By skyinventorbt

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2013, 06:28
Default Turbulent Kinetic Energy Budget
  #1
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
This utility creates scalar fields of Advection & Production of Turbulent Kinetic Energy by reading U, R & k files.

Usage Instructions

  1. Extract the zip and paste tkeFoam folder to /opt/OpenFOAM-2.1.1/applications/utilities/
  2. [In Terminal] cd /opt/OpenFOAM-2.1.1/applications/utilities/tkeFoam/ and then wmake
  3. After compilation use "tkeFoam -latestTime" or "tkeFoam" in your case.
Hope it will be useful
--
KANNAN B T
Attached Files
File Type: zip tkeFoam.zip (11.9 KB, 228 views)
skyinventorbt is offline   Reply With Quote

Old   April 29, 2014, 20:26
Default
  #2
Member
 
Manjura Maula Md. Nayamatullah
Join Date: May 2013
Location: San Antonio, Texas, USA
Posts: 42
Rep Power: 12
mmmn036 is on a distinguished road
This is only good for RASModel. How to implement this one in LESModel?

Thanks
MMMN
vivek05 likes this.
mmmn036 is offline   Reply With Quote

Old   April 30, 2014, 23:43
Post Reply
  #3
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
Quote:
Originally Posted by mmmn036 View Post
This is only good for RASModel. How to implement this one in LESModel?

Thanks
MMMN
Obviously it cannot be used for LES.

From the data set you generate using LES - will have all the fluctuating and mean quantities - so you could write your own utility using the syntax provided in the Programmers Guide.

--
KANNAN B T
vivek05 likes this.
skyinventorbt is offline   Reply With Quote

Old   March 2, 2017, 09:18
Default Rewrite for newer versions?
  #4
New Member
 
Join Date: Feb 2017
Posts: 1
Rep Power: 0
dholler is on a distinguished road
Would it be possible to rewrite this utility for OpenFOAM 4? The files that are set to #include in this utility are not in OpenFOAM 4.
dholler is offline   Reply With Quote

Old   March 2, 2018, 04:51
Smile Re-writing the utility
  #5
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
Yes, It can be re-written !
__________________
--
Dr. B T KANNAN, PhD, M.I.E,
PhD in Aerodynamics (CFD|Turbulence|Experiments)
Alumnus of Indian Institute of Technology - Madras.
skyinventorbt is offline   Reply With Quote

Old   April 18, 2019, 05:43
Default tkeFoam
  #6
Member
 
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8
vivek05 is on a distinguished road
Quote:
Originally Posted by skyinventorbt View Post
Yes, It can be re-written!
Hi,
I have tried to compile tkeFoam in OpenFOAM 5.0 but unfortunately, it doesn't.
PHP Code:
Making dependency list for source file turbulentIntensityKineticEnergyInletFvPatchSymmTensorField.C
Making dependency 
list for source file tkeFoam.C
could not open file calc
.for source file tkeFoam.C due to No such file or directory
could not open file cyclicAMILduInterface
.for source file tkeFoam.C due to No such file or directory
could not open file cyclicAMIPolyPatch
.for source file tkeFoam.C due to No such file or directory
could not open file RASModel
.for source file tkeFoam.C due to No such file or directory
g
++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/postProcessing/postCalc -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/turbulenceModels -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/turbulenceModels/incompressible/RAS/RASModel -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/transportModels -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude -I/home/ssvivek/OpenFOAM/OpenFOAM-5.0/src/OSspecific/POSIX/lnInclude   -fPIC -c tkeFoam.-o Make/linux64Gcc48DPInt32Opt/tkeFoam.o
tkeFoam
.C:35:18fatal errorcalc.HNo such file or directory
 
#include "calc.H"
                  
^
compilation terminated.
make: *** [Make/linux64Gcc48DPInt32Opt/tkeFoam.oError 1 
My guess is that in OpenFOAM 5 calc.H is not available. It might to be loaded with a different name. Could anyone figure it out


Thanks
vivek05 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
question about turbulent kinetic energy junker4236 Main CFD Forum 19 April 19, 2017 04:46
LES and total turbulent kinetic energy Boerge FLUENT 1 September 8, 2012 11:41
LES of periodic pipe centerline turbulent kinetic energy smehdi609 OpenFOAM 0 November 30, 2010 23:59
what's the macro of SGS turbulent kinetic energy? lcw FLUENT 1 June 13, 2006 03:08
Turbulent Kinetic Energy Olga FLUENT 2 October 11, 2002 15:05


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