CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   dynamicRefineFvMesh (https://www.cfd-online.com/Forums/openfoam-solving/145227-dynamicrefinefvmesh.html)

pandajjing December 1, 2014 09:59

dynamicRefineFvMesh
 
Hi all,
I am doing a simulation of impinging jets ,which needs high quality mesh.It is necessary for me to use the dynamicRefineFvMesh fuction.But I have no idea about how to set the specific parameter , and what they mean.Thanks a lot

PHP Code:

dynamicFvMesh   dynamicRefineFvMesh;

dynamicRefineFvMeshCoeffs
{
    
// How often to refine
    
refineInterval  1;
    
// Field to be refinement on
    
field           alpha1;
    
// Refine field inbetween lower..upper
    
lowerRefineLevel 0.001;
    
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        200000;
    
// Flux field and corresponding velocity field. Fluxes on changed
    // faces get recalculated by interpolating the velocity.
    
correctFluxes
    
(
        (
            
phi
            U
        
)
    );
    
// Write the refinement level as a volScalarField
    
dumpLevel       true


twinklekothari March 16, 2017 04:26

https://openfoamwiki.net/index.php/P...icRefineFvMesh


All times are GMT -4. The time now is 10:02.