CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] dynamicRefineFvMesh does not unrefine the mesh (https://www.cfd-online.com/Forums/openfoam-meshing/220745-dynamicrefinefvmesh-does-not-unrefine-mesh.html)

maksjood September 20, 2019 05:51

dynamicRefineFvMesh does not unrefine the mesh
 
Hi. I'm new to adaptive mesh refinement (AMR) and using OpenFOAM-3.0 in windows. Everything works fine except that the mesh does not get unrefined when the refinement situation is lifted. My dynamicMeshDict is as follows

dynamicRefineFvMeshCoeffs
{
refineInterval 1;
field Cf;//concentration of a reactive species
lowerRefineLevel 10;
upperRefineLevel 100;// Cf varies between 0 and 165
unrefineLevel 2;
nBufferLayers 0;
maxRefinement 1;
maxCells 40000;
correctFluxes
(
(phi none)
);
dumpLevel true;
}

after a while in simulation, Cf reaches 165 (nearly homogeneous in the whole domain), but the mesh does not get unrefined

maksjood September 22, 2019 06:07

Found out that unrefinement happens when the value is lower than unrefine level not higher


All times are GMT -4. The time now is 04:05.