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

fvSchemes Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2024, 04:48
Default fvSchemes Error
  #1
New Member
 
Priyank
Join Date: Sep 2024
Posts: 1
Rep Power: 0
Priyank is on a distinguished road
I am working on a case setup of flow over a cylinder, solver used is simpleFoam and model is kwsst.

I have used limitedLinear scheme in fvSchemes dict. after running simpleFoam it shows this error:

Wrong token type - expected word, found on line 48.

Error is in fvScheme dict but not able to find. pls help.

Also attaching my fvSchemes dict.
Attached Images
File Type: jpg fvScheme.jpg (57.1 KB, 12 views)
Priyank is offline   Reply With Quote

Old   September 16, 2024, 05:45
Default
  #2
Member
 
Join Date: May 2024
Location: France
Posts: 34
Rep Power: 2
rocketLauncher is on a distinguished road
Sometimes there are some characters that appear in the file but are not visible to the user. You can use different document viewers to identify them or copy paste the contents and error in chatgpt and see if it's an issue like that
rocketLauncher is offline   Reply With Quote

Old   Yesterday, 10:16
Default
  #3
Senior Member
 
Join Date: Dec 2021
Posts: 231
Rep Power: 5
Alczem is on a distinguished road
Hey!


I think there are several mistakes:
  • gradSchemes: grad(U) should be cellLimited Gauss linear 1
  • divSchemes: div(phi,U) should be bounded Gauss limitedLinearV 1, div(phi, k|omega) should be bounded Gauss limitedLinear 1; and div((nuEff*dev2(T(grad(U))))) should be simply Gauss linear;
  • laplacianSchemes: default should be Gauss linear limited 0.5 or Gauss linear corrected
  • interpolationSchemes: default should be linear;
  • snGradSchemes: default should be corrected without the capital C, or limited 0.5
Honestly, just use the fvSchemes from a tutorial, and use first order schemes at first, then switch to 2nd order. The bounded keyword usually helps convergence for steady states simulations, but is not used in the tutorials, so it might be in my head
Alczem is offline   Reply With Quote

Reply

Tags
fvscheme, gauss limitedlinear 1, limitedlinear, openfoam v2112, second order schems


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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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