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 ！
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.
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.
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.
|All times are GMT -4. The time now is 19:08.|