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

turbulence model/ velocity component

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2016, 02:46
Default how to specify velocity component(Ux, Uy) in turbulence model?
  #1
New Member
 
Seokwon Whang
Join Date: May 2012
Posts: 25
Rep Power: 14
hswzzz is on a distinguished road
Dear Foamer,

Recently, I tried to make turbulence model, Lam-Bremhorst k epsilon which is low-reynolds number model. (OF 2.3)

When the energy equation is introduced, extra source terms should be considered, S = C3(epsilon/k)Gk, where C3 = tanh |v/u|.

I wonder how can I define the 'v' and 'u' in the source code. (LamBremhorstKE.H and .C)

Thank you,

Last edited by hswzzz; February 2, 2016 at 22:12.
hswzzz is offline   Reply With Quote

Old   February 3, 2016, 19:58
Default
  #2
New Member
 
Join Date: Oct 2014
Posts: 26
Rep Power: 12
teuk is on a distinguished road
Hi,

if u and v are the components of the velocity-field, it should be something like:

volScalarField u = U_.component(0);



regards,
teuk
teuk 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
Error message: Insufficient Catalogue Size Paresh Jain CFX 33 August 16, 2024 06:09
gamma-ReTheta turbulence model for predicting transitional flows FelixL OpenFOAM Programming & Development 123 August 30, 2022 12:50
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 07:08
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


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