Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions solver/compressibleInterFlow/compressibleInterFlow.C
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ int main(int argc, char *argv[])
{
MRF.update();

advector->surf().mapAlphaField();
alpha2 = 1.0 - alpha1;
alpha2.correctBoundaryConditions();
rho == alpha1*rho1 + alpha2*rho2;
rho.correctBoundaryConditions();
rho.oldTime() = rho;
alpha2.oldTime() = alpha2;
// advector->surf().mapAlphaField();
// alpha2 = 1.0 - alpha1;
// alpha2.correctBoundaryConditions();
// rho == alpha1*rho1 + alpha2*rho2;
// rho.correctBoundaryConditions();
// rho.oldTime() = rho;
// alpha2.oldTime() = alpha2;

Info<< "Execution time for mesh.update() = "
<< runTime.elapsedCpuTime() - timeBeforeMeshUpdate
Expand Down
16 changes: 8 additions & 8 deletions solver/interFlow/interFlow.C
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ int main(int argc, char *argv[])
// gets recompute by surfaces forces
// gh = (g & mesh.C()) - ghRef;
// ghf = (g & mesh.Cf()) - ghRef;
advector->surf().mapAlphaField();
alpha2 = 1.0 - alpha1;
alpha2.correctBoundaryConditions();
rho == alpha1*rho1 + alpha2*rho2;
rho.correctBoundaryConditions();
rho.oldTime() = rho;
alpha2.oldTime() = alpha2;
// advector->surf().mapAlphaField();
// alpha2 = 1.0 - alpha1;
// alpha2.correctBoundaryConditions();
// rho == alpha1*rho1 + alpha2*rho2;
// rho.correctBoundaryConditions();
// rho.oldTime() = rho;
// alpha2.oldTime() = alpha2;

MRF.update();

Expand Down Expand Up @@ -159,4 +159,4 @@ int main(int argc, char *argv[])
}


// ************************************************************************* //
// ************************************************************************* //
14 changes: 7 additions & 7 deletions solver/multiRegionPhaseChangeFlow/fluid/solveFluid.H
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ if (finalIter)
{
MRF.update();

advector.surf().mapAlphaField();
alpha2 = 1.0 - alpha1;
alpha2.correctBoundaryConditions();
rho == alpha1*rho1 + alpha2*rho2;
rho.correctBoundaryConditions();
rho.oldTime() = rho;
alpha2.oldTime() = alpha2;
// advector.surf().mapAlphaField();
// alpha2 = 1.0 - alpha1;
// alpha2.correctBoundaryConditions();
// rho == alpha1*rho1 + alpha2*rho2;
// rho.correctBoundaryConditions();
// rho.oldTime() = rho;
// alpha2.oldTime() = alpha2;

Info<< "Execution time for mesh.update() = "
<< runTime.elapsedCpuTime() - timeBeforeMeshUpdate
Expand Down