CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2014, 00:52
Default Using TVD Schemes in fvScheme
  #1
New Member
 
Kerem Aydemir
Join Date: Jul 2014
Posts: 4
Rep Power: 2
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, 04:26
Default
  #2
Senior Member
 
Tushar C.
Join Date: Jul 2009
Location: India
Posts: 249
Blog Entries: 1
Rep Power: 8
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

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 04:21


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