Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1632

Closed
Open
Created Mar 13, 2020 by Thorsten Zirwes@g3

objToVTK broken since v1812

Since v1812, objToVTK does not work.

How to reproduce:

Convert any .obj file to .vtk, e.g.:

cp -r $FOAM_TUTORIALS/incompressible/icoFoam/cavity/cavity .
cd cavity
blockMesh -blockTopology
objToVTK blockTopology.obj test.vtk # fails

Error message:

--> FOAM FATAL IO ERROR:
Bad token - could not get word

file: input at line 0.

    From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&)
    in file primitives/strings/word/wordIO.C at line 48.

Versions up to (and including) v1806 work fine. v1812, v1906 and v1912 exhibit the error. The generated blockTopology.obj is the same among all versions, so the culprit seems to be objToVTK.

Assignee
Assign to
Time tracking