|
[Sponsors] |
August 7, 2019, 02:35 |
Error when "wmake"
|
#1 |
New Member
Suraj Kulkarni
Join Date: May 2019
Posts: 7
Rep Power: 7 |
I have been trying to create a solver capable of solving passive temperature scalar by modifying pimpleDyMFoam. Whenever I try to compile I get the following error:
Code:
Make/linux64GccDPInt64Opt/options:62: *** missing separator. Stop. Make/linux64GccDPInt64Opt/options:62: *** missing separator. Stop. wmake error: file 'Make/linux64GccDPInt64Opt/sourceFiles' could not be created I also checked for whitespaces in all the make files, but still it shows the same error. solver .C file is as follows: Code:
#include "fvCFD.H" #include "dynamicFvMesh.H" #include "singlePhaseTransportModel.H" #include "turbulentTransportModel.H" #include "pimpleControl.H" #include "CorrectPhi.H" #include "fvIOoptionList.H" #include "fixedFluxPressureFvPatchScalarField.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) { #include "setRootCase.H" #include "createTime.H" #include "createDynamicFvMesh.H" #include "initContinuityErrs.H" pimpleControl pimple(mesh); #include "createFields.H" #include "createUf.H" #include "createMRF.H" #include "createFvOptions.H" #include "createControls.H" #include "CourantNo.H" #include "setInitialDeltaT.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { #include "readControls.H" #include "CourantNo.H" #include "setDeltaT.H" runTime++; Info<< "Time = " << runTime.timeName() << nl << endl; // Added dynmaic mesh update. mesh.update(); // Calculate absolute flux from the mapped surface velocity phi = mesh.Sf() & Uf; if (mesh.changing() && correctPhi) { #include "correctPhi.H" } // Make the flux relative to the mesh motion fvc::makeRelative(phi, U); if (mesh.changing() && checkMeshCourantNo) { #include "meshCourantNo.H" } // --- Pressure-velocity PIMPLE corrector loop while (pimple.loop()) { #include "UEqn.H" #include "TEqn.H" // --- Pressure corrector loop while (pimple.correct()) { #include "pEqn.H" } if (pimple.turbCorr()) { laminarTransport.correct(); turbulence->correct(); } } runTime.write(); Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl; } Info<< "End\n" << endl; return 0; } |
|
August 7, 2019, 18:37 |
|
#2 |
New Member
Gavin Ridley
Join Date: Jan 2019
Location: Tennessee, USA
Posts: 25
Rep Power: 7 |
Can you post your Make/options file? This is usually something to do with a whitespace error in that file.
|
|
November 2, 2021, 06:23 |
|
#3 |
Member
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5 |
Any idea how to solve this error? I am getting the same error on openfoam-dev. This error did not occur while compiling new solver on openfoam7
|
|
Tags |
solver compilation error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
modifying Carreau model (viscosity) - How to use "wmake"? | vitorspadetoventurin | OpenFOAM Programming & Development | 2 | November 28, 2014 02:25 |
Errors in running "wmake" | Thamali | OpenFOAM Programming & Development | 5 | November 11, 2013 08:40 |
Problems with "wmake" | mathslw | OpenFOAM Installation | 4 | July 13, 2012 13:55 |
Our friend "wmake" | marupio | OpenFOAM Programming & Development | 1 | December 7, 2009 03:32 |