CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] BlockMesh Error in cylinder case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2021, 08:04
Default BlockMesh Error in cylinder case
  #1
New Member
 
Join Date: May 2021
Posts: 3
Rep Power: 5
Shiny Rizvi is on a distinguished road
Hello!!

I'm stuck there while performing cylinder case, please help me.

FOAM FATAL ERROR: (openfoam-2012) cannot find file "/home/...../OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/system/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.
Shiny Rizvi is offline   Reply With Quote

Old   May 17, 2021, 09:12
Default
  #2
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
how do you launch the blockMesh tool? And where?


You must be in the cylinder directory. Inside this one, you have the system, constant and 0 directories. And inside the sytem directory, you have the controlDict file


Edit : the system/system path is not correct... I think you launched "blockMesh" IN the system directory. Just go in the cylinder directory and type "blockMesh"
cyss38 is offline   Reply With Quote

Old   May 17, 2021, 09:28
Default
  #3
New Member
 
Join Date: May 2021
Posts: 3
Rep Power: 5
Shiny Rizvi is on a distinguished road
Done as you said but still not working what to do,
Creating block mesh from "system/blockMeshDict"
Using #codeStream at line 23 in file "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict"
Using #codeStream with "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
Could not load "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so: cannot open shared object file: No such file or directory
Creating new library in "dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
Invoking wmake libso /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063
wmake libso /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 637: make: command not found
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 640: make: command not found
wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063


--> FOAM FATAL IO ERROR: (openfoam-2012)
Failed wmake "dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"


file: /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict at line 17 to 21.

From static void (* Foam::functionEntries::codeStream::getFunction(con st Foam::dictionary&, const Foam::dictionary&))(Foam::Ostream&, const Foam::dictionary&)
in file db/dictionary/functionEntries/codeStream/codeStream.C at line 197.
Shiny Rizvi is offline   Reply With Quote

Old   May 17, 2021, 09:31
Default
  #4
New Member
 
Join Date: May 2021
Posts: 3
Rep Power: 5
Shiny Rizvi is on a distinguished road
Quote:
Originally Posted by cyss38 View Post
how do you launch the blockMesh tool? And where?


You must be in the cylinder directory. Inside this one, you have the system, constant and 0 directories. And inside the sytem directory, you have the controlDict file


Edit : the system/system path is not correct... I think you launched "blockMesh" IN the system directory. Just go in the cylinder directory and type "blockMesh"
Done as you said but still issue what to do.
Creating block mesh from "system/blockMeshDict"
Using #codeStream at line 23 in file "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict"
Using #codeStream with "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
Could not load "/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
/home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so: cannot open shared object file: No such file or directory
Creating new library in "dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"
Invoking wmake libso /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063
wmake libso /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 637: make: command not found
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 640: make: command not found
wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063


--> FOAM FATAL IO ERROR: (openfoam-2012)
Failed wmake "dynamicCode/_49e41d753f2adb4c8dffc0259424b06af57db063/platforms/linux64Gcc63DPInt32Opt/lib/libcodeStream_49e41d753f2adb4c8dffc0259424b06af57d b063.so"


file: /home/shiny/OpenFoam/tutorials/tutorials/basic/potentialFoam/cylinder/system/blockMeshDict at line 17 to 21.

From static void (* Foam::functionEntries::codeStream::getFunction(con st Foam::dictionary&, const Foam::dictionary&))(Foam::Ostream&, const Foam::dictionary&)
in file db/dictionary/functionEntries/codeStream/codeStream.C at line 197.
Shiny Rizvi is offline   Reply With Quote

Old   May 17, 2021, 09:39
Default
  #5
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
Now it is an other problem. make is not installed...

Check the system requirements : https://www.openfoam.com/documentati...m-requirements

(make is in the build-essential package)
cyss38 is offline   Reply With Quote

Reply


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
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
Blockmesh file for a hollow cylinder vighnesh.j OpenFOAM Pre-Processing 0 April 23, 2017 12:21
[blockMesh] OpenFOAM- Problem with BlockMesh of Cylinder NightWing OpenFOAM Meshing & Mesh Conversion 0 December 7, 2015 07:04
UDF of flow over oscillating cylinder 2D case imharoon1 FLUENT 3 August 28, 2011 01:46
[blockMesh] Specifying boundary faces failes in blockMesh blaise OpenFOAM Meshing & Mesh Conversion 0 May 10, 2010 03:56


All times are GMT -4. The time now is 07:53.