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

fvSchemes Error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2024, 05: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, 15 views)
Priyank is offline   Reply With Quote

Old   September 16, 2024, 06:45
Default
  #2
Member
 
Join Date: May 2024
Location: France
Posts: 35
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   September 17, 2024, 11:16
Default
  #3
Senior Member
 
Join Date: Dec 2021
Posts: 236
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

Old   October 8, 2024, 07:56
Default Default values
  #4
New Member
 
Skill-Lync CFD
Join Date: Sep 2024
Location: Chennai
Posts: 18
Rep Power: 2
CFD_with_Skill-Lync is on a distinguished road
Would advise go through the discretization schemes present in OpenFOAM once. Using the default case setup is a good starting point, where you can change the solvers one by one and view the differences.
Please reach out in case you have questions regarding understanding the solvers.
Team Skill-Lync
CFD_with_Skill-Lync is offline   Reply With Quote

Reply

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

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


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