mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Deleted legacy files
This commit is contained in:
@ -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];
|
||||
}
|
||||
}
|
||||
@ -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")
|
||||
);
|
||||
Reference in New Issue
Block a user