|
[Sponsors] |
Dynamic mesh refinement at specified locations in the domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 14, 2019, 13:27 |
Dynamic mesh refinement at specified locations in the domain
|
#1 |
New Member
Kaushik
Join Date: Jun 2019
Posts: 14
Rep Power: 7 |
Hello all,
I am relatively new to OpenFOAM, and am familiar with the basics of creating and running basic applications. I have a case where I would like to arbitrarily refine the mesh dynamically at specific locations of interest in my domain. Attached is an example of what I would like to achieve. TIA for your help and suggestions |
|
August 14, 2019, 14:58 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
How do you define interest? If it's some (continuous) quantitative measure of the flow field, derive some volScalarField that represents that. Otherwise, make a dummy volScalarField, use setFields to set some regions of the field to 1, and multiply this dummy field by another field. Then the other field will be zero except for the regions of interest. Then set the refinement bounds accordingly.
Caelan |
|
August 14, 2019, 15:06 |
|
#3 |
New Member
Kaushik
Join Date: Jun 2019
Posts: 14
Rep Power: 7 |
Thanks for the reply Caelan. The region of interest is not based on any quantitative measure of a field. These regions are just arbitrary regions where I desire a mesh of higher resolution. Your suggestion to use a dummy field sounds great, and I believe will achieve exactly what I am looking for. Thanks you so much again!
|
|
Tags |
mesh refinement |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! | divergence | OpenFOAM Meshing & Mesh Conversion | 0 | January 23, 2019 05:17 |
[snappyHexMesh] Bad/jagged mesh around intersection of two .stl bodies | MBttR | OpenFOAM Meshing & Mesh Conversion | 7 | October 14, 2016 04:57 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |