|
[Sponsors] |
Error when using pisoFoam to simulate turbulent flow inner a pipe |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2023, 13:37 |
Error when using pisoFoam to simulate turbulent flow inner a pipe
|
#1 |
New Member
Antônio Valadares de Vasconcelos Costa
Join Date: May 2023
Posts: 3
Rep Power: 3 |
I was trying to reproduce a turbulent flow inner a pipe following the tutorial below:
https://www.youtube.com/watch?v=IJLROB28nXE I tried many times, executing each individual step, but I always get an error. I can't find where is my error. This was the error outputs using different versions of OpenFOAM: Using .org distribution version 8 [i believe this was the version used by the tutorial's author] ================================================== Start of error message=========================================== ======= --> FOAM FATAL IO ERROR: keyword version is undefined in dictionary "/mnt/c/Users/Dell/Desktop/OpenFOAM/SIM_000/SIM/cavity/system/controlDict" file: /mnt/c/Users/Dell/Desktop/OpenFOAM/SIM_000/SIM/cavity/system/controlDict from line 10 to line 13. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 797. FOAM exiting ================================================== End of error message=========================================== ======= Using .org distribution version 10 ================================================== Start of error message=========================================== ======= #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:? #4 Foam::GaussSeidelSmoother::smooth(Foam::Field<doub le>&, Foam::Field<double> const&, unsigned char, int) const at ??:? #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #8 Foam::fvMatrix<double>::solve() in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #9 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:? #10 Foam::RASModels::kEpsilon<Foam::incompressibleMome ntumTransportModel>::correct() at ??:? #11 ? in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #13 ? in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" Floating point exception ================================================== End of error message=========================================== ======= Using .com distribution version v2212 ================================================== Start of error message=========================================== ======= --> FOAM FATAL IO ERROR: (openfoam-2212) Unexpected '}' while reading dictionary entry file: system/controlDict at line 50. From static bool Foam::entry::New(Foam::dictionary&, Foam::Istream&, Foam::entry::inputMode, int) in file db/dictionary/entry/entryIO.C at line 156. FOAM exiting ================================================== End of error message=========================================== ======= Using .org distribution dev version ================================================== Start of error message=========================================== ======= --> FOAM FATAL IO ERROR: keyword PIMPLE is undefined in dictionary "/mnt/c/Users/Dell/Desktop/OpenFOAM/SIM_000/SIM/cavity/system/fvSolution" file: /mnt/c/Users/Dell/Desktop/OpenFOAM/SIM_000/SIM/cavity/system/fvSolution from line 21 to line 48. From function const Foam::dictionary& Foam::dictionary::subDict(const Foam::word&) const in file db/dictionary/dictionary.C at line 1004. FOAM exiting ================================================== End of error message=========================================== ======= |
|
July 25, 2023, 21:02 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,762
Rep Power: 66 |
None of these errors are the same and hardly any of them occur at the same location. You don't have an (one) error, you have a ton of them.
1. You don't have a valid header in your controlDict 2. You had a floating point error in the solver 3. A wild bracket appeared 4. Your fvSolution is missing a dict for PIMPLE which would not occur if you ran pisoFOAM. Which means either you did not actually see this error or you are not using pisoFOAM. I recommend you to follow tobi's tutorials or at least take a more methodical approach to your learning. And for your own benefit, stick to one version. I assure you there are no meaningful changes in OpenFOAM between versions that would prevent you from doing a pipe flow problem even if you go all the way back to OpenFOAM 1.x.x |
|
July 26, 2023, 12:09 |
|
#3 |
New Member
Antônio Valadares de Vasconcelos Costa
Join Date: May 2023
Posts: 3
Rep Power: 3 |
Ignore the other versions error, considering only this error using .org distribution version 10 (the one I am really using)
================================================== Start of error message=========================================== ======= #0 Foam::errorrintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:? #4 Foam::GaussSeidelSmoother::smooth(Foam::Field<doub le>&, Foam::Field<double> const&, unsigned char, int) const at ??:? #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #8 Foam::fvMatrix<double>::solve() in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #9 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:? #10 Foam::RASModels::kEpsilon<Foam::incompressibleMome ntumTransportModel>::correct() at ??:? #11 ? in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" #12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #13 ? in "/OpenFOAM/dotorg/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pisoFoam" Floating point exception ================================================== End of error message=========================================== ======= I don't know where to start to diagnose where is my error. Which parameters are missing in my model, and which ones are parametrized. The error message does not mention any of the model parameters files. |
|
Tags |
pisofoam, turbulent, turbulent flow in tube |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues on the simulation of high-speed compressible flow within turbomachinery | dowlee | OpenFOAM Running, Solving & CFD | 11 | August 6, 2021 07:40 |
pisoFOAM (LES) - internal pipe flow - convergence | gu1 | OpenFOAM Running, Solving & CFD | 19 | August 10, 2018 08:00 |
3D pipe flow - Using UDF's to define fully developed turbulent flow on the inlet | Taz-CFD | CFD Freelancers | 1 | February 21, 2016 12:12 |
Erosion of turbulent flow in pipe | claudy.daniel | FLUENT | 0 | September 8, 2015 11:10 |
Turbulent flow through hexagonal circular pipe | yogesh@cfd | Main CFD Forum | 0 | November 10, 2010 00:10 |