|
[Sponsors] |
March 3, 2010, 23:04 |
dynamicMesh 2D
|
#1 |
New Member
Eric.wang
Join Date: Jun 2009
Location: beijing china
Posts: 11
Rep Power: 17 |
Hi foamers
I am working on a 2d simulatin required mesh refine. I checked the source and found dynamicRefineFvMesh using meshcutter hexRef8 which can only split a cell into 8 octant. but in 2D use ,I just want 4.I checked the source of hexRef8 and found it is a really long code . Is there anybody can help me and tell me . 1 .How to change hexRef8 into hexRef4 ? 2 .How to make dynamicRefineFvMesh worked in 2D ? 3 .Is it possible to make 1 and 2 come true ? thanks for your attention ! Any comment is welcom ! |
|
July 25, 2012, 11:38 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
I know this is an old post but I am bumping it. I'm curious if anyone has looked into extending hexRef8 into its 2d counter part.
|
|
July 26, 2012, 17:39 |
|
#3 |
Senior Member
|
For what I know about dynamic mesh refinement, this does not work in 2D. If you have empty type boundaries in your mesh, your simulation will break after the first refinement step, as you don't have a 2D mesh any more.
As a workaround, you could swap type empty to type symmetryPlane in your boundary definition. This would not be a real 2D simulation, but it is kind of working. Though it's validity to your problem has to be discussed. |
|
October 1, 2015, 06:03 |
hexMesh4
|
#4 |
New Member
Quinn Reynolds
Join Date: Jun 2014
Posts: 7
Rep Power: 12 |
For what it's worth, I found this library on GitHub. I'm not sure if it is still being developed and haven't tested it myself, but it looks promising.
https://github.com/chrisb2244/2D-AMR-OFlib |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Fluent3DMeshtoFoam | r2d2 | OpenFOAM Meshing & Mesh Conversion | 36 | November 30, 2015 13:22 |
DynamicMesh not buils using icc 100 in sgi altix 4000 | arkangel | OpenFOAM Installation | 0 | October 24, 2007 10:40 |
Compilation error | ovchin | OpenFOAM Bugs | 4 | September 20, 2007 04:56 |
Some one help!!! Write Cp location for dynamicmesh | Endee | FLUENT | 0 | July 11, 2007 06:42 |
MotionUy and DynamicMesh with OF14 | bfa | OpenFOAM Running, Solving & CFD | 2 | July 10, 2007 07:52 |