CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to create a case with a karman vortex using openfoam? (https://www.cfd-online.com/Forums/openfoam/110125-how-create-case-karman-vortex-using-openfoam.html)

JBeilke January 5, 2017 17:20

Quote:

Originally Posted by j-avdeev (Post 631063)
JBeilke link server looks unstable.

You can try download same case from my git:
https://github.com/j-avdeev/KarmanPimple

The server is not unstable. I just removed the file for some time because it causes most of the traffic on my page (several hundred downloads per month).

Putting it on GitHub without asking and without a link to the original place is not very nice.

Jörn

qutadah.r September 19, 2021 11:37

Fatal Error running karman case
 
Quote:

Originally Posted by JBeilke (Post 404785)
Here is a ready to run example where I used pimpleFoam. It contains a coarse and a fine grid created with GridPro. Have fun.

www.beilke-cfd.de/Karmann_OpenFoam.tar.gz




i downloaded the case and ran pimpleFoam but Fatal Error..


"Starting time loop Courant Number mean: 0.16928 max: 2.70568 Time = 0.001 --> FOAM FATAL IO ERROR: wrong token type - expected word, found on line 32 the label 1 file: /storage/rababqjt/tutorials/Karmann_OpenFoam/karmann_gridpro_pimple/system/fvSchemes.divSchemes.div((nuEff*dev2(T(grad(U))))) at line 32. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&) in file primitives/strings/word/wordIO.C at line 74. FOAM exiting "


do you have any idea how i can solve this error?

JBeilke September 19, 2021 15:30

I've made some changes and tested it with v1912. So it should work now. Have fun.

qutadah.r September 20, 2021 02:52

its still having a problem, i am running the Openfoam 6 version...



What are exactly the steps to run the simulation? I figure since mesh is already there, we need only to:


1. decomposePar
2. pimpleFoam
3. reconstructPar
4. paraview


are these the correct steps? where is the problem?


thanks!

JBeilke September 20, 2021 08:06

  1. Edit the file "Allrun_parallel" and remove the # at the beginning of the 7th line
  2. Edit the file system/decomposeParDict and replace the "3" with the number of cores you want to use.
  3. run the "Allrun_parallel" script
  4. postprocessing with ParaView

Edgar Alejandro Martínez September 30, 2021 19:15

I made a tutorial, you can find the files in my repository: https://www.youtube.com/watch?v=A1YQ9eZQFcg

qutadah.r October 2, 2021 13:13

Quote:

Originally Posted by JBeilke (Post 812584)
  1. Edit the file "Allrun_parallel" and remove the # at the beginning of the 7th line
  2. Edit the file system/decomposeParDict and replace the "3" with the number of cores you want to use.
  3. run the "Allrun_parallel" script
  4. postprocessing with ParaView


thanks, i was struggling with the Allrunscript and how it works, glad to know how it works now :)


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