CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > enGrid

Engrid, why surface mesh is always rendered as tet mesh even though it is hex?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2012, 18:00
Default Engrid, why surface mesh is always rendered as tet mesh even though it is hex?
  #1
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
1. For a simple channel flow, totally structured and hex, imported into engrid, and I am wondering why the surface mesh is always rendered as tet mesh even though it is hex? How can I change this?
2. How can I turn off the mesh, and only choose to view the surface?

Thanks
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   December 14, 2012, 09:25
Default
  #2
atg
Member
 
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 6
atg is on a distinguished road
I have only seen one mention of importing a hex mesh to engrid:

http://engits.eu/vanilla/index.php?p...5/#Comment_255

I am currently experimenting with the "create hex core mesh" function, but so far it just deletes my entire existing mesh. I think I may need to be more specific with the starting point - not sure what it is looking for.
atg is offline   Reply With Quote

Old   December 14, 2012, 13:56
Default
  #3
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Im going to write my own mesh generator from scratch
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   December 14, 2012, 17:34
Default
  #4
atg
Member
 
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 6
atg is on a distinguished road
Ok but if you can do that why not just make a plugin for engrid that will do what you want? Seems like this would be easier than starting from scratch?
atg is offline   Reply With Quote

Old   December 14, 2012, 17:45
Default
  #5
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
haha, I know, but it seems to me that Engrid has involved too many functions.

I am planning to write a light weighted and more focused on external aerodynamic flows mesh generator.

Just like, since we have the nopad++, why use notepad still?
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Old   December 15, 2012, 13:00
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Daniel:
  1. AFAIK, up to enGrid 1.4 it still handles meshes the way it does best: tetrahedral and prism cells. So it pretty much does what ParaView and foamToVTK usually do: convert everything to the common/simplified mesh denominator: prisms and pyramids
    I think there are plans and already some code for the next version of enGrid to start fully supporting visual display of polyhedral meshes.
  2. If you want to start creating a (yet another) mesh generator... have you taken a look at the already existing ones that are open-source? Besides OpenFOAM's core mesh generation system, enGrid and NETGEN, there's also Discretizer, which I believe is in need of some help coding-wise. It's made in Ruby and it has great potential to go even further...
    A scripted version of enGrid is also welcomed by many, but very few have the time to even look into it...
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 15, 2012, 15:14
Default
  #7
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Hi again, Bruno

For a single channel mesh, it looks different between importing it in engrid and converted it to vtk and view it then in engrid. And the latter is correct.
Honestly, I have collected more than 30 opensources mesh apps. As I remember one guy once said, mesh generation is easy in a certain sense, however people all want to make it universal and that is the problem.

Have a great weekend!
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
--> FOAM FATAL ERROR: Trying to specify a boundary face A.A. OpenFOAM Native Meshers: blockMesh 26 November 26, 2014 11:38
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
Error Importing Surface Mesh from GMSH to EnGrid eric.m.tridas enGrid 4 August 17, 2013 09:34
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 03:34


All times are GMT -4. The time now is 02:22.