From 9b2f66ed48ae1f72733f28aecb903bd90baa7eab Mon Sep 17 00:00:00 2001 From: Henry Date: Wed, 22 Jan 2014 11:39:46 +0000 Subject: [PATCH] Deleted legacy files --- .../multiphaseEulerFoam/packingLimiter.H | 36 ------------------- .../multiphaseEulerFoam/readPPProperties.H | 36 ------------------- 2 files changed, 72 deletions(-) delete mode 100644 applications/solvers/multiphase/multiphaseEulerFoam/packingLimiter.H delete mode 100644 applications/solvers/multiphase/multiphaseEulerFoam/readPPProperties.H diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/packingLimiter.H b/applications/solvers/multiphase/multiphaseEulerFoam/packingLimiter.H deleted file mode 100644 index 3790bf9bb9..0000000000 --- a/applications/solvers/multiphase/multiphaseEulerFoam/packingLimiter.H +++ /dev/null @@ -1,36 +0,0 @@ - if (packingLimiter) - { - // Calculating exceeding volume fractions - volScalarField alphaEx(max(alpha1 - alphaMax, scalar(0))); - - // Finding neighbouring cells of the whole domain - labelListList neighbour = mesh.cellCells(); - scalarField cellVolumes(mesh.cellVolumes()); - - forAll (alphaEx, celli) - { - // Finding the labels of the neighbouring cells - labelList neighbourCell = neighbour[celli]; - - // Initializing neighbouring cells contribution - scalar neighboursEx = 0.0; - - forAll (neighbourCell, cellj) - { - labelList neighboursNeighbour = neighbour[neighbourCell[cellj]]; - scalar neighboursNeighbourCellVolumes = 0.0; - - forAll (neighboursNeighbour, cellk) - { - neighboursNeighbourCellVolumes += - cellVolumes[neighboursNeighbour[cellk]]; - } - - neighboursEx += - alphaEx[neighbourCell[cellj]]*cellVolumes[celli] - /neighboursNeighbourCellVolumes; - } - - alpha1[celli] += neighboursEx - alphaEx[celli]; - } - } diff --git a/applications/solvers/multiphase/multiphaseEulerFoam/readPPProperties.H b/applications/solvers/multiphase/multiphaseEulerFoam/readPPProperties.H deleted file mode 100644 index 3acbf758d0..0000000000 --- a/applications/solvers/multiphase/multiphaseEulerFoam/readPPProperties.H +++ /dev/null @@ -1,36 +0,0 @@ - IOdictionary ppProperties - ( - IOobject - ( - "ppProperties", - runTime.constant(), - mesh, - IOobject::MUST_READ, - IOobject::NO_WRITE - ) - ); - - scalar preAlphaExp - ( - readScalar(ppProperties.lookup("preAlphaExp")) - ); - - scalar alphaMax - ( - readScalar(ppProperties.lookup("alphaMax")) - ); - - scalar expMax - ( - readScalar(ppProperties.lookup("expMax")) - ); - - dimensionedScalar g0 - ( - ppProperties.lookup("g0") - ); - - Switch packingLimiter - ( - ppProperties.lookup("packingLimiter") - );