CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Run Time Mesh refinement

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By clapointe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2020, 12:58
Cool Run Time Mesh refinement
  #1
Senior Member
 
FlyBob91's Avatar
 
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10
FlyBob91 is on a distinguished road
Hello Foamers,
I'm searching for a tool to refine my mesh in runtime based on the distribution of a scalar that I calculate during my simulation. If you think to a 2D mesh, I would like, after n number of iterations, to split the cells where the gradient of my scalar is larger.

Do you have any utility or tutorial to suggest me?

Thank you for help
FlyBob91 is offline   Reply With Quote

Old   January 31, 2020, 14:03
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 14
clapointe is on a distinguished road
You want to use adaptive mesh refinement (AMR). There are interFoam tutorials that use AMR (pretty sure in 3D) -- check the dynamicMeshDict for use of dynamicRefineFvMesh. Native AMR functionality is for 3D use but various versions of adaptations for 2D use have been developed by the community -- a google for "2D amr openfoam" should yield many results (e.g. https://www.sciencedirect.com/scienc...52711018301699, 2D adaptive Mesh Refinement).

Caelan
HPE likes this.
clapointe is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 10:11
Transient run continues from last time (when startover is desired) bongbang CFX 2 March 22, 2015 23:05
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56


All times are GMT -4. The time now is 04:29.