Skip to content

Data Extraction from 2D simulations

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1737
    sammyak
    Member

    dear Mathias,rnis it possible to extract the scalar field data (eg. pressure) from 2d simulation (eg. cylinder 2D) in vtk format..rnkindly suggest method to do… because i tried the methods given in user guide, but failed every time … with message “”not defined in this scope””. 😕 rnthanking you in advance

    #2109
    mathias
    Keymaster

    Dear Atul,rnrnIt is working like in the example “”cavity2d””:rn””vtkOut.writeData<double>(analysis.getVorticity(), “”vorticity””, (T)1/dt);””rnrnJust change “”Vorticity”” to “”Pressure”” and use the right scaling.rnrnMathias

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.