CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] How to export from Paraview to ANSYS or any software for performing Meshing (https://www.cfd-online.com/Forums/paraview/218460-how-export-paraview-ansys-any-software-performing-meshing.html)

vidyadhar June 21, 2019 00:57

How to export from Paraview to ANSYS or any software for performing Meshing
 
Hello,

I have fluent case and data file loaded onto paraview.
I have done a basic operation in paraview to delete some portion of the domain.
Now I want to export this residual portion of domain into ANSYS or any meshing software for further meshing.

Can anyone hlep me how to do this.


Thanks in advance!
vidyadhar

[Moderator note: Quoting more details from another thread:]
Quote:

Originally Posted by vidyadhar (Post 739473)
1) I have exported Fluent solution data in Encase Gold Format and opened in Paraview. It displays "invalid VARIABLE line:SCRIPTS". But, I can perform all basic operations like clipping, iso-contours etc.
2) Even without performing any of the above "basic operations", I have done this in paraview: File --> Save Data --> .cgns file
But, when I try to import this cgns file into Fluent, it displays an error message saying "Error reading cgns file"
3) My intention was to CLIP vapor cells by a scalar of volumefraction=0.5 and save the data in cgns format, so that in Fluent I can read this and perform further simulations.
My queries: Whether saving data in CGNS format from paraview results in saving mesh&data at all the cells of the domain or only at the boundaries?


wyldckat July 25, 2019 19:56

Quick answer: My suggestion is that you export the surface of the iso-surface into an STL file and use that to remesh. In theory, you can export to STL in ParaView if you use this chain of filters:
  • Contours (namely your iso-surface)
    • Extract surface
      • Triangulate
Then select the last entry (the Triangulate one) on the "Pipeline Browser" and in the menu File -> Save Data, choose the format STL.

You could also try to save it to CGNS... at least it should only write the boundary surface.

vidyadhar August 2, 2019 02:36

Re-pairing the STL file for meshing
 
1 Attachment(s)
Hello Brunos Santos,
I have followed the procedure described by you- from an iso-surface of volume fraction=0.5. I am attaching herewith the STL file saved from paraview (Note: three files are getting saved: one with 139kB, and the other two with 1 kB each).


But, I am facing problems in processing this STL file in either ICEM CFD(uncovered faces, single edge elements etc..) or ANSYS workbench (invalid facets, mesh is not watertight, self-intersecting, body contains non-manifold vetex etc).

I request any one on the forum to please describe the procedure for repairing/correcting the STL and make it suitable for meshing. If possible, can anyone share a video of the entire process.


If it is not possible to mesh the iso-surface, is there any fault with the mesh of my original domain?




Thanks & Regards,
Vidyadhar

wyldckat August 3, 2019 14:44

Quick answer: The iso-surface is a single sheet, it's not a closed volume. The error messages you're are getting are likely due to that, namely that it's not a closed volume.

The only solution that comes to mind requires you to either work on the STL file using a 3D CAD editor, such as Blender, FreeCAD or MeshLab. There are plenty of online tutorials on how to use them.

Or use SpaceClaim, if your ANSYS installation provides it.

Either way, you will have to close the surface manually, namely to add the side surfaces of the tank, namely to add the missing parts of original walls of your original meshed domain.

vidyadhar August 14, 2019 02:10

Solution from discourse.paraview.org
 
Quote:

Originally Posted by wyldckat (Post 740987)
Quick answer: The iso-surface is a single sheet, it's not a closed volume. The error messages you're are getting are likely due to that, namely that it's not a closed volume.

The only solution that comes to mind requires you to either work on the STL file using a 3D CAD editor, such as Blender, FreeCAD or MeshLab. There are plenty of online tutorials on how to use them.

Or use SpaceClaim, if your ANSYS installation provides it.

Either way, you will have to close the surface manually, namely to add the side surfaces of the tank, namely to add the missing parts of original walls of your original meshed domain.


Hello Brunos Santos,

Similar solution has been elaborately suggested by Kyoshimi (Kenichiro-Yoshimi) and Cory-Quammen from Paraview Community. The details can be found here: https://discourse.paraview.org/t/how...-software/2085 (particularly, Post #35,37 in this link would solve my problem)



Thanks & Regards,
Vidyadhar


All times are GMT -4. The time now is 10:41.