|
[Sponsors] |
[Other] AMR : How to apply AMR only inside one region ?? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 16, 2023, 07:43 |
AMR : How to apply AMR only inside one region ??
|
#1 |
New Member
H.Ham
Join Date: Mar 2019
Posts: 21
Rep Power: 7 |
Greetings fellow Foamers,
I am currently working on a two-phase flow configuration involving a waterfall gravity driven system. I am utilizing Adaptive Mesh Refinement (AMR) to focus the refinement around the water jet. I am refining for alpha.water between 0.005 and 0.99 in order to capture the entirety of the water jet. However, as shown in the attached image (bottom right corner), there are some liquid structures emerging outside of the jet. As a result, I am experiencing an excessive amount of cells. Is there any tricks or techniques to impose AMR only within the designated red square in the figure ? Any suggestions would be greatly appreciated. You will find attached the dynamicMeshDict script and the figure of the mesh in question? --------------------------dynamicFvMesh--------------------------------- dynamicFvMesh dynamicRefineFvMesh; // How often to refine refineInterval 1; // Field to be refinement on field alpha.water; // Refine field inbetween lower..upper lowerRefineLevel 0.0005; upperRefineLevel 0.999; // If value < unrefineLevel unrefine unrefineLevel 10; // Have slower than 2:1 refinement nBufferLayers 1; // Refine cells only up to maxRefinement levels maxRefinement 2; // Stop refinement if maxCells reached maxCells 100000000; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to apply motion to overset region | Henry Arrigo | STAR-CCM+ | 14 | June 28, 2021 07:38 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
Apply Rotation Speed of Rotating Region | Joke | Main CFD Forum | 0 | September 19, 2011 10:48 |
Apply a BC from library directly inside the solver ? | T.D. | OpenFOAM | 0 | April 5, 2011 05:39 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |