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

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

parent 19636b22
No related branches found
No related tags found
1 merge request!33Merge foundation
...@@ -21,19 +21,26 @@ dynamicRefineFvMeshCoeffs ...@@ -21,19 +21,26 @@ dynamicRefineFvMeshCoeffs
{ {
// How often to refine // How often to refine
refineInterval 1; refineInterval 1;
// Field to be refinement on // Field to be refinement on
field alpha.water; field alpha.water;
// Refine field inbetween lower..upper // Refine field inbetween lower..upper
lowerRefineLevel 0.001; lowerRefineLevel 0.001;
upperRefineLevel 0.999; upperRefineLevel 0.999;
// If value < unrefineLevel unrefine // If value < unrefineLevel unrefine
unrefineLevel 10; unrefineLevel 10;
// Have slower than 2:1 refinement // Have slower than 2:1 refinement
nBufferLayers 1; nBufferLayers 1;
// Refine cells only up to maxRefinement levels // Refine cells only up to maxRefinement levels
maxRefinement 2; maxRefinement 2;
// Stop refinement if maxCells reached // Stop refinement if maxCells reached
maxCells 200000; maxCells 200000;
// Flux field and corresponding velocity field. Fluxes on changed // Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none' // faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated. // on surfaceScalarFields that do not need to be reinterpolated.
...@@ -42,8 +49,10 @@ dynamicRefineFvMeshCoeffs ...@@ -42,8 +49,10 @@ dynamicRefineFvMeshCoeffs
(phi none) (phi none)
(nHatf none) (nHatf none)
(rhoPhi none) (rhoPhi none)
(alphaPhi none)
(ghf none) (ghf none)
); );
// Write the refinement level as a volScalarField // Write the refinement level as a volScalarField
dumpLevel true; dumpLevel true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment