|
[Sponsors] |
How to print k (TKE) on the console at every iteration..?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2018, 06:16 |
How to print k (TKE) on the console at every iteration..??
|
#1 |
New Member
George
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
Dear OFers, i have constructed a custom solver based on icoFoam. Now i want to add a line in order to print on console k (TKE) at every iteration. Does anyone know what line of code to add and where..??
Thanx a lot George |
|
May 23, 2018, 17:24 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Dear Georg,
in order to print the turbulent kinetic energy k, you have to get access to the turbulence model (class) and print k. Something like that should work. Code:
Info<< turbulence->k() << endl;
__________________
Keep foaming, Tobias Holzmann |
|
Tags |
(k), custom solver, openfaom, programing, tke |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to get Sutherland and JANAF coefficients of air? | immortality | OpenFOAM Running, Solving & CFD | 64 | October 18, 2022 11:17 |
Hybrid discretisation - blend factor | gcoopermax | CFX | 5 | September 23, 2016 09:05 |
Hardware-Configuration for Fluent HPC-Pack (8x) | JohHaas | Hardware | 9 | March 3, 2015 14:25 |
[blockMesh] Another cylinder question | bendel_boy | OpenFOAM Meshing & Mesh Conversion | 5 | January 6, 2015 06:09 |
Parallel runs slower with MTU=9000 than MTU=1500 | Javier Larrondo | FLUENT | 0 | October 28, 2007 23:30 |