diff --git a/applications/test/GAMGAgglomeration/Test-GAMGAgglomeration.C b/applications/test/GAMGAgglomeration/Test-GAMGAgglomeration.C index ededf52843..e43706ab1b 100644 --- a/applications/test/GAMGAgglomeration/Test-GAMGAgglomeration.C +++ b/applications/test/GAMGAgglomeration/Test-GAMGAgglomeration.C @@ -29,11 +29,14 @@ Description \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "volFields.H" #include "GAMGAgglomeration.H" #include "OFstream.H" #include "meshTools.H" +using namespace Foam; + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Main program: diff --git a/applications/test/codeStream/codeStreamDict1 b/applications/test/codeStream/codeStreamDict1 index 622f0b17fb..3c013e9e4c 100644 --- a/applications/test/codeStream/codeStreamDict1 +++ b/applications/test/codeStream/codeStreamDict1 @@ -9,11 +9,11 @@ FoamFile { format ascii; class dictionary; - object testDict; + object codesStreamDict1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -// values from outer-scope +// Values from outer-scope begIter 0; endIter 200; @@ -24,7 +24,7 @@ writeInterval #codeStream codeInclude #{ - #include "fvCFD.H" + // #include ".H" #}; codeOptions @@ -37,7 +37,7 @@ writeInterval #codeStream #{ static int someCode() { - Info<<"called someCode\n"; + Info << "called someCode\n"; return 10; } #}; @@ -45,13 +45,12 @@ writeInterval #codeStream code #{ label interval = ($endIter - $begIter); - // label nDumps = $nDumps; label nDumps = someCode(); os << (interval / nDumps); #}; }; -// play with cleanup +// Play with cleanup #remove begIter // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/applications/test/cyclic/Test-cyclic.C b/applications/test/cyclic/Test-cyclic.C index 6de7120ff2..ac55794282 100644 --- a/applications/test/cyclic/Test-cyclic.C +++ b/applications/test/cyclic/Test-cyclic.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -22,29 +22,33 @@ License along with OpenFOAM. If not, see . Application - icofoam + Test-cyclic Description - Incompressible CFD code + Test application for cyclic patches \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "volFields.H" +#include "surfaceFields.H" +#include "fvcDiv.H" + +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) { + #include "setRootCase.H" -#include "setRootCase.H" - -#include "createTime.H" -#include "createMesh.H" -#include "createFields.H" + #include "createTime.H" + #include "createMesh.H" + #include "createFields.H" Info<< polyPatch::constraintTypes() << endl; -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Info<< nl << "Starting tests" << endl; diff --git a/applications/test/fvc/Test-fvc.C b/applications/test/fvc/Test-fvc.C index ff1d9c6640..579f5e6dd8 100644 --- a/applications/test/fvc/Test-fvc.C +++ b/applications/test/fvc/Test-fvc.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -22,14 +22,19 @@ License along with OpenFOAM. If not, see . Application - test + Test-fvc Description Finite volume method test code. \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "volFields.H" +#include "fvcGrad.H" +#include "fvcCurl.H" + +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/applications/test/passiveParticle/Test-passiveParticle.C b/applications/test/passiveParticle/Test-passiveParticle.C index ee8be9cf55..06ab2e2a8d 100644 --- a/applications/test/passiveParticle/Test-passiveParticle.C +++ b/applications/test/passiveParticle/Test-passiveParticle.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -22,16 +22,19 @@ License along with OpenFOAM. If not, see . Application - testPassiveParticle + Test-passiveParticle Description Test cloud of passive particles. \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "fvMesh.H" #include "passiveParticleCloud.H" +using namespace Foam; + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) @@ -59,7 +62,7 @@ int main(int argc, char *argv[]) forAllConstIter(passiveParticleCloud, particles, iter) { - Pout<< " " << iter().position() << " cell:" << iter().cell() + Pout<< " " << iter().position(mesh) << " cell:" << iter().cell() << " origProc:" << iter().origProc() << " origId:" << iter().origId() << endl; @@ -82,7 +85,7 @@ int main(int argc, char *argv[]) forAllConstIter(passiveParticleCloud, particles, iter) { - Pout<< " " << iter().position() << " cell:" << iter().cell() + Pout<< " " << iter().position(mesh) << " cell:" << iter().cell() << " origProc:" << iter().origProc() << " origId:" << iter().origId() << endl; diff --git a/applications/test/pointField/Test-PointField.C b/applications/test/pointField/Test-PointField.C index 1d00a5b3a7..4dcb025dc7 100644 --- a/applications/test/pointField/Test-PointField.C +++ b/applications/test/pointField/Test-PointField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -29,15 +29,16 @@ Description \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" -#include "pointMesh.H" +#include "argList.H" +#include "fvMesh.H" #include "pointFields.H" +using namespace Foam; + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) { - #include "setRootCase.H" #include "createTime.H" diff --git a/applications/test/reconstruct/Test-reconstruct.C b/applications/test/reconstruct/Test-reconstruct.C index c70b99156e..1056d807cc 100644 --- a/applications/test/reconstruct/Test-reconstruct.C +++ b/applications/test/reconstruct/Test-reconstruct.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,7 +26,10 @@ Application \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" +#include "fvcReconstruct.H" + +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/applications/test/volField/Test-volField.C b/applications/test/volField/Test-volField.C index af8ff9c307..547c8c07d2 100644 --- a/applications/test/volField/Test-volField.C +++ b/applications/test/volField/Test-volField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,8 +26,14 @@ Application \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" -#include "transformGeometricField.H" +#include "argList.H" +#include "fvcFlux.H" +#include "fvmDdt.H" +#include "fvmDiv.H" +#include "fvmLaplacian.H" +#include "zeroGradientFvPatchFields.H" + +using namespace Foam; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/applications/test/volPointInterpolation/Test-volPointInterpolation.C b/applications/test/volPointInterpolation/Test-volPointInterpolation.C index 492cef2e05..2b62e6f6f5 100644 --- a/applications/test/volPointInterpolation/Test-volPointInterpolation.C +++ b/applications/test/volPointInterpolation/Test-volPointInterpolation.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -26,10 +26,12 @@ Application \*---------------------------------------------------------------------------*/ -#include "fvCFD.H" +#include "argList.H" #include "timeSelector.H" #include "volPointInterpolation.H" +using namespace Foam; + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // template