2017-06-25 06:10 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002584OpenFOAMFeaturepublic2017-06-23 18:02
ReporterShor-ty 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformGNU/LinuxOSUbuntuOS Version14.04
Product Versiondev 
Target VersionFixed in Version 
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.
Attached Files

-Relationships
+Relationships

-Notes

~0008224

henry (manager)

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.

~0008228

Shor-ty (reporter)

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.

~0008229

henry (manager)

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.

~0008230

Shor-ty (reporter)

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

~0008239

Shor-ty (reporter)

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.

~0008240

Shor-ty (reporter)

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

-Issue History
Date Modified Username Field Change
2017-06-15 17:24 Shor-ty New Issue
2017-06-15 18:34 henry Note Added: 0008224
2017-06-19 09:42 Shor-ty Note Added: 0008228
2017-06-19 14:03 henry Note Added: 0008229
2017-06-19 14:11 Shor-ty Note Added: 0008230
2017-06-23 17:11 Shor-ty Note Added: 0008239
2017-06-23 18:02 Shor-ty Note Added: 0008240
+Issue History