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

Error when "wmake"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2019, 02:35
Smile Error when "wmake"
  #1
New Member
 
Suraj Kulkarni
Join Date: May 2019
Posts: 7
Rep Power: 7
momentum_equation is on a distinguished road
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;
}
momentum_equation is offline   Reply With Quote

Old   August 7, 2019, 18:37
Default
  #2
New Member
 
Gavin Ridley
Join Date: Jan 2019
Location: Tennessee, USA
Posts: 25
Rep Power: 7
gridley2 is on a distinguished road
Can you post your Make/options file? This is usually something to do with a whitespace error in that file.
gridley2 is offline   Reply With Quote

Old   November 2, 2021, 06:23
Default
  #3
Member
 
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 6
B_R_Khan is on a distinguished road
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
B_R_Khan is offline   Reply With Quote

Reply

Tags
solver compilation error


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


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