CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

RotatingFanInRoom tutorial with OpenFoam9 error

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

Like Tree1Likes
  • 1 Post By gart04

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2022, 08:56
Default RotatingFanInRoom tutorial with OpenFoam9 error
  #1
New Member
 
Join Date: Apr 2022
Posts: 7
Rep Power: 0
gart04 is on a distinguished road
Hi

I'm trying to run RotatingFanInRoom tutorial with OpenFoam9. I'v got a strange error message and i did not find the solution, p field is not wrote but why ...

My call :
surfaceFeatures (no problem)
blockMesh (no problem)
snappyHexMesh -overwrite (no problem)
renumberMesh -overwrite (no problem)
pimpleFoam (problem ==>

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: solidBody
Selecting solid-body motion function rotatingMotion
Applying solid body motion to cellZone rotatingZone

PIMPLE: No convergence criteria found


PIMPLE: No corrector convergence criteria found
Calculations will do 3 corrections


PIMPLE: Operating solver in transient mode with 3 outer correctors


Reading field p



--> FOAM FATAL ERROR:
cannot find file "/home/nico/rotatingFanInRoom/mesh/0/p"

From function 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 539.

FOAM exiting

Thanks a lot
gart04 is offline   Reply With Quote

Old   May 13, 2022, 10:02
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,233
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hi,

Lets start with the obvious, since you get this:

Code:
--> FOAM FATAL ERROR:
cannot find file "/home/nico/rotatingFanInRoom/mesh/0/p"
Do you have a 0 directory in your case and does it contain a "p" file?

Your path looks a bit odd, do you run the pimpleFoam command from the "mesh" directory? (/home/nico/rotatingFanInRoom/mesh)

Regards,
Yann
Yann is offline   Reply With Quote

Old   May 13, 2022, 10:14
Default
  #3
New Member
 
Join Date: Apr 2022
Posts: 7
Rep Power: 0
gart04 is on a distinguished road
Hi Yann

thanks for your help. Yes i check all the obvious criteria i think : i run pimpleFoam from the mesh directory and i have not the /0 directory, but i assume it was creating automatically by the run and this is what causes the error. Maybe my mystake is i have to create the /0 folder "manually" before running pimpleFoam ? I usually use AcuSolve solver from Hypermesh for CFD, i just begin to use OpenFoam.

Thank you again
gart04 is offline   Reply With Quote

Old   May 13, 2022, 10:22
Default
  #4
New Member
 
Join Date: Apr 2022
Posts: 7
Rep Power: 0
gart04 is on a distinguished road
Ok i check, all my set (P,U,K,omega,nut) in 0 directory directly copied in mesh directory and it works (i have other errors but i work on it). I thought that was done automatically with my 0.orig. Very obvious you are right, thanks again. Yann
Yann likes this.
gart04 is offline   Reply With Quote

Reply

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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
Compile calcMassFlowC aurore OpenFOAM Programming & Development 13 March 23, 2018 08:43
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 07:45
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 13:34
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07


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