I dont understand the error

2009-02-23
2013-04-09
  • Pierre Lecanu
    Pierre Lecanu
    2009-02-23

    Hello
    Can you help me for the error. I try with a small projet but I have a error.  Thank you.

    ########################################################
    #                OpenFlower  V1.0 Alpha Release        #
    #  Free Open Source CFD Software                       #
    #  Copyright (C) 2004-2005 by OpenFlower Team          #
    http://sourceforge.net/projects/openflower/         #
    #  Licensed under the GNU GPL Version 2.               #
    ########################################################
    Simulation data file: essai.flw
    System composed of 1 Equations: eqn1
    - Mesh file          : essai.msh
    Finished reading 3 frontiers.
    OpenFlower_v1.0_bin_Linux: MeshGmsh.cpp:120: virtual void Mesh_gmsh::readMeshVirtual(): Assertion `keyword == "$NOD"' failed.
    Aborted (core dumped)

    ---------------------------- essai.flw -------------------------------
    TimeBegin 0.
    TimeEnd 15.
    MaxTimeSteps 60
    CFL 0.5
    Medium water
    {
    rho    1.
    mu     0.001
    }
    Algorithm AlgoNavierStokes { eqn1 }
    Mesh gmsh
      {
      file essai.msh
      frontiers
        {
        surface 1 inlet_1
        surface 2 outlet
        surface 3 walls
        }
      }
    Equation navier_stokes_incompressible eqn1
      {
      Medium water
      // boundary conditions block
      boundary_condition wall                   walls 0. 0. 0
      boundary_condition velocity              inlet_1  1. 2. 0.
      boundary_condition velocity              inlet_2  1. 2. 0.
      boundary_condition pressure_outlet   outlet   0.02
      operator diffusion
      operator convection
      solver GMRES
      Initial_Condition Expr 0. 0. 0.
      }
    post_processing
      {
      global gmsh eqn1.Velocity 0. 1000.0 0.25
      global gmsh eqn1.Pressure 0. 1000.0 0.25
      probe eqn1.Velocity 0. 1000. 0.001 position 0.5 0.1 0.1
      }
    end

    ------------------------------essai.geo--------------------------------------------
    lc=5.0;
    ld=0.5;
    Point(1)={0,0,0,lc};
    Point(2)={0,0,20,lc};
    Point(3)={0,10,20,lc};
    Point(4)={0,10,0,lc};
    Point(5)={20,0,0,lc};
    Point(6)={20,0,5,lc};
    Point(7)={20,10,5,lc};
    Point(8)={20,10,0,lc};
    Line(1)={1,2};
    Line(2)={2,3};
    Line(3)={3,4};
    Line(4)={4,1};
    Line(5)={5,6};
    Line(6)={6,7};
    Line(7)={7,8};
    Line(8)={8,5};
    Line(9)={1,5};
    Line(10)={2,6};
    Line(11)={3,7};
    Line(12)={4,8};
    Line Loop(1)={1,2,3,4};
    Line Loop(2)={5,6,7,8};
    Line Loop(3)={1,10,-5,-9};
    Line Loop(4)={10,6,-11,-2};
    Line Loop(5)={11,7,-12,-3};
    Line Loop(6)={9,-8,-12,4};
    Plane Surface(1)={1};
    Plane Surface(2)={2};
    Plane Surface(3)={3};
    Plane Surface(4)={4};
    Plane Surface(5)={5};
    Plane Surface(6)={6};
    Surface Loop(1)={1,3,4,5,6,2};
    Volume(1)={1};
    Physical Surface(1)={1};
    Physical Surface(2)={2};
    Physical Surface(3)={3,4,5,6};
    Physical Volume(1)={1};