CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Using TVD Schemes in fvScheme

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tushar@cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2014, 01:52
Default Using TVD Schemes in fvScheme
  #1
New Member
 
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 12
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:

dtSchemes
{
default backward;
}

gradSchemes
{
default Gauss linear;
}

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

}

laplacianSchemes
{
default Gauss linear corrected;
}

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

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p ;
}
aydemirk is offline   Reply With Quote

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

interpolationSchemes
{
default limitedLinear phi 1;
}

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

Reply

Tags
interpolation, schemes, tvd


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


All times are GMT -4. The time now is 16:40.