Skip to content
Snippets Groups Projects
Commit e5a029c1 authored by Henry Weller's avatar Henry Weller
Browse files

tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle: Added alphaPhi to correctFluxes

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2062
parent 294379d4
Branches
Tags
No related merge requests found
......@@ -21,19 +21,26 @@ dynamicRefineFvMeshCoeffs
{
// How often to refine
refineInterval 1;
// Field to be refinement on
field alpha.water;
// 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. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
......@@ -42,8 +49,10 @@ dynamicRefineFvMeshCoeffs
(phi none)
(nHatf none)
(rhoPhi none)
(alphaPhi none)
(ghf none)
);
// Write the refinement level as a volScalarField
dumpLevel true;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment