Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export data out of XC #33

Closed
berndhahnebach opened this issue Oct 6, 2018 · 5 comments
Closed

Export data out of XC #33

berndhahnebach opened this issue Oct 6, 2018 · 5 comments
Assignees

Comments

@berndhahnebach
Copy link
Contributor

Is one of the following possible and if yes how? workingModel of ana is agreat example to play with ...

  • export geometry entries to step, dxf, txt or any other format?
  • export fem-mesh to vtk, unv, stl or any other format?
  • export results to vtk?

Cheers bernd

@lcpt
Copy link
Collaborator

lcpt commented Oct 8, 2018

There exist a package that exports the the geometry to SCIA XML: sciaXML. It can export also the mesh but the SCIA model that results is not very useful. You can see an example here: xc_to_scia.py.

There is also the module DxfReader.py that can be use to import the geometry from a DXF file. You can see an example here: import_from_dxf.py.

@lcpt lcpt self-assigned this Oct 8, 2018
@lcpt
Copy link
Collaborator

lcpt commented Oct 8, 2018

There is also some methods in the module NeutralMeshDescription.py that allos to import a mesh from DAT files generated by Salome. You can see an example here: dat_to_xc.py.

@lcpt
Copy link
Collaborator

lcpt commented Oct 8, 2018

You can also export the mesh to Paraview file format using vtkXMLUnstructuredGridWriter in VTK; I've added an example here: mesh_to_vtk_file_test.py. The model imported in Paraview (with some warnings in the process) looks like that:
paraview_screenshot

@lcpt
Copy link
Collaborator

lcpt commented Oct 8, 2018

I Imagine there is a way to export the results to VTK (Paraview) too but i've never used it.

Cheers.
Luis

@berndhahnebach
Copy link
Contributor Author

wow, cool that's the stuff I was looking for ... There is a lot to learn and try out ...

@lcpt lcpt closed this as completed Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants