|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002584||OpenFOAM||Feature||public||2017-06-15 17:24||2017-11-01 18:03|
|Target Version||Fixed in Version|
|Summary||0002584: Add support for 2D adaptive refinement|
I am wondering if it would be possible to modify the (I guess) hexRef8 class in a way that it allows to refine only in two directions. That could be used for adaptive mesh refinement in 2D cases which are widely used in scientific fields (as you know).
I was thinking about to make a patch but it seems that the hexRef8 class is a bit too complex just to make a patch without having a good background in that topology change topic.
|Tags||No tags attached.|
|Currently doing 2D refinement is messy and it would be a good for it to be a built-in option. I am not sure if adding 2D refinement support to hexRef8 would be the best way to go as I did not write this part of OpenFOAM and not spent much time studying it.|
|I was thinking about adding a 2D build-in option to the dynamicRefinement class. However, therefore we first need a library who can deal with the 2D split. I could build such a lib which handles the splitting of cells in 2D. However, right now there is not too much time to focus on that too much but if it is welcomed, I can try to make a new library who handles the 2D splitting and add it to the dynamicRefinement class as an build-in option.|
You might want to study the
class which support directional refinement and is used as the basis of the refineMesh utility. It is likely that multiDirRefinement could be extended to support dynamic refinement.
|Thank you for the hint. if there is a patch ready, I will upload it.|
The refinement for 2D is working so far but the main problem using the multiDirRefinement is based on the polyTopoChange object.
Right now I made a build-in to the dynamicRefineFvMesh class for 2D refinements. If we choose that, we call functions of the multiDirRefinement which works quite nice but the meshMod (polyTopoChange) makes trouble after I run the multiDirRefinement function. Any hint? I guess it is a bit more work to implement that in a nice way.
|I guess I have also to investigate into the polyTopoChange class and understand what is going on there in order to make the patch.|
@Shorty: Since it's been a few months since this was open, please re-open this report when you have the patch ready.
Furthermore, please notice that feature requests that aren't fulfilled within a few months after being open, usually are closed as "suspended". Finding these later one can be done by searching here for:
- Hide status: "[none]"
- Resolution: "suspended"
|2017-06-15 17:24||Shorty||New Issue|
|2017-06-15 18:34||henry||Note Added: 0008224|
|2017-06-19 09:42||Shorty||Note Added: 0008228|
|2017-06-19 14:03||henry||Note Added: 0008229|
|2017-06-19 14:11||Shorty||Note Added: 0008230|
|2017-06-23 17:11||Shorty||Note Added: 0008239|
|2017-06-23 18:02||Shorty||Note Added: 0008240|
|2017-11-01 18:03||wyldckat||Note Added: 0008972|
|2017-11-01 18:03||wyldckat||Assigned To||=> henry|
|2017-11-01 18:03||wyldckat||Status||new => closed|
|2017-11-01 18:03||wyldckat||Resolution||open => suspended|