|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 218
Rep Power: 9 ![]() |
hi,
i have a problem when i want to run simpleFoam for backwardFacingStep2D in openFoam after the below procedures. would you please guide me at this matter (error at loading file ''p'' appeared)? ![]() myopenfoam@DESKTOP-TK3D7CI:~$ cd ~ myopenfoam@DESKTOP-TK3D7CI:~$ mkdir -p OpenFOAM-sims/tutorials myopenfoam@DESKTOP-TK3D7CI:~$ cp -r $FOAM_TUTORIALS/incompressible OpenFOAM-sims/tutorials myopenfoam@DESKTOP-TK3D7CI:~$ cd OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D myopenfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D$ blockMesh > log.blockMesh myopenfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D$ simpleFoam > log.simpleFoam --> FOAM FATAL ERROR: (openfoam-2112 patch=220610) cannot find file "/home/myopenfoam/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D/0/p" From virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 542. FOAM exiting myopenfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D$ simpleFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2112 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112 Arch : "LSB;label=32;scalar=64" Exec : simpleFoam Date : Aug 06 2023 Time : 09:46:34 Host : DESKTOP-TK3D7CI PID : 4958 I/O : uncollated Case : /home/myopenfoam/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 SIMPLE: convergence criteria field p tolerance 0.0001 field U tolerance 1e-06 field "(k|epsilon|omega|f|v2)" tolerance 1e-05 Reading field p --> FOAM FATAL ERROR: (openfoam-2112 patch=220610) cannot find file "/home/myopenfoam/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D/0/p" From virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 542. FOAM exiting myopenfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/simpleFoam/backwardFacingStep2D$ |
|
|
|
|
|
|
|
|
#2 | |
|
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,358
Rep Power: 32 ![]() ![]() |
Hello,
The error message is pretty straightforward: Quote:
If you look at your case directory, you will see you have a 0.orig directory instead. You need to copy this directory to create a 0 directory before running your case. Something like: Code:
cp -r 0.orig 0 Cheers, Yann |
||
|
|
|
||
|
|
|
#3 |
|
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 218
Rep Power: 9 ![]() |
thank you dear Yann. that was helpful.
|
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |