Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1632
Closed
Open
Issue 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