CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Adaptive mesh by interDyMFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2016, 04:07
Default Adaptive mesh by interDyMFoam
Join Date: Jul 2014
Posts: 74
Rep Power: 11
arsalan.dryi is on a distinguished road
Hi Foamers,

I'm doing 3D simulation of a single bubble rising in quiescent liquid with a custom body force, for the sharp interface capturing and decreasing CPU time of the simulations I want to use adaptive mesh of the interDyMFoam and get finer mesh near the interface of the gas-liquid.

But Unexpectedly, the CPU time increased dramatically by using interDyMFoam adaptive mesh than the static mesh and moreover the residuals, Courant number and deltaT experienced severe fluctuations which caused very bad results.

For more information, my dynamicMeshDict file is as follows:

dynamicFvMesh   dynamicRefineFvMesh;

    // How often to refine
    refineInterval  1;
    // Field to be refinement on
    field           alpha.water;
    // Refine field inbetween lower..upper
    lowerRefineLevel 0.1;
    upperRefineLevel 0.99;
    // 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        50000;
    // 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.
        (phi none)
        (nHatf none)
        (rhoPhi none)
        (ghf none)
    // Write the refinement level as a volScalarField
    dumpLevel       true;
Any help will be appreciated, Thanks in advance.

arsalan.dryi is offline   Reply With Quote


adaptive mesh, bubble, interdymfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 06:21
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10

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