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

find degenerated cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2005, 04:38
Default find degenerated cells
  #1
Pete
Guest
 
Posts: n/a
I have made a mesh with proam. Unfortunately there are some ployhedral cells which have 5 edges. For some reasons I cannot use the boundaries attached to these cells. So I have got two questions: - how can I find these cells? - is there a way to remesh these cells for exmaple with tetrahedrals?
  Reply With Quote

Old   April 19, 2005, 06:12
Default Re: find degenerated cells
  #2
Volker
Guest
 
Posts: n/a
Tricky one. You can do a boundary check, but I am not sure if the faulty boundaries will be put into a bset. You will definitely get a list of them on your screen maybe together with the attached cells. You can put them in a set with

bset news blis

or cset news clis.

From the bset you get to the cells by

vset news bset

cset news vset face

This can be very tedious if you have lots of those boundaries. Once you got your problem cells you could either remesh them as tets or fix them by hand (e.g. split them into tets, hexas or prisms). If you have the problem on your inlet/outlet, you could just extrude one cell layer and redefine your boundaries. Hope that helps,

volker
  Reply With Quote

Old   April 19, 2005, 07:32
Default Re: find degenerated cells
  #3
Pete
Guest
 
Posts: n/a
thanks, volker

but bcheck did not find these cells. but i have got them with the trimmed option in cset.

how can I split trimmed cells in tets without deleting them by hand?
  Reply With Quote

Old   April 22, 2005, 06:49
Default Re: find degenerated cells
  #4
Volker
Guest
 
Posts: n/a
You can use the tetgen command in proam to do this. Take the cell you want to replace (and maybe the cells around this one) and create a surface around them with livesurf. Check that this surface has no errors (self-intersection, orientation, cuts), then run tetgen. You have to have a fluid cell type active when you do that. It is advisable to give the cells you want to replace a new cell ID. When you have your new tets, delete the old cells and connect the new cells to the rest of the mesh. Alternatively you can use TetFix in Mesh Tools. It's made for unresolved cells but it should work for your problem as well, if you give your bad cells the ID 2. Alternatively, use the cdx command to generate new cells by hand. Most of the times you can replace your trimmed cell by a few standard shape cells. Just get your bad cell and the neighbouring cells, delete the bad cell and fill the hole with new cells with:

setadd, on

ctype, 1 (or whatever ID you choose)

cdx, hexa (or tetr or prism...)

cplot

When you do the cdx you have to be careful to choose the vertices in the right order (see Appendix A in the proam User guide). This method has the advantage of fewer cells and total control over the quality of your newly generated cells. It's a bit tricky the first time you do it, but it's worth getting used to if you regularly work with trimmed meshes.

Good luck,

Volker
  Reply With Quote

Reply


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
How to find adjacent cells evgenii OpenFOAM Running, Solving & CFD 3 September 27, 2008 03:03
[Other] Degenerated elements make OpenFOAM Meshing & Mesh Conversion 0 August 13, 2007 11:22
[Gmsh] Gmsh and degenerated hexaedron mattijs OpenFOAM Meshing & Mesh Conversion 0 December 7, 2005 04:43
degenerated mesh mange FLUENT 3 November 10, 2004 20:14
a way to find out wall-neighboring cells? Christian FLUENT 4 May 10, 2002 09:30


All times are GMT -4. The time now is 23:51.