CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Implementating a new turbulence model

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 21, 2008, 04:37
Default Dear all I am trying to imp
New Member
Steven Tsang
Join Date: Mar 2009
Posts: 1
Rep Power: 0
wrangle is on a distinguished road
Dear all

I am trying to implement a new turbulence model. I am trying to change the production of turbulent kinetic energy term which is given by the volScalarvector G term. I defined the necessary terms but I want to inlcude an if/else statement based on the vorticity and strain rate so that the volScalarvector G will have certain values. When I try to include an if/else statement I get an error.

no match for 'operator<' in 'N < 0'
/home/ilau/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UList.C:158: note: candidates are: bool Foam::UList<t>::operator<(const>&) const [with T = double]

It does not seem to recognize the operator. Can anyone tell me what is the error
wrangle is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
v2f Turbulence Model (and others?) Travis FLUENT 4 January 7, 2009 02:18
changing model constants in k-e turbulence model Sunil CFX 3 October 3, 2006 12:12
best turbulence model matthew FLUENT 4 April 7, 2005 17:58
HELP! TURBULENCE k-e OR k-omega TURBULENCE MODEL? Mirek Kabacinski FLUENT 5 August 24, 2003 22:31
Why at all a Turbulence model !?# R.Sureshkumar Main CFD Forum 7 November 2, 1999 05:19

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