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

Using rhok for a modified kepsilon model. How to access to the value?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2017, 04:30
Default Using rhok for a modified kepsilon model. How to access to the value?
  #1
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17
be_inspired is on a distinguished road
Hi all,

Based on buoyantBoussinesqSimpleFoam, I want to used rhok variable to calculate a extra term in the k equation of kEpsilon model. The problem is that what is more or less easy in 2.1.1, in 1612+ is not so easy for me. I can not access to the rhok variable.

OF211 rhok_(U.db().lookupObject<volScalarField>("rhok")) ,
OF1612+ ??

The target is to obtain a buoyantkEpsilon model for incompressible based on Boussinesq approximation.

Thank you very much
be_inspired is offline   Reply With Quote

Old   October 19, 2017, 13:46
Default
  #2
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16
gaza is on a distinguished road
replace U with the variable you use in ke model constructor
__________________
best regards
pblasiak
gaza 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
Particle induced turbulence model - kEpsilon with additional source a.weber OpenFOAM Programming & Development 16 August 9, 2017 06:17
Make wall-function read a newly defined field inside modified kEpsilon model Radunz OpenFOAM Programming & Development 2 July 18, 2017 23:39
Access F1 Function from SST Model fanch33 FLUENT 2 October 6, 2016 18:54
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
problem with wallFunctions (kEpsilon model) dinonettis OpenFOAM 12 April 22, 2010 22:37


All times are GMT -4. The time now is 09:46.