|
[Sponsors] |
January 31, 2020, 12:58 |
Run Time Mesh refinement
|
#1 |
Senior Member
Join Date: Mar 2016
Location: Bergamo
Posts: 157
Rep Power: 10 |
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 |
|
January 31, 2020, 14:03 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 14 |
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 |
|
|
|
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 |