|
[Sponsors] |
blockMesh wmake error for OpenFOAM5 on ubuntu on windows |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 8, 2018, 06:11 |
blockMesh wmake error for OpenFOAM5 on ubuntu on windows
|
#1 |
New Member
R Clement
Join Date: Feb 2018
Location: Edinburgh
Posts: 5
Rep Power: 8 |
I am new to OpenFOAM
I have installed OpenFOAM5 on Ubuntu on Windows10 following the instructions on the OpenFOAM web site. I created a users directory (/home/rclement/OpenFOAM/rclement-5.0/run/) under the OpenFOAM subdirectory and copied the pitzDaily example from the tutorials directory to that location. I then succefully ran this copied tutorial (blockMesh, simpleFoam, and paraFoam). I then copied the pitzDaily example to a new subdirectory (.../run/Sonic0/). I edited the BlockMeshDict file and tried to run blockMesh. This failed because of a wmake error, the complete output is below. My question is, why did the blockMesh command work for the pitzDaily but fail for my modified blockmeshdict when the fail appear not be be related to the blockmesh file. #---------------- output -------------- *---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-197d9d3bf20a Exec : blockMesh Date : Feb 08 2018 Time : 18:52:50 Host : "DESKTOP-HICV6BE" PID : 647 I/O : uncollated Case : /home/rclement/OpenFOAM/rclement-5.0/run/Sonic0 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "/home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/system/blockMeshDict" Using #codeStream at line 19 in file "/home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/system/blockMeshDict" Using #codeStream with "/home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_bd020b3857767f2bdf03dd861d918464b24f 6e5a.so" Invoking "wmake -s libso /home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/dynamicCode/_bd020b3857767f2bdf03dd861d918464b24f6e5a" wmake libso /home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/dynamicCode/_bd020b3857767f2bdf03dd861d918464b24f6e5a /opt/openfoam5/wmake/wmake: line 409: make: command not found /opt/openfoam5/wmake/wmake: line 412: make: command not found wmake error: file 'Make/linux64GccDPInt320pt/sourceFiles' could not be created in /home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/dynamicCode/_bd???????? --> FOAM FATAL IO ERROR Failed wmake "dynamicCode/_bd???????????/platforms/linux64GccDPIInt320pt/lib/libcodeStream_bd????????.so file: /home/rclement/OpenFOAM/rclement-5.0/run/Sonic0/system/blockMeshDict from line 17 to line 17. from function static void * Foam:: functionEntries::codeStream::getFunction(const Foam::dictionary&,const Foam:: dictionary&)(Foam::0stream&, const Foam::dictionray&) in file db/dictionary/functionEntries/codeStream/codeStream.C at line 218. FOAM exiting |
|
March 5, 2018, 14:50 |
|
#2 | |
New Member
AliG
Join Date: Mar 2018
Location: San Francisco
Posts: 6
Rep Power: 8 |
I just had this same issue (also new user), for custom non-uniform boundary conditions.
You need to install make in your WSL. Open the Ubuntu terminal, and do a Code:
sudo apt-get install make Quote:
|
||
Tags |
openfoam 5.0, windows 10, wmake error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh 'command not found' on Ubuntu 16.04 | fredb | OpenFOAM Installation | 5 | December 22, 2016 11:13 |
[solidMechanics] Building solidMechanics in OpenFOAM 1.6-ext on Mac OS X | codder | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 4 | January 11, 2014 18:34 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Installation of OpenFOAM-1.6 on Ubuntu 9.10 | marval | OpenFOAM Installation | 2 | March 17, 2010 09:33 |