The OpenFOAM repositories are back online - please see how to update to the latest version

Commit 449a9ecc authored by Henry Weller's avatar Henry Weller

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

Resolves bug-report
parent 19636b22
......@@ -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;
Markdown is supported
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