|
[Sponsors] |
April 19, 2005, 04:38 |
find degenerated cells
|
#1 |
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?
|
|
April 19, 2005, 06:12 |
Re: find degenerated cells
|
#2 |
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 |
|
April 19, 2005, 07:32 |
Re: find degenerated cells
|
#3 |
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? |
|
April 22, 2005, 06:49 |
Re: find degenerated cells
|
#4 |
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 |
|
|
|
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 |