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

FOAM Fatal Error : (OpenFOAM-2012)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2023, 03:39
Default FOAM Fatal Error : (OpenFOAM-2012)
  #1
New Member
 
NOR AMIRA HUSNA
Join Date: Jul 2023
Posts: 1
Rep Power: 0
amrhus is on a distinguished road
Hi all,

I want to install OpenFoam on my Windows 10 but when I finish the step and try to write the command simpleFoam and blockMesh using bash terminal on Windows 10, it appear the above error.

--> FOAM FATAL ERROR: (openfoam-2012)
cannot find file "/mnt/c/Users/User/tutorial/system/controlDict"

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 547.

FOAM exiting
amrhus is offline   Reply With Quote

Old   July 7, 2023, 04:52
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,360
Rep Power: 33
Yann will become famous soon enoughYann will become famous soon enough
Hello,

You need to create a case directory and navigate to this directory in your terminal before running these commands.

If you are lost, I suggest to start with the tutorial guide: https://www.openfoam.com/documentation/tutorial-guide

Regards,
Yann
Yann 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 10:03.