CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error running a Tutorial Simulation RAs-LRR

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2020, 16:19
Default Error running a Tutorial Simulation RAs-LRR
New Member
Giacomo Del Bianco
Join Date: Jul 2020
Location: Venice area - Italy
Posts: 2
Rep Power: 0
Giacomodb is on a distinguished road
Dear All,

I am sorry to disturb you but I would like to ask if someone can give me some hints to solve a problem I have.

I am not a professional, I am only interested to carry out some CFD simulation with this open source software so as to learn something.

To make it easy, I am carrying out a Tutorial (

I followed the brief: generating the file R, later changed turbolenceProperties file to LRR:

simulationType RAS;

    RASModel        LRR;
 //   RASModel        kEpsilon;

    turbulence      on;

    printCoeffs     on;
I get an error that I am not able to understand:

keyword div((nu*dev2(T(grad(U))))) is undefined in dictionary "/home/giacomo/OpenFOAM/giacomo-7/run/Tutorialintermedi/BackwardFacingStep_basecaseLRR/system/fvSchemes.divSchemes"

file: /home/giacomo/OpenFOAM/giacomo-7/run/Tutorialintermedi/BackwardFacingStep_basecaseLRR/system/fvSchemes.divSchemes from line 30 to line 37.

    From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
    in file db/dictionary/dictionary.C at line 573.

FOAM exiting
I like to pinpoint that I made also the kEpsilon and kOmega turbolent simulations and they worked fine. I got this problem only with the LRR one. I am not able to understand why that formula is undefined.

I am using the last version of Openfoam.

Do someone has experienced this problem? I have attached the whole project folder, through the dropBox link:

Thank you in advance for every your reply!
Giacomodb is offline   Reply With Quote

Old   July 1, 2020, 17:21
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 623
Rep Power: 7
HPE is on a distinguished road
add the following into "fvSchemes" under "divSchemes":

div((nu*dev2(T(grad(U))))) <numerical scheme of choice>;

For example:

div((nu*dev2(T(grad(U))))) Gauss linear;

The error hints you that a numerical scheme necessary for the equation term "div((nu*dev2(T(grad(U)))))" is missing.
HPE is offline   Reply With Quote

Old   July 8, 2020, 14:26
Domenico Lahaye
Join Date: Dec 2013
Posts: 74
Rep Power: 8
dlahaye is on a distinguished road
or download from
dlahaye is offline   Reply With Quote


openfoam lrr ras error

Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
simpleFoam tutorial PitzDaily using Reynolds stress tensor (LRR RASModel) dlahaye OpenFOAM Running, Solving & CFD 3 May 31, 2020 15:30
Choosing l in external aero simulation & nu used in motorbike tutorial edomalley1 OpenFOAM Running, Solving & CFD 0 November 28, 2017 12:39
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 15:06
Problems while running Cold Flow simulation 3D/ requesting 2D gmtry and tutorial ICE Excalibu2r FLUENT 0 February 26, 2017 10:58
need files of tutorial 10- Simulation of Wave Generation in a Tank Jonson Main CFD Forum 0 November 14, 2013 00:18

All times are GMT -4. The time now is 20:44.