From f8f575e23c7e33f69203e5cc6433d2e80bc7dc69 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Tue, 19 Apr 2011 23:20:18 +0100 Subject: [PATCH] Tutorial solvers and mesh converters moved to applications --- .../simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C | 56 +- .../simpleFoam/MRFSimpleFoam/Make/files | 3 + .../simpleFoam/MRFSimpleFoam/Make/options | 12 + .../simpleFoam/MRFSimpleFoam/UEqn.H | 12 + .../simpleFoam/MRFSimpleFoam/pEqn.H | 37 + .../simpleFoam/SRFSimpleFoam/Make/files | 3 + .../simpleFoam/SRFSimpleFoam/Make/options | 13 + .../simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C | 98 + .../simpleFoam/SRFSimpleFoam/UrelEqn.H | 12 + .../simpleFoam/SRFSimpleFoam/createFields.H | 58 + .../simpleFoam/SRFSimpleFoam/pEqn.H | 37 + .../simpleFoam/windSimpleFoam/Make/files | 3 + .../simpleFoam/windSimpleFoam/Make/options | 14 + .../simpleFoam/windSimpleFoam/UEqn.H | 14 + .../windSimpleFoam/windSimpleFoam.C | 84 + .../mesh/conversion}/datToFoam/Make/files | 0 .../mesh/conversion}/datToFoam/Make/options | 0 .../mesh/conversion}/datToFoam/datToFoam.C | 0 .../rhoPisoTwinParcelFoam/Make/files | 3 - .../rhoPisoTwinParcelFoam/Make/options | 34 - .../rhoPisoTwinParcelFoam/UEqn.H | 17 - .../rhoPisoTwinParcelFoam/createClouds.H | 20 - .../rhoPisoTwinParcelFoam/createFields.H | 63 - .../rhoPisoTwinParcelFoam/hsEqn.H | 17 - .../rhoPisoTwinParcelFoam/pEqn.H | 68 - .../rhoPisoTwinParcelFoam/simplifiedSiwek/0/G | 54 - .../rhoPisoTwinParcelFoam/simplifiedSiwek/0/T | 50 - .../rhoPisoTwinParcelFoam/simplifiedSiwek/0/U | 48 - .../simplifiedSiwek/0/alphat | 50 - .../simplifiedSiwek/0/epsilon | 50 - .../rhoPisoTwinParcelFoam/simplifiedSiwek/0/k | 50 - .../simplifiedSiwek/0/mut | 50 - .../rhoPisoTwinParcelFoam/simplifiedSiwek/0/p | 2549 ----------------- .../simplifiedSiwek/constant/RASProperties | 24 - .../simplifiedSiwek/constant/g | 22 - .../constant/kinematicCloud1Positions | 36 - .../constant/kinematicCloud1Properties | 104 - .../constant/polyMesh/blockMeshDict | 87 - .../constant/polyMesh/boundary | 52 - .../constant/thermoCloud1Positions | 36 - .../constant/thermoCloud1Properties | 126 - .../constant/thermophysicalProperties | 31 - .../constant/turbulenceProperties | 21 - .../simplifiedSiwek/system/controlDict | 55 - .../simplifiedSiwek/system/decomposeParDict | 45 - .../simplifiedSiwek/system/fvSchemes | 72 - .../simplifiedSiwek/system/fvSolution | 58 - 47 files changed, 417 insertions(+), 3931 deletions(-) rename tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam.C => applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C (64%) create mode 100644 applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/files create mode 100644 applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options create mode 100644 applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/UEqn.H create mode 100644 applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/pEqn.H create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/files create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/UrelEqn.H create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/createFields.H create mode 100644 applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/pEqn.H create mode 100644 applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/files create mode 100644 applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/options create mode 100644 applications/solvers/incompressible/simpleFoam/windSimpleFoam/UEqn.H create mode 100644 applications/solvers/incompressible/simpleFoam/windSimpleFoam/windSimpleFoam.C rename {tutorials/compressible/rhoCentralFoam/biconic25-55Run35 => applications/utilities/mesh/conversion}/datToFoam/Make/files (100%) rename {tutorials/compressible/rhoCentralFoam/biconic25-55Run35 => applications/utilities/mesh/conversion}/datToFoam/Make/options (100%) rename {tutorials/compressible/rhoCentralFoam/biconic25-55Run35 => applications/utilities/mesh/conversion}/datToFoam/datToFoam.C (100%) delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/files delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/options delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/UEqn.H delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createClouds.H delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createFields.H delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/hsEqn.H delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/pEqn.H delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/G delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/T delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/U delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/alphat delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/epsilon delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/k delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/mut delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/p delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/RASProperties delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Positions delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/blockMeshDict delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/boundary delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Positions delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/turbulenceProperties delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/decomposeParDict delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSchemes delete mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSolution diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam.C b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C similarity index 64% rename from tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam.C rename to applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C index c00bc032ff2..8125321157e 100644 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam.C +++ b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/MRFSimpleFoam.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -22,19 +22,19 @@ License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. Application - rhoPisoTwinParcelFoam + MRFSimpleFoam Description - Transient solver for compressible, turbulent flow with two thermo-clouds. + Steady-state solver for incompressible, turbulent flow of non-Newtonian + fluids with MRF regions. \*---------------------------------------------------------------------------*/ #include "fvCFD.H" -#include "basicPsiThermo.H" -#include "turbulenceModel.H" - -#include "basicThermoCloud.H" -#include "basicKinematicCloud.H" +#include "singlePhaseTransportModel.H" +#include "RASModel.H" +#include "MRFZones.H" +#include "simpleControl.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -44,54 +44,32 @@ int main(int argc, char *argv[]) #include "createTime.H" #include "createMesh.H" - #include "readGravitationalAcceleration.H" #include "createFields.H" - #include "createClouds.H" - #include "readPISOControls.H" #include "initContinuityErrs.H" - #include "readTimeControls.H" - #include "compressibleCourantNo.H" - #include "setInitialDeltaT.H" + + MRFZones mrfZones(mesh); + mrfZones.correctBoundaryVelocity(U); + + simpleControl simple(mesh); // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Info<< "\nStarting time loop\n" << endl; - while (runTime.run()) + while (simple.loop()) { - #include "readTimeControls.H" - #include "readPISOControls.H" - #include "compressibleCourantNo.H" - #include "setDeltaT.H" - - runTime++; - Info<< "Time = " << runTime.timeName() << nl << endl; - thermoCloud1.evolve(); + p.storePrevIter(); - kinematicCloud1.evolve(); - - - #include "rhoEqn.H" - - // --- PIMPLE loop - for (int ocorr=1; ocorr<=nOuterCorr; ocorr++) + // --- Pressure-velocity SIMPLE corrector { #include "UEqn.H" - - // --- PISO loop - for (int corr=1; corr<=nCorr; corr++) - { - #include "hsEqn.H" - #include "pEqn.H" - } + #include "pEqn.H" } turbulence->correct(); - rho = thermo.rho(); - runTime.write(); Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" diff --git a/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/files b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/files new file mode 100644 index 00000000000..56c194272d8 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/files @@ -0,0 +1,3 @@ +MRFSimpleFoam.C + +EXE = $(FOAM_APPBIN)/MRFSimpleFoam diff --git a/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options new file mode 100644 index 00000000000..81310cc2e0a --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/Make/options @@ -0,0 +1,12 @@ +EXE_INC = \ + -I.. \ + -I$(LIB_SRC)/turbulenceModels \ + -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \ + -I$(LIB_SRC)/transportModels \ + -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \ + -I$(LIB_SRC)/finiteVolume/lnInclude + +EXE_LIBS = \ + -lincompressibleRASModels \ + -lincompressibleTransportModels \ + -lfiniteVolume diff --git a/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/UEqn.H b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/UEqn.H new file mode 100644 index 00000000000..27d50944ce6 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/UEqn.H @@ -0,0 +1,12 @@ + // Momentum predictor + + tmp<fvVectorMatrix> UEqn + ( + fvm::div(phi, U) + + turbulence->divDevReff(U) + ); + mrfZones.addCoriolis(UEqn()); + + UEqn().relax(); + + solve(UEqn() == -fvc::grad(p)); diff --git a/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/pEqn.H b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/pEqn.H new file mode 100644 index 00000000000..81f5c204800 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/MRFSimpleFoam/pEqn.H @@ -0,0 +1,37 @@ +{ + p.boundaryField().updateCoeffs(); + + volScalarField rAU(1.0/UEqn().A()); + U = rAU*UEqn().H(); + UEqn.clear(); + + phi = fvc::interpolate(U, "interpolate(HbyA)") & mesh.Sf(); + mrfZones.relativeFlux(phi); + adjustPhi(phi, U, p); + + // Non-orthogonal pressure corrector loop + for (int nonOrth=0; nonOrth<=simple.nNonOrthCorr(); nonOrth++) + { + fvScalarMatrix pEqn + ( + fvm::laplacian(rAU, p) == fvc::div(phi) + ); + + pEqn.setReference(pRefCell, pRefValue); + pEqn.solve(); + + if (nonOrth == simple.nNonOrthCorr()) + { + phi -= pEqn.flux(); + } + } + + #include "continuityErrs.H" + + // Explicitly relax pressure for momentum corrector + p.relax(); + + // Momentum corrector + U -= rAU*fvc::grad(p); + U.correctBoundaryConditions(); +} diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/files b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/files new file mode 100644 index 00000000000..3250f4139d3 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/files @@ -0,0 +1,3 @@ +SRFSimpleFoam.C + +EXE = $(FOAM_APPBIN)/SRFSimpleFoam diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options new file mode 100644 index 00000000000..66a349da050 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/Make/options @@ -0,0 +1,13 @@ +EXE_INC = \ + -I.. \ + -I$(LIB_SRC)/finiteVolume/lnInclude \ + -I$(LIB_SRC)/turbulenceModels \ + -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \ + -I$(LIB_SRC)/transportModels \ + -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel + +EXE_LIBS = \ + -lincompressibleRASModels \ + -lincompressibleTransportModels \ + -lfiniteVolume \ + -lmeshTools diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C new file mode 100644 index 00000000000..d3b5067c4f2 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/SRFSimpleFoam.C @@ -0,0 +1,98 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. + \\/ M anipulation | +------------------------------------------------------------------------------- +License + This file is part of OpenFOAM. + + OpenFOAM is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + OpenFOAM is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. + +Application + SRFSimpleFoam + +Description + Steady-state solver for incompressible, turbulent flow of non-Newtonian + fluids in a single rotating frame. + +\*---------------------------------------------------------------------------*/ + +#include "fvCFD.H" +#include "singlePhaseTransportModel.H" +#include "RASModel.H" +#include "SRFModel.H" +#include "simpleControl.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +int main(int argc, char *argv[]) +{ + #include "setRootCase.H" + #include "createTime.H" + #include "createMesh.H" + #include "createFields.H" + #include "initContinuityErrs.H" + + simpleControl simple(mesh); + + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + Info<< "\nStarting time loop\n" << endl; + + while (simple.loop()) + { + Info<< "Time = " << runTime.timeName() << nl << endl; + + p.storePrevIter(); + + // --- Pressure-velocity SIMPLE corrector + { + #include "UrelEqn.H" + #include "pEqn.H" + } + + turbulence->correct(); + + if (runTime.outputTime()) + { + volVectorField Uabs + ( + IOobject + ( + "Uabs", + runTime.timeName(), + mesh, + IOobject::NO_READ, + IOobject::AUTO_WRITE + ), + Urel + SRF->U() + ); + + runTime.write(); + } + + Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" + << " ClockTime = " << runTime.elapsedClockTime() << " s" + << nl << endl; + } + + Info<< "End\n" << endl; + + return 0; +} + + +// ************************************************************************* // diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/UrelEqn.H b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/UrelEqn.H new file mode 100644 index 00000000000..38c64acb7bf --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/UrelEqn.H @@ -0,0 +1,12 @@ + // Relative momentum predictor + + tmp<fvVectorMatrix> UrelEqn + ( + fvm::div(phi, Urel) + + turbulence->divDevReff(Urel) + + SRF->Su() + ); + + UrelEqn().relax(); + + solve(UrelEqn() == -fvc::grad(p)); diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/createFields.H b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/createFields.H new file mode 100644 index 00000000000..a5d68368ea5 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/createFields.H @@ -0,0 +1,58 @@ + Info<< "Reading field p\n" << endl; + volScalarField p + ( + IOobject + ( + "p", + runTime.timeName(), + mesh, + IOobject::MUST_READ, + IOobject::AUTO_WRITE + ), + mesh + ); + + Info<< "Reading field Urel\n" << endl; + volVectorField Urel + ( + IOobject + ( + "Urel", + runTime.timeName(), + mesh, + IOobject::MUST_READ, + IOobject::AUTO_WRITE + ), + mesh + ); + + Info<< "Reading/calculating face flux field phi\n" << endl; + surfaceScalarField phi + ( + IOobject + ( + "phi", + runTime.timeName(), + mesh, + IOobject::READ_IF_PRESENT, + IOobject::AUTO_WRITE + ), + linearInterpolate(Urel) & mesh.Sf() + ); + + label pRefCell = 0; + scalar pRefValue = 0.0; + setRefCell(p, mesh.solutionDict().subDict("SIMPLE"), pRefCell, pRefValue); + + singlePhaseTransportModel laminarTransport(Urel, phi); + + autoPtr<incompressible::RASModel> turbulence + ( + incompressible::RASModel::New(Urel, phi, laminarTransport) + ); + + Info<< "Creating SRF model\n" << endl; + autoPtr<SRF::SRFModel> SRF + ( + SRF::SRFModel::New(Urel) + ); diff --git a/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/pEqn.H b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/pEqn.H new file mode 100644 index 00000000000..beb73bd3415 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/SRFSimpleFoam/pEqn.H @@ -0,0 +1,37 @@ +{ + p.boundaryField().updateCoeffs(); + + volScalarField rAUrel(1.0/UrelEqn().A()); + Urel = rAUrel*UrelEqn().H(); + UrelEqn.clear(); + + phi = fvc::interpolate(Urel, "interpolate(HbyA)") & mesh.Sf(); + adjustPhi(phi, Urel, p); + + // Non-orthogonal pressure corrector loop + for (int nonOrth=0; nonOrth<=simple.nNonOrthCorr(); nonOrth++) + { + fvScalarMatrix pEqn + ( + fvm::laplacian(rAUrel, p) == fvc::div(phi) + ); + + pEqn.setReference(pRefCell, pRefValue); + + pEqn.solve(); + + if (nonOrth == simple.nNonOrthCorr()) + { + phi -= pEqn.flux(); + } + } + + #include "continuityErrs.H" + + // Explicitly relax pressure for momentum corrector + p.relax(); + + // Momentum corrector + Urel -= rAUrel*fvc::grad(p); + Urel.correctBoundaryConditions(); +} diff --git a/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/files b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/files new file mode 100644 index 00000000000..d7fe780806e --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/files @@ -0,0 +1,3 @@ +windSimpleFoam.C + +EXE = $(FOAM_APPBIN)/windSimpleFoam diff --git a/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/options b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/options new file mode 100644 index 00000000000..057788a4837 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/Make/options @@ -0,0 +1,14 @@ +EXE_INC = \ + -I.. \ + -I$(LIB_SRC)/turbulenceModels \ + -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \ + -I$(LIB_SRC)/transportModels \ + -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \ + -I$(LIB_SRC)/finiteVolume/lnInclude \ + -I$(LIB_SRC)/meshTools/lnInclude + +EXE_LIBS = \ + -lincompressibleRASModels \ + -lincompressibleTransportModels \ + -lfiniteVolume \ + -lmeshTools diff --git a/applications/solvers/incompressible/simpleFoam/windSimpleFoam/UEqn.H b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/UEqn.H new file mode 100644 index 00000000000..dc4d5655cf8 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/UEqn.H @@ -0,0 +1,14 @@ + // Solve the Momentum equation + + tmp<fvVectorMatrix> UEqn + ( + fvm::div(phi, U) + + turbulence->divDevReff(U) + ); + + UEqn().relax(); + + // Add resistance on the actuation disks + actuationDisks.addSu(UEqn()); + + solve(UEqn() == -fvc::grad(p)); diff --git a/applications/solvers/incompressible/simpleFoam/windSimpleFoam/windSimpleFoam.C b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/windSimpleFoam.C new file mode 100644 index 00000000000..f2d095ae8f1 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/windSimpleFoam/windSimpleFoam.C @@ -0,0 +1,84 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | OpenFOAM: The Open Source CFD Toolbox + \\ / O peration | + \\ / A nd | Copyright (C) 2010-2011 OpenCFD Ltd. + \\/ M anipulation | +------------------------------------------------------------------------------- +License + This file is part of OpenFOAM. + + OpenFOAM is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + OpenFOAM is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + for more details. + + You should have received a copy of the GNU General Public License + along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. + +Application + windSimpleFoam + +Description + Steady-state solver for incompressible, turbulent flow with external + source in the momentum equation. + +\*---------------------------------------------------------------------------*/ + +#include "fvCFD.H" +#include "singlePhaseTransportModel.H" +#include "RASModel.H" +#include "IObasicSourceList.H" +#include "simpleControl.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +int main(int argc, char *argv[]) +{ + #include "setRootCase.H" + #include "createTime.H" + #include "createMesh.H" + #include "createFields.H" + #include "initContinuityErrs.H" + + IObasicSourceList actuationDisks(mesh); + + simpleControl simple(mesh); + + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + + Info<< "\nStarting time loop\n" << endl; + + while (simple.loop()) + { + Info<< "Time = " << runTime.timeName() << nl << endl; + + p.storePrevIter(); + + // Pressure-velocity SIMPLE corrector + { + #include "UEqn.H" + #include "pEqn.H" + } + + turbulence->correct(); + + runTime.write(); + + Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" + << " ClockTime = " << runTime.elapsedClockTime() << " s" + << nl << endl; + } + + Info<< "End\n" << endl; + + return 0; +} + + +// ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/Make/files b/applications/utilities/mesh/conversion/datToFoam/Make/files similarity index 100% rename from tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/Make/files rename to applications/utilities/mesh/conversion/datToFoam/Make/files diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/Make/options b/applications/utilities/mesh/conversion/datToFoam/Make/options similarity index 100% rename from tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/Make/options rename to applications/utilities/mesh/conversion/datToFoam/Make/options diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/datToFoam.C b/applications/utilities/mesh/conversion/datToFoam/datToFoam.C similarity index 100% rename from tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/datToFoam.C rename to applications/utilities/mesh/conversion/datToFoam/datToFoam.C diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/files b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/files deleted file mode 100644 index 26c96aaa900..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/files +++ /dev/null @@ -1,3 +0,0 @@ -rhoPisoTwinParcelFoam.C - -EXE = $(FOAM_USER_APPBIN)/rhoPisoTwinParcelFoam diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/options b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/options deleted file mode 100644 index e9e6907d810..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/Make/options +++ /dev/null @@ -1,34 +0,0 @@ -EXE_INC = \ - -I$(LIB_SRC)/lagrangian/basic/lnInclude \ - -I$(LIB_SRC)/lagrangian/intermediate/lnInclude \ - -I$(LIB_SRC)/finiteVolume/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/properties/solidProperties/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/properties/solidMixtureProperties/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/properties/liquidProperties/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/properties/liquidMixtureProperties/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \ - -I$(LIB_SRC)/thermophysicalModels/radiationModels/lnInclude \ - -I$(LIB_SRC)/turbulenceModels/compressible/turbulenceModel \ - -I$(LIB_SRC)/meshTools/lnInclude \ - -I$(LIB_SRC)/regionModels/regionModel/lnInclude \ - -I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude - -EXE_LIBS = \ - -llagrangian \ - -llagrangianIntermediate \ - -lfiniteVolume \ - -lmeshTools \ - -lthermophysicalFunctions \ - -lbasicThermophysicalModels \ - -lreactionThermophysicalModels \ - -lSLGThermo \ - -lspecie \ - -lradiationModels \ - -lcompressibleRASModels \ - -lcompressibleLESModels \ - -lregionModels \ - -lsurfaceFilmModels diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/UEqn.H b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/UEqn.H deleted file mode 100644 index 28fee73086a..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/UEqn.H +++ /dev/null @@ -1,17 +0,0 @@ - fvVectorMatrix UEqn - ( - fvm::ddt(rho, U) - + fvm::div(phi, U) - + turbulence->divDevRhoReff(U) - == - thermoCloud1.SU(U) - + kinematicCloud1.SU(U) - + rho.dimensionedInternalField()*g - ); - - UEqn.relax(); - - if (momentumPredictor) - { - solve(UEqn == -fvc::grad(p)); - } diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createClouds.H b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createClouds.H deleted file mode 100644 index e67571f4ec2..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createClouds.H +++ /dev/null @@ -1,20 +0,0 @@ - Info<< "Constructing thermoCloud1" << endl; - basicThermoCloud thermoCloud1 - ( - "thermoCloud1", - rho, - U, - g, - slgThermo - ); - - Info<< "Constructing kinematicCloud1" << endl; - basicKinematicCloud kinematicCloud1 - ( - "kinematicCloud1", - rho, - U, - thermo.mu(), - g - ); - diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createFields.H b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createFields.H deleted file mode 100644 index 83aed2ffa48..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/createFields.H +++ /dev/null @@ -1,63 +0,0 @@ - Info<< "Reading thermophysical properties\n" << endl; - - autoPtr<basicPsiThermo> pThermo - ( - basicPsiThermo::New(mesh) - ); - basicPsiThermo& thermo = pThermo(); - - SLGThermo slgThermo(mesh, thermo); - - volScalarField& p = thermo.p(); - volScalarField& hs = thermo.hs(); - const volScalarField& psi = thermo.psi(); - - volScalarField rho - ( - IOobject - ( - "rho", - runTime.timeName(), - mesh, - IOobject::NO_READ, - IOobject::AUTO_WRITE - ), - thermo.rho() - ); - - Info<< "\nReading field U\n" << endl; - volVectorField U - ( - IOobject - ( - "U", - runTime.timeName(), - mesh, - IOobject::MUST_READ, - IOobject::AUTO_WRITE - ), - mesh - ); - - -# include "compressibleCreatePhi.H" - - - Info<< "Creating turbulence model\n" << endl; - autoPtr<compressible::turbulenceModel> turbulence - ( - compressible::turbulenceModel::New - ( - rho, - U, - phi, - thermo - ) - ); - - - Info<< "Creating field DpDt\n" << endl; - volScalarField DpDt - ( - fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p) - ); diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/hsEqn.H b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/hsEqn.H deleted file mode 100644 index 62c27d08f8c..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/hsEqn.H +++ /dev/null @@ -1,17 +0,0 @@ -{ - fvScalarMatrix hsEqn - ( - fvm::ddt(rho, hs) - + fvm::div(phi, hs) - - fvm::laplacian(turbulence->alphaEff(), hs) - == - DpDt - + thermoCloud1.Sh(hs) - ); - - hsEqn.relax(); - - hsEqn.solve(); - - thermo.correct(); -} diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/pEqn.H b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/pEqn.H deleted file mode 100644 index 4168eb0e346..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/pEqn.H +++ /dev/null @@ -1,68 +0,0 @@ -rho = thermo.rho(); - -volScalarField rAU(1.0/UEqn.A()); -U = rAU*UEqn.H(); - -if (transonic) -{ - surfaceScalarField phid - ( - "phid", - fvc::interpolate(psi) - *( - (fvc::interpolate(U) & mesh.Sf()) - + fvc::ddtPhiCorr(rAU, rho, U, phi) - ) - ); - - for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) - { - fvScalarMatrix pEqn - ( - fvm::ddt(psi, p) - + fvm::div(phid, p) - - fvm::laplacian(rho*rAU, p) - ); - - pEqn.solve(); - - if (nonOrth == nNonOrthCorr) - { - phi == pEqn.flux(); - } - } -} -else -{ - phi = - fvc::interpolate(rho) - *( - (fvc::interpolate(U) & mesh.Sf()) - + fvc::ddtPhiCorr(rAU, rho, U, phi) - ); - - for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) - { - fvScalarMatrix pEqn - ( - fvm::ddt(psi, p) - + fvc::div(phi) - - fvm::laplacian(rho*rAU, p) - ); - - pEqn.solve(); - - if (nonOrth == nNonOrthCorr) - { - phi += pEqn.flux(); - } - } -} - -#include "rhoEqn.H" -#include "compressibleContinuityErrs.H" - -U -= rAU*fvc::grad(p); -U.correctBoundaryConditions(); - -DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/G b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/G deleted file mode 100644 index 69cef399689..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/G +++ /dev/null @@ -1,54 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object G; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 0 -3 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - top - { - type MarshakRadiation; - T T; - emissivity 1.0; - value uniform 0; - } - bottom - { - type MarshakRadiation; - T T; - emissivity 1.0; - value uniform 0; - } - walls - { - type MarshakRadiation; - T T; - emissivity 1.0; - value uniform 0; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/T b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/T deleted file mode 100644 index b5521be7b63..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/T +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object T; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 0 0 1 0 0 0]; - -internalField uniform 400; - -boundaryField -{ - top - { - type fixedValue; - value uniform 400; - } - - bottom - { - type zeroGradient; - } - - walls - { - type zeroGradient; - } - - symmetry - { - type symmetryPlane; - } - - frontAndBack - { - type empty; - } -} - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/U b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/U deleted file mode 100644 index 9b98140dad0..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/U +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - top - { - type fixedValue; - value uniform (0 0 0); - } - bottom - { - type fixedValue; - value uniform (0 0 0); - } - walls - { - type fixedValue; - value uniform (0 0 0); - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/alphat b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/alphat deleted file mode 100644 index 5e87a88c976..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/alphat +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object alphat; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -1 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - top - { - type alphatWallFunction; - value uniform 0; - } - bottom - { - type alphatWallFunction; - value uniform 0; - } - walls - { - type alphatWallFunction; - value uniform 0; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/epsilon b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/epsilon deleted file mode 100644 index b7941eebcaa..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/epsilon +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object epsilon; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -3 0 0 0 0]; - -internalField uniform 5390.5; - -boundaryField -{ - top - { - type compressible::epsilonWallFunction; - value uniform 5390.5; - } - bottom - { - type compressible::epsilonWallFunction; - value uniform 5390.5; - } - walls - { - type compressible::epsilonWallFunction; - value uniform 5390.5; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/k b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/k deleted file mode 100644 index acd719c1433..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/k +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object k; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 2 -2 0 0 0 0]; - -internalField uniform 37.5; - -boundaryField -{ - top - { - type compressible::kqRWallFunction; - value uniform 37.5; - } - bottom - { - type compressible::kqRWallFunction; - value uniform 37.5; - } - walls - { - type compressible::kqRWallFunction; - value uniform 37.5; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/mut b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/mut deleted file mode 100644 index f586f8ac110..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/mut +++ /dev/null @@ -1,50 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object mut; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -1 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - top - { - type mutkWallFunction; - value uniform 0; - } - bottom - { - type mutkWallFunction; - value uniform 0; - } - walls - { - type mutkWallFunction; - value uniform 0; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/p b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/p deleted file mode 100644 index af9dc4be7d1..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/0/p +++ /dev/null @@ -1,2549 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - object p; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField nonuniform List<scalar> -2500 -( -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -100000 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -5e+05 -) -; - -boundaryField -{ - top - { - type zeroGradient; - } - bottom - { - type zeroGradient; - } - walls - { - type zeroGradient; - } - symmetry - { - type symmetryPlane; - } - frontAndBack - { - type empty; - } -} - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/RASProperties b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/RASProperties deleted file mode 100644 index 77446d563d6..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/RASProperties +++ /dev/null @@ -1,24 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object RASProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -RASModel kEpsilon; - -turbulence on; - -printCoeffs on; - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g deleted file mode 100644 index 4fea433a003..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/g +++ /dev/null @@ -1,22 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class uniformDimensionedVectorField; - location "constant"; - object g; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -2 0 0 0 0]; -value ( 0 -9.81 0 ); - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Positions b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Positions deleted file mode 100644 index 21af8dbc7cc..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Positions +++ /dev/null @@ -1,36 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class vectorField; - object kinematicCloud1Positions; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -( -(0.0075 0.5 0.05) -(0.0125 0.5 0.05) -(0.0175 0.5 0.05) -(0.0225 0.5 0.05) -(0.0275 0.5 0.05) -(0.0325 0.5 0.05) -(0.0375 0.5 0.05) -(0.0425 0.5 0.05) -(0.0475 0.5 0.05) -(0.0075 0.4 0.05) -(0.0125 0.4 0.05) -(0.0175 0.4 0.05) -(0.0225 0.4 0.05) -(0.0275 0.4 0.05) -(0.0325 0.4 0.05) -(0.0375 0.4 0.05) -(0.0425 0.4 0.05) -(0.0475 0.4 0.05) -) -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties deleted file mode 100644 index 5f1209a11fc..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/kinematicCloud1Properties +++ /dev/null @@ -1,104 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object kinematicCloud1Properties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solution -{ - active true; - coupled true; - transient yes; - cellValueSourceCorrection on; - - sourceTerms - { - schemes - { - U explicit 1; - } - } - - interpolationSchemes - { - rho cell; - U cellPoint; - mu cell; - } - - integrationSchemes - { - U Euler; - } -} - -constantProperties -{ - parcelTypeId 2; - - rhoMin 1e-15; - minParticleMass 1e-15; - - rho0 5000; - - youngsModulus 1e9; - poissonsRatio 0.35; -} - -subModels -{ - particleForces - { - sphereDrag; - gravity; - } - - injectionModel manualInjection; - - dispersionModel stochasticDispersionRAS; - - patchInteractionModel standardWallInteraction; - - postProcessingModel none; - - surfaceFilmModel none; - - manualInjectionCoeffs - { - massTotal 0.0002; - parcelBasisType mass; - SOI 0; - positionsFile "kinematicCloud1Positions"; - U0 ( 0 0 0 ); - sizeDistribution - { - type RosinRammler; - RosinRammlerDistribution - { - minValue 5e-05; - maxValue 0.0001; - d 7.5e-05; - n 0.5; - } - } - } - - standardWallInteractionCoeffs - { - type rebound; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/blockMeshDict b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/blockMeshDict deleted file mode 100644 index 682fa07bdcf..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/blockMeshDict +++ /dev/null @@ -1,87 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - object blockMeshDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -convertToMeters 1.0; - -vertices -( - (0 0 0) - (0.05 0 0) - (0.05 0.5 0) - (0 0.5 0) - (0 0 0.1) - (0.05 0 0.1) - (0.05 0.5 0.1) - (0 0.5 0.1) - (0.5 0 0) - (0.5 0.5 0) - (0.5 0 0.1) - (0.5 0.5 0.1) - (0.05 1 0) - (0 1 0) - (0.05 1 0.1) - (0 1 0.1) -); - -blocks -( - hex (0 1 2 3 4 5 6 7) (5 50 1) simpleGrading (1 1 1) - hex (1 8 9 2 5 10 11 6) (40 50 1) simpleGrading (1 1 1) - hex (3 2 12 13 7 6 14 15) (5 50 1) simpleGrading (1 1 1) -); - -edges -( -); - -patches -( - wall top - ( - (13 15 14 12) - ) - wall bottom - ( - (0 1 5 4) - (1 8 10 5) - ) - wall walls - ( - (8 9 11 10) - (9 2 6 11) - (2 12 14 6) - ) - symmetryPlane symmetry - ( - (4 7 3 0) - (7 15 13 3) - ) - empty frontAndBack - ( - (0 3 2 1) - (3 13 12 2) - (1 2 9 8) - (5 6 7 4) - (6 14 15 7) - (10 11 6 5) - ) -); - -mergePatchPairs -( -); - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/boundary b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/boundary deleted file mode 100644 index fdcd8938f87..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/polyMesh/boundary +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -5 -( - top - { - type wall; - nFaces 5; - startFace 4855; - } - bottom - { - type wall; - nFaces 45; - startFace 4860; - } - walls - { - type wall; - nFaces 140; - startFace 4905; - } - symmetry - { - type symmetryPlane; - nFaces 100; - startFace 5045; - } - frontAndBack - { - type empty; - nFaces 5000; - startFace 5145; - } -) - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Positions b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Positions deleted file mode 100644 index 32278f5681f..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Positions +++ /dev/null @@ -1,36 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class vectorField; - object limestonePositions; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -( -(0.0075 0.55 0.05) -(0.0125 0.55 0.05) -(0.0175 0.55 0.05) -(0.0225 0.55 0.05) -(0.0275 0.55 0.05) -(0.0325 0.55 0.05) -(0.0375 0.55 0.05) -(0.0425 0.55 0.05) -(0.0475 0.55 0.05) -(0.0075 0.45 0.05) -(0.0125 0.45 0.05) -(0.0175 0.45 0.05) -(0.0225 0.45 0.05) -(0.0275 0.45 0.05) -(0.0325 0.45 0.05) -(0.0375 0.45 0.05) -(0.0425 0.45 0.05) -(0.0475 0.45 0.05) -) -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties deleted file mode 100644 index 00654b1d570..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermoCloud1Properties +++ /dev/null @@ -1,126 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object thermoCloud1Properties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solution -{ - active true; - coupled true; - transient yes; - cellValueSourceCorrection on; - - sourceTerms - { - schemes - { - U explicit 1; - hs explicit 1; - } - } - - interpolationSchemes - { - rho cell; - mu cell; - U cellPoint; - T cell; - Cp cell; - } - - integrationSchemes - { - U Euler; - T analytical; - } -} - -constantProperties -{ - parcelTypeId 1; - - rhoMin 1e-15; - TMin 200; - minParticleMass 1e-15; - - rho0 2500; - T0 300; - Cp0 900; - - youngsModulus 1e9; - poissonsRatio 0.35; - - epsilon0 1; - f0 0.5; - - Pr 0.7; -} - -subModels -{ - particleForces - { - sphereDrag; - gravity; - } - - injectionModel manualInjection; - - dispersionModel stochasticDispersionRAS; - - patchInteractionModel standardWallInteraction; - - heatTransferModel RanzMarshall; - - postProcessingModel none; - - surfaceFilmModel none; - - radiation off; - - manualInjectionCoeffs - { - massTotal 0.0001; - parcelBasisType mass; - SOI 0; - positionsFile "thermoCloud1Positions"; - U0 ( 0 0 0 ); - sizeDistribution - { - type RosinRammler; - RosinRammlerDistribution - { - minValue 5e-06; - maxValue 0.0005; - d 5e-05; - n 0.5; - } - } - } - - standardWallInteractionCoeffs - { - type rebound; - } - - RanzMarshallCoeffs - { - // thermal shielding - BirdCorrection false; - } -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties deleted file mode 100644 index 38d196f30ed..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/thermophysicalProperties +++ /dev/null @@ -1,31 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object thermophysicalProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -thermoType hsPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>; - -mixture -{ - nMoles 1; - molWeight 28.9; - Cp 1007; - Hf 0; - mu 1.84e-05; - Pr 0.7; -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/turbulenceProperties b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/turbulenceProperties deleted file mode 100644 index 3e945495c51..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/constant/turbulenceProperties +++ /dev/null @@ -1,21 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object turbulenceProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -simulationType RASModel; - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict deleted file mode 100644 index eb8745b62b9..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/controlDict +++ /dev/null @@ -1,55 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object controlDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -application rhoPisoTwinParcelFoam; - -startFrom latestTime; - -startTime 0; - -stopAt endTime; - -endTime 0.5; - -deltaT 0.0001; - -writeControl adjustableRunTime; - -writeInterval 0.01; - -purgeWrite 0; - -writeFormat ascii; - -writePrecision 10; - -writeCompression off; - -timeFormat general; - -timePrecision 6; - -runTimeModifiable true; - -adjustTimeStep yes; - -maxCo 0.2; - -maxDeltaT 1; - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/decomposeParDict b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/decomposeParDict deleted file mode 100644 index dc1e1a90833..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/decomposeParDict +++ /dev/null @@ -1,45 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object decomposeParDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -numberOfSubdomains 4; - -method scotch; - -simpleCoeffs -{ - n ( 2 2 1 ); - delta 0.001; -} - -hierarchicalCoeffs -{ - n ( 1 1 1 ); - delta 0.001; - order xyz; -} - -manualCoeffs -{ - dataFile ""; -} - -distributed no; - -roots ( ); - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSchemes b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSchemes deleted file mode 100644 index d12a51f36c0..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSchemes +++ /dev/null @@ -1,72 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; - grad(p) Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss upwind; - div(phid,p) Gauss upwind; - div(phiU,p) Gauss linear; - div(phi,hs) Gauss upwind; - div(phi,k) Gauss upwind; - div(phi,epsilon) Gauss upwind; - div(U) Gauss linear; - div((muEff*dev2(T(grad(U))))) Gauss linear; - div(phi,Yi_h) Gauss upwind; -} - -laplacianSchemes -{ - default Gauss linear corrected; - laplacian(muEff,U) Gauss linear corrected; - laplacian(mut,U) Gauss linear corrected; - laplacian(DkEff,k) Gauss linear corrected; - laplacian(DepsilonEff,epsilon) Gauss linear corrected; - laplacian(DREff,R) Gauss linear corrected; - laplacian((rho*(1|A(U))),p) Gauss linear corrected; - laplacian(alphaEff,hs) Gauss linear corrected; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p; -} - - -// ************************************************************************* // diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSolution b/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSolution deleted file mode 100644 index 297f433f2d4..00000000000 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/system/fvSolution +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - "(rho|G)" - { - solver PCG; - preconditioner DIC; - tolerance 1e-05; - relTol 0; - } - - p - { - solver PBiCG; - preconditioner DILU; - tolerance 1e-06; - relTol 0; - } - - "(U|hs|R|k|epsilon)" - { - $p; - tolerance 1e-05; - relTol 0; - } - - "(Yi|CO2|O2|N2|CH4|H2|H2O|CO)" - { - $p; - } -} - -PISO -{ - transonic yes; - nCorrectors 2; - nNonOrthogonalCorrectors 0; - momentumPredictor yes; -} - - -// ************************************************************************* // -- GitLab