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

[Other] AMR : How to apply AMR only inside one region ??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2023, 07:43
Question AMR : How to apply AMR only inside one region ??
  #1
New Member
 
H.Ham
Join Date: Mar 2019
Posts: 21
Rep Power: 7
kimou is on a distinguished road
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;
Attached Images
File Type: jpg capture_AMR.jpg (111.2 KB, 16 views)
kimou 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
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


All times are GMT -4. The time now is 15:03.