CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Using TVD Schemes in fvScheme

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

Like Tree1Likes
  • 1 Post By Tushar@cfd

LinkBack Thread Tools Display Modes
Old   August 14, 2014, 00:52
Default Using TVD Schemes in fvScheme
New Member
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 5
aydemirk is on a distinguished road
Hi everyone,

I am trying to run a simulation in wind tunnel with a supersonic flow and a shock holder. Since I have a shock, I wanted to use TVD scheme in my fvscheme file. I looked up at the information on OpenFoam's website and decided to use 'limitedLinear 1' for my 'interpolationSchemes' but I am getting this error:

wrong token type - expected word, found on line 44 the label 1

I searched the forums and I saw this type of error is mostly based on a missing identifier like 'uniform' or 'constant' but this is not my case. Do you have any idea what's the problem? Here is my fvScheme file:

default backward;

default Gauss linear;

default none;
div(phi,k) Gauss limitedLinear 1;


default Gauss linear corrected;

default limitedLinear 1; //this is where I have a problem

default corrected;

default no;
p ;
aydemirk is offline   Reply With Quote

Old   August 20, 2014, 04:26
Senior Member
T Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 11
Tushar@cfd is on a distinguished road
Try the following..

default limitedLinear phi 1;

Best Luck!
aydemirk likes this.
Tushar@cfd is offline   Reply With Quote


interpolation, schemes, tvd

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
TVD schemes Vino Main CFD Forum 3 September 16, 2013 19:47
TVD schemes for acoustics Shuo Main CFD Forum 5 September 19, 2008 21:47
TVD schemes: 2 questions Shuo Main CFD Forum 0 August 19, 2008 21:51
TVD Schemes Sudeep FLUENT 0 October 14, 2000 21:31
TVD Schemes Matt Umbel Main CFD Forum 1 January 25, 2000 05:21

All times are GMT -4. The time now is 15:51.