CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] BlockMesh Error in cylinder case (https://www.cfd-online.com/Forums/openfoam-meshing/236174-blockmesh-error-cylinder-case.html)

Shiny Rizvi May 17, 2021 08:04

BlockMesh Error in cylinder case
 
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.

cyss38 May 17, 2021 09:12

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"

Shiny Rizvi May 17, 2021 09:28

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 May 17, 2021 09:31

Quote:

Originally Posted by cyss38 (Post 804018)
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.

cyss38 May 17, 2021 09:39

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)


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