CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] How to export from Paraview to ANSYS or any software for performing Meshing

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By vidyadhar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2019, 00:57
Default How to export from Paraview to ANSYS or any software for performing Meshing
  #1
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 137
Rep Power: 6
vidyadhar is on a distinguished road
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 View Post
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?

Last edited by wyldckat; July 25, 2019 at 19:52. Reason: see "Moderator note"
vidyadhar is offline   Reply With Quote

Old   July 25, 2019, 19:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,962
Blog Entries: 45
Rep Power: 123
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
wyldckat is offline   Reply With Quote

Old   August 2, 2019, 02:36
Default Re-pairing the STL file for meshing
  #3
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 137
Rep Power: 6
vidyadhar is on a distinguished road
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
Attached Files
File Type: zip isoContour.zip (18.4 KB, 1 views)
vidyadhar is offline   Reply With Quote

Old   August 3, 2019, 14:44
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,962
Blog Entries: 45
Rep Power: 123
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 likes this.
wyldckat is offline   Reply With Quote

Old   August 14, 2019, 02:10
Default Solution from discourse.paraview.org
  #5
Senior Member
 
vidyadhar
Join Date: Jul 2016
Posts: 137
Rep Power: 6
vidyadhar is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
wyldckat likes this.

Last edited by vidyadhar; August 14, 2019 at 02:15. Reason: text added
vidyadhar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GAMBIT] GAMBIT or ANSYS Meshing software mohammadx90 ANSYS Meshing & Geometry 16 October 24, 2017 02:55
[ICEM] ANSYS Meshing & ICEM with one license vasava ANSYS Meshing & Geometry 0 March 20, 2015 08:13
Meshing software comparison Wikie Mesh Generation & Pre-Processing 5 September 29, 2014 06:09
ANSYS LS-DYNA export, mechanicaldesign ANSYS 0 July 22, 2012 03:30
Free UK seminars: ANSYS CFD software Gavin Butcher CFX 0 November 23, 2004 09:13


All times are GMT -4. The time now is 03:20.