View Issue Details

IDProjectCategoryView StatusLast Update
0002584OpenFOAMFeaturepublic2017-11-01 18:03
ReporterShorty Assigned Tohenry  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionsuspended 
PlatformGNU/LinuxOSUbuntuOS Version14.04
Product Versiondev 
Summary0002584: Add support for 2D adaptive refinement
DescriptionHello Henry,

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.

Kind regards,
Tobias
TagsNo tags attached.

Activities

henry

2017-06-15 18:34

manager   ~0008224

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.

Shorty

2017-06-19 09:42

reporter   ~0008228

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.

henry

2017-06-19 14:03

manager   ~0008229

You might want to study the

src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement

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.

Shorty

2017-06-19 14:11

reporter   ~0008230

Thank you for the hint. if there is a patch ready, I will upload it.

Shorty

2017-06-23 17:11

reporter   ~0008239

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.

Shorty

2017-06-23 18:02

reporter   ~0008240

I guess I have also to investigate into the polyTopoChange class and understand what is going on there in order to make the patch.

wyldckat

2017-11-01 18:03

updater   ~0008972

@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"

Issue History

Date Modified Username Field Change
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