User forgot to define frontier number xx?

2009-03-05
2013-04-09
  • Hi, guys!

    I am compiling the codes in VS 2005, an error poped out:

    User forgot to define frontier number xx.

    in MeshGmesh, Line 198.

    I find that OpenFlower "wants" xx.msh file starts with "$NOD", but my gmsh-2.3.0-Windows gives the file with

    $MeshFormat
    2 0 8
    $EndMeshFormat
    $PhysicalNames
    5
    102 ""
    103 ""
    104 ""
    105 ""
    106 ""
    $EndPhysicalNames
    $Nodes
    ...

    start.

    does the versions between gmesh and OpenFlower have sone dependence?

    Helps are very appreciated!

     
    • Save the mesh in .msh V1.0 first of all.

      Secondly you must hand define all your frontiers(physical surfaces) in your FLW. This will look something like:

      Gmsh mesh{
      file xx.msh
      frontiers{
      surface 100 walls
      .
      .
      .
      .
      etc

      Hope this helps