|
[Sponsors] |
Adaptive Mesh Refinement and Custom Field Variables |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 55
Rep Power: 8 ![]() |
Hello,
I have started using OpenFOAM's AMR feature recently. Although I am a total newbie, so far, I am able to use dynamicRefineFvMesh with pimpleDyMFoam. My understanding is that one can set a field (say, pressure) as the reference for refinement and also set a value interval for that field variable to do refinements on. The first thing I know about ARM is that the refinement should be done on regions where the gradient of a varible is the highest, instead of the value itself of that variable. That being said, I am looking for a way to set the gradient of a field variable as the refinement parameter. Can I do that with a direct input such as: field grad(p); in dynamicMeshDict, or should I create a new field variable which would yield the pressure gradient magnitude first? If so, how can I do that? Thanks in advance, Hüseyin Last edited by hconel; October 25, 2019 at 02:13. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh Refinement Problem | jonl3 | STAR-CCM+ | 2 | August 21, 2018 15:45 |
Adaptive mesh by interDyMFoam | arsalan.dryi | OpenFOAM Running, Solving & CFD | 0 | May 4, 2016 04:07 |