Controlling Mesh size in interDyMFoam
Just a quick one here. I need to know how to control the mesh size of the dynamic refinement. I have a coarse mesh for the domain.
1) How do I manipulate the numbers in the dynamicMeshDict file to have the desired refined mesh size? i.e. How do my get the refine mesh size relative to the coarse mesh size in the domain.
2) What does it have to do with cAlpha? I'm using the default setting of cAlpha = 1.
3) Can I have the LowerRefineLevel = 0.0 instead of the default 0.001 since gas phase is at alpha1 = 0.0?
Here is the default dynamicMeshDict that I'm using:
// How often to refine
// Field to be refinement on
// Refine field inbetween lower..upper
// If value < unrefineLevel unrefine
// Have slower than 2:1 refinement
// Refine cells only up to maxRefinement levels
// Stop refinement if maxCells reached
// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
// Write the refinement level as a volScalarField
several unrelated issue
maxCels, maxRefinement and nBufferLayers;
2-increasing of cAlpha1 makes interface much more compress and it is not related to interface
3- nope, because then it would refine almost all gas side
Thanks. I've been playing around with the numbers and I seem to get a good control of it now.
1) how several coexisting refinement zones with different refinement levels can be defined? I would like to have refinement level 1 i the whole disperse phase
hello, i can reply your second question. the "nBufferLayers" is the number of the transition layer between the refine and coarse mesh. in most of cases, we chose 1 for the number.
|All times are GMT -4. The time now is 10:07.|