diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryT b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryT new file mode 100644 index 0000000000000000000000000000000000000000..04ca467742feaa879aebd8d88129ba4d276fafc4 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryT @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object boundaryT; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 0 0 1 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryU b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryU new file mode 100644 index 0000000000000000000000000000000000000000..6e0f17c58073d994422cb82eee89e934952e93c6 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/boundaryU @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + object boundaryU; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 1 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/dsmcRhoN new file mode 100644 index 0000000000000000000000000000000000000000..4d93a4347e2a2565dcf1d6b69ab4c5b61fa75532 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/dsmcRhoN @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object dsmcRhoN; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 -3 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/fD b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/fD new file mode 100644 index 0000000000000000000000000000000000000000..0f6b5165adf18c3bea3eec706d8af9cd0a5a3254 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/fD @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + object fD; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/iDof b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/iDof new file mode 100644 index 0000000000000000000000000000000000000000..1352b8e189535a5024a1c7c476ad48734c6d7438 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/iDof @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object iDof; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 -3 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/internalE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/internalE new file mode 100644 index 0000000000000000000000000000000000000000..86fddfd83208e79ba0bec20a0595ba97b475db78 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/internalE @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object internalE; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/linearKE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/linearKE new file mode 100644 index 0000000000000000000000000000000000000000..167e65f8b4e4bd2f71a4966bbce78f9e5f9d4baa --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/linearKE @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object linearKE; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -2 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/momentum b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/momentum new file mode 100644 index 0000000000000000000000000000000000000000..017d425f692a26aa52eabed10c54f0c168b78690 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/momentum @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volVectorField; + object momentum; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -2 -1 0 0 0 0]; + +internalField uniform (0 0 0); + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/q similarity index 81% rename from tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/decomposeParDict rename to tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/q index a358e4dd14cc7d021e9b6388d8e0e7f09c2b76d7..7afb21e46c4f994c8f9feb81445a5bf4cd52130d 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/decomposeParDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/q @@ -9,19 +9,22 @@ FoamFile { version 2.0; format ascii; - class dictionary; - object decomposeParDict; + class volScalarField; + object q; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -numberOfSubdomains 2; +dimensions [1 0 -3 0 0 0 0]; -method simple; +internalField uniform 0; -coeffs +boundaryField { - n (2 1 1); + ".*" + { + type cyclic; + } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoM b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoM new file mode 100644 index 0000000000000000000000000000000000000000..6571b7b36fb706a55595bce34c46291a85a33c5f --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoM @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object rhoM; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -3 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoN new file mode 100644 index 0000000000000000000000000000000000000000..af4cebe71edb72f3388f9d61d85c111bc062b543 --- /dev/null +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0.orig/rhoN @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: www.openfoam.com | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + object rhoN; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [0 -3 0 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryT deleted file mode 100644 index ad87fa8548fd49ea2eb60bb3006c85a04ed45c19..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryT +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object boundaryT; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 0 0 1 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryU deleted file mode 100644 index baad5ef004c3cb01158eb68b29596b7bae13b388..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/boundaryU +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object boundaryU; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/dsmcRhoN deleted file mode 100644 index edce07f3bbe92bf0b5f8a22e29b07f9492e7ec33..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/dsmcRhoN +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object dsmcRhoN; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 -3 0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/fD b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/fD deleted file mode 100644 index 86470b5b727d06c44a2b6e5398008a3aa920980a..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/fD +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object fD; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/iDof b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/iDof deleted file mode 100644 index a8416bbdfe7562d1f20dcf186cf8d6b28a39da60..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/iDof +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object iDof; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 -3 0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/internalE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/internalE deleted file mode 100644 index d6f80c2b9aae4614729f163862b51b0f8c1c271e..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/internalE +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object internalE; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/linearKE b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/linearKE deleted file mode 100644 index b34303ecf99e06253daa0b5100371b49032ac8e6..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/linearKE +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object linearKE; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -1 -2 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/momentum b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/momentum deleted file mode 100644 index f7908e3cbe7b321c198d04f9cfa71a59daa0f641..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/momentum +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object momentum; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -2 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/q b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/q deleted file mode 100644 index 8414545d0200582a008202da898e1a5c30d53078..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/q +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object q; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 0 -3 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoM b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoM deleted file mode 100644 index 3f5dca3a22019b1a250920d639fe9c19ba72c3ca..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoM +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object rhoM; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [1 -3 0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoN b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoN deleted file mode 100644 index 29df43e31f2677b8de3236e3a6525823d1e66c30..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/0/rhoN +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object rhoN; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 -3 0 0 0 0 0]; - -internalField uniform 0; - -boundaryField -{ - xPeriodic_half0 - { - type cyclic; - } - yPeriodic_half0 - { - type cyclic; - } - zPeriodic_half0 - { - type cyclic; - } - yPeriodic_half1 - { - type cyclic; - } - zPeriodic_half1 - { - type cyclic; - } - xPeriodic_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean index be7987279251b1c7dfaa7c09b2972faa0107dc88..fb1f3847301c377e02e12439ba58cbf303af3ef9 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allclean @@ -3,8 +3,6 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase - -rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun index e3a5f21d92eb010cda798f3ad9c13c91a42eb223..d73c47d50d0c3f7151ef605d453e19096f3f0923 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun @@ -3,8 +3,16 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication dsmcInitialise -runApplication $(getApplication) + +runApplication decomposePar + +runParallel $(getApplication) + +runApplication reconstructPar #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties index 8f5ab0e4e352047a5ca7b95bf0d006644861b9c0..843e2dc59aca9ceb30696725c71390f307639060 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/constant/dsmcProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object dsmcProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/blockMeshDict index 093172f243c2a2046b395d458bbd6d3aed05480a..9b8e6843811362b270e96e271333595839750ed2 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/blockMeshDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/blockMeshDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object blockMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 0.01; @@ -79,9 +78,5 @@ boundary } ); -mergePatchPairs -( -); - // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict index 71c20f1dfb37c65ca65ca6fb16db6c26c8b2fabe..adacf089a5ba8909cbaf2d09722dbc013319bca4 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/controlDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -113,6 +112,7 @@ functions } ); } + dsmcFields1 { type dsmcFields; @@ -121,4 +121,5 @@ functions } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict index 12622a11c7c4cbe183a68d30b9c5e7e351e177d0..a40b92cfb52d55c21392f34ba0e313e9d2305b8b 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/dsmcInitialiseDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object dsmcInitialiseDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryT similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryT index a9c877fb0256711be4687aebf3ca730a76c2eb6c..ae69d84cfe498080d938f543569d2ac7b44c026e 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryT +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryT @@ -39,4 +39,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryU similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryU index 617b6f855a898681966fccd3606de69db7e93744..2185cc49f5326c5f2c6807d04314e23822ecf713 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/boundaryU +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/boundaryU @@ -39,4 +39,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/dsmcRhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/dsmcRhoN index 9aebde84a5b6fe347380cc58d433a221518f3e38..6af0b9bf4c462bc9eddbf4df01fc3803117d6cc9 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/dsmcRhoN +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/dsmcRhoN @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/fD b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/fD similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/fD rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/fD index 965d7f28a2aaa2316b2a5297658e8f449a212891..220393f1236c6da05bc43e2abd9c621b87791ac3 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/fD +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/fD @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/iDof b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/iDof similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/iDof rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/iDof index 6190a0b54a6763f5d0b0e29fbffe6250b832962c..f9ea39e60741545f1bf43bb3deba0fadba3033e1 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/iDof +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/iDof @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/internalE b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/internalE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/internalE rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/internalE index 61ef6b6393f3e48e0d55bfa6634ae707d0c23c50..a676563ec7fd1288620039e696f00cae54f3a997 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/internalE +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/internalE @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/linearKE b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/linearKE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/linearKE index 88d32bb4b62a5f2c4dc422dcf38b9357f7f7ba09..93e26a5fffd79f476e6d92fbadbd704c6c83cf16 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/linearKE +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/linearKE @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/momentum b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/momentum similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/momentum rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/momentum index 9e5cc1c90d2186dd0810e6d5988f77b38aff4d6b..72fb2e461e3a396e3edf2b744f070b377936c3a9 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/momentum +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/momentum @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/q b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/q similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/q rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/q index d4bbc401a4b4c1d50433bdec26f508561920309a..c31dee712f641b15a4ef8fb1a1f817a208cc2d6a 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/q +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/q @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoM b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoM similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoM index fe088e6d79791cb851cb0513b6609516209a3328..0c48e0f44b47da1a2a8ba406cc621294dfd04456 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoM +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoM @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoN b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoN index 6908f41ce5dc5fe23f602ec239cf0185b478abb0..9159ddbc8654fec6fa9499a4e3c30424b9240764 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0/rhoN +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/0.orig/rhoN @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean index be7987279251b1c7dfaa7c09b2972faa0107dc88..fb1f3847301c377e02e12439ba58cbf303af3ef9 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allclean @@ -3,8 +3,6 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase - -rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun index e3a5f21d92eb010cda798f3ad9c13c91a42eb223..0581bacdfd1cf8e6e2191d25b2a19fee3187d724 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun @@ -3,8 +3,16 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication dsmcInitialise -runApplication $(getApplication) + +runParallel redistributePar -decompose -overwrite -withZero + +runParallel $(getApplication) + +runApplication reconstructPar #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties index 1103901d9ba905ee0822a279fd2a2abf68dd96ca..24824c55600e71da7b9b046ca29d8a209566e693 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/constant/dsmcProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object dsmcProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/blockMeshDict index 625503a63604f5f8806f744d29fda9d5c0817426..4fd6da8caf28ad4e3edd627586212a898dcaf144 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/blockMeshDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/blockMeshDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object blockMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 0.01; @@ -65,10 +64,6 @@ boundary (0 3 2 1) ); } -) - -mergePatchPairs -( ); diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict index 1ed7028fc1ebcf2827ee655d2136b804374fecc7..ae0490daf10615e6f8f6a27008725dca218ad699 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -114,6 +113,7 @@ functions } ); } + dsmcFields1 { type dsmcFields; @@ -122,4 +122,5 @@ functions } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict index a05363a6654574fe6f78c941d952ced803aec143..4e5d938f8e47aa1cc0bcedd82b033f16530ce455 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/dsmcInitialiseDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object dsmcInitialiseDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryT similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryT index 8e7b5f069ef899639b19d5386b755114ee62584a..c167351bc68c73185010d3061cee17b810eee21d 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryT +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryT @@ -38,4 +38,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryU similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryU index 47f8d891d0f007015e13dfb2e4ead3809ae9a305..10fd1fe8c0597a92433a02de90fb100107cbdf58 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/boundaryU +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/boundaryU @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/dsmcRhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/dsmcRhoN index 2a0bd27c5c3c55489099aa09920fe9e370bd9a0c..fecadd780bad3f159825a54b5879ca8bb05b4301 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/dsmcRhoN +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/dsmcRhoN @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/fD b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/fD similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/fD rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/fD index 977c720ee9ded05addff70f22ac9a1e193247b6e..da791bc4684aa6c4905f995c0ade82a41471fe6b 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/fD +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/fD @@ -38,4 +38,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/iDof b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/iDof similarity index 100% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/iDof rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/iDof index 776597745ffafd2958b947affa05e01e3e8a76f9..0133ff117527cd61ab5a9c9f21e2b5a627fff4b0 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/iDof +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/iDof @@ -35,7 +35,7 @@ boundaryField type calculated; value uniform 0; } - } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/internalE b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/internalE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/internalE rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/internalE index 7a41687da7c4eab090c25030c9ee562b48d446e4..07f876a5a9e1a492a4fdb7294d594975d0044c89 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/internalE +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/internalE @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/linearKE b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/linearKE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/linearKE index 6c8fe6f05e6c30d46a83b074461db6f3e02ce8fd..8ee5c414025ba3441ae86b4aed67c728b8e1f5ff 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/linearKE +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/linearKE @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/momentum b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/momentum similarity index 100% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/momentum rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/momentum index 364c9dc125ad4513a5fad5942f0818ba23670f5a..8472607ca74a50409e0645749b0edd6ff5fcbd98 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/momentum +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/momentum @@ -35,7 +35,7 @@ boundaryField type calculated; value uniform (0 0 0); } - } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/q b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/q similarity index 100% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/q rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/q index 79cf66345079577f53c6cd6d0957c8d60af84e56..88a9432e2fc0d0c92eca08e44a42b1adc354eb06 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/q +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/q @@ -24,7 +24,6 @@ boundaryField { type calculated; value uniform 0; - } "entrance.*" @@ -39,4 +38,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoM b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoM similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoM index 5c30897fd97b22c467efe33985d8d0decdac054a..09ed56a5fb1dec35394a70d452e4e5942da68a2f 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoM +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoM @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoN b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoN index da91688eb0b5a8cce7e23525fba34b342cb5aa19..f4af2f441dd2c1e7aac9b6cd735fe6e4c8d48df8 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0/rhoN +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/0.orig/rhoN @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean index be7987279251b1c7dfaa7c09b2972faa0107dc88..fb1f3847301c377e02e12439ba58cbf303af3ef9 100755 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allclean @@ -3,8 +3,6 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase - -rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun index fec63324403387b9711d218d252e99dd49c339cb..135da2aee1549ef6db598836b31bd4a1e6adad27 100755 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun @@ -3,10 +3,16 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication decomposePar + runParallel dsmcInitialise + runParallel $(getApplication) + runApplication reconstructPar -noLagrangian #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties index f7f36e365b582dcc7d029f9d8e00e32072eacc85..238a0a1ea25f17412c01ff4b9febf9f57e6c93c1 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/constant/dsmcProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object dsmcProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -69,4 +68,5 @@ moleculeProperties } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/blockMeshDict index d245b70b3c548353c13d72bdcb17da02dff9cfb6..b3946f2ada9b6543236359e4176e36e2edfa2e60 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/blockMeshDict +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/blockMeshDict @@ -83,10 +83,6 @@ boundary (1 2 9 8) ); } -) - -mergePatchPairs -( ); diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict index b27a9eee1e85faff77bd0753c004514702e2b5c1..3860ff8a9f19fe36820205a5c75c81ed553114bb 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/controlDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -122,4 +121,5 @@ functions } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict index 33631badb5a5224759a37aca4bb44b8fc6be53d7..d96083400d61168c382b569cc2bc91911727531b 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/decomposeParDict @@ -23,4 +23,5 @@ coeffs n (2 2 1); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict index 59f62a04b79b87ffd010093befafa93f3673fde4..1f7326658eb204b45da5d91293d3d251004ce2b5 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/dsmcInitialiseDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object dsmcInitialiseDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryT b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryT similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryT rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryT index 19d6e391200b0bd7dcc2d0aec96bfa46cae9bfc3..b5856af5c7514ac1634f5f7142ffbd08b9f25715 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryT +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryT @@ -38,4 +38,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryU b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryU similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryU rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryU index df5115f4e6d16f03406c0b13dc2b360dfe7e5b91..2b690c11fa045cdb51f072ab03c490ffbb4766ea 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/boundaryU +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/boundaryU @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/dsmcRhoN b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/dsmcRhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/dsmcRhoN rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/dsmcRhoN index 73216a456adc9c8f70148a0357206804f1d51b36..274c720fead19949bf167ea376c692974926b555 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/dsmcRhoN +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/dsmcRhoN @@ -36,4 +36,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/fD b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/fD similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/fD rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/fD index 152d1e4ea5db1181a0d02384ba4916b499fb7cb2..bd55411879d5f04f14844b828f73aea532b273db 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/fD +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/fD @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/iDof b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/iDof similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/iDof rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/iDof index d6af05ee6e034f2b16fccb12032b95cfe459ac92..b17605e23620b7b4ee48917586926a76ecc7b9bd 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/iDof +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/iDof @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/internalE b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/internalE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/internalE rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/internalE index 25787ec1716d8d4f1e77ef39915e652a0f07723d..15edded71df5dbb0892b1609018db8d8b3482933 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/internalE +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/internalE @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/linearKE b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/linearKE similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/linearKE rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/linearKE index b2f481ca30e122f7a98dd11df7b11188a7a933c6..26854c4b44c01a062c7d7dc84026d92ae1755350 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/linearKE +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/linearKE @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/momentum b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/momentum similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/momentum rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/momentum index 8e38800c9ec88e345c269023666cab8cc6114c6f..ba5b89161d500d0eeccb205fac8aa97d470de92b 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/momentum +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/momentum @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/q b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/q similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/q rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/q index e31ab71941cf12facd300c3554b3babb67c2fc39..3894bcda44369d23bdc080e22cf001346306e7d2 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/q +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/q @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoM b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoM similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoM rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoM index 28adbddf53d51e137e5b2cb8b1250fb81413c5ea..b5bb70b973cd04c7593607f325203c2d21cc2d31 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoM +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoM @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoN b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoN similarity index 99% rename from tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoN rename to tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoN index e921eaa06fa7b16033a1c69ae1efe4c110ce9b2d..5fa2e6ea97bf7e1458779bd4a233e96d2c702069 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0/rhoN +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/0.orig/rhoN @@ -37,4 +37,5 @@ boundaryField } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean index be7987279251b1c7dfaa7c09b2972faa0107dc88..fb1f3847301c377e02e12439ba58cbf303af3ef9 100755 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allclean @@ -3,8 +3,6 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase - -rm -rf 0/lagrangian 0/dsmcSigmaTcRMax 0/uniform +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun index fec63324403387b9711d218d252e99dd49c339cb..135da2aee1549ef6db598836b31bd4a1e6adad27 100755 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun @@ -3,10 +3,16 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication decomposePar + runParallel dsmcInitialise + runParallel $(getApplication) + runApplication reconstructPar -noLagrangian #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties index a99049b31a76b9707faa596290a0cf2a47eadc51..11b9b4665c9ac52cb5bfe3a64b2685dbf08d4e6e 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/constant/dsmcProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object dsmcProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/blockMeshDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/blockMeshDict index 2b49b923f9354c659ab57f3c9694ffe2a5362f87..8543f248cf7b54d6acc7a200946fc2bdf73425bf 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/blockMeshDict +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/blockMeshDict @@ -79,8 +79,5 @@ boundary } ); -mergePatchPairs -( -); // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict index e0f604b0c485da9b9340f1261809a8124dfc7659..38887bec0fef0e80ffba12f71d52a9f5893b9932 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/controlDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -134,4 +133,5 @@ functions } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict index 33631badb5a5224759a37aca4bb44b8fc6be53d7..d96083400d61168c382b569cc2bc91911727531b 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/decomposeParDict @@ -23,4 +23,5 @@ coeffs n (2 2 1); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict index 31cb3b86d9c1c331f8aa83e2806a02b271123999..f5a4fb49a6ff0b0322e59eccaf7ffc7b277bb13c 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/dsmcInitialiseDict @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object dsmcInitialiseDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/decomposeParDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0.orig/U similarity index 80% rename from tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/decomposeParDict rename to tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0.orig/U index bfb4d58728e2285bb58065dda81ee5f5a1e18b26..4d03650cff61f760c4e4670a37c64a5f10cd4ed6 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/decomposeParDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0.orig/U @@ -9,19 +9,21 @@ FoamFile { version 2.0; format ascii; - class dictionary; - object decomposeParDict; + class volVectorField; + object U; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -numberOfSubdomains 4; +dimensions [0 1 -1 0 0 0 0]; -method simple; +internalField uniform (0 0 0); -coeffs +boundaryField { - n (2 2 1); + ".*" + { + type cyclic; + } } diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0/U b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0/U deleted file mode 100644 index c67f84aba839666485ae87c638e522ea540561ca..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/0/U +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - periodicX_half0 - { - type cyclic; - } - periodicY_half0 - { - type cyclic; - } - periodicZ_half0 - { - type cyclic; - } - periodicY_half1 - { - type cyclic; - } - periodicZ_half1 - { - type cyclic; - } - periodicX_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allclean b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allclean index 9ee80cc641585afffe2ea19551223b187b80b9c7..630572921bd3bb95380afef56d4ff79d556e0dad 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allclean +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allclean @@ -3,9 +3,8 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase +cleanCase0 -rm -rf 0/lagrangian 0/uniform rm -f Ar-Ar rm -f electrostatic rm -f constant/idList diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun index b506967a8e842dc8db98693f939d449d9fac910a..eff9b002a2673e25392bd8d717e3750a5cfb5dc3 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun @@ -3,8 +3,12 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication mdInitialise + runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/constant/moleculeProperties b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/constant/moleculeProperties index daa0484970b83eb793b40cda876ad875ac0953cf..1105f76352c8e0ad4f378886631857d1c2e7d19a 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/constant/moleculeProperties +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/constant/moleculeProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object moleculeProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -33,4 +32,5 @@ Ar ); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/blockMeshDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/blockMeshDict index 93ebc150cf4e49fae35824747913cb8e389c840c..fc99c1ebf6a92cd383ab97bffe7b68fe7310135d 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/blockMeshDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/blockMeshDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object blockMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 2.462491658e-9; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict index bf2ffbeb571b9c903dce161ef4fa0a7a037a27dd..25669c0cd536cf22fcf2d2e9bc679c4a401cbc2c 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/controlDict @@ -46,4 +46,5 @@ runTimeModifiable true; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSchemes b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSchemes +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSolution b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSolution +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdEquilibrationDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdEquilibrationDict index ddea024b3cb8303985da05246f8529f47ffab0bd..40bc120c5dda1798499859c6fde39ed94f67e8df 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdEquilibrationDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdEquilibrationDict @@ -16,4 +16,5 @@ FoamFile targetTemperature 300.0; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdInitialiseDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdInitialiseDict index 1f9ec54d34f40e542461358c9cd83ba9bd5881ff..27f93975d9f43ad92d7ccc34843141357ba5aab2 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdInitialiseDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/system/mdInitialiseDict @@ -33,4 +33,5 @@ liquid latticeCellShape (1 1 1); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0.orig/U b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0.orig/U new file mode 100644 index 0000000000000000000000000000000000000000..4d03650cff61f760c4e4670a37c64a5f10cd4ed6 --- /dev/null +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0.orig/U @@ -0,0 +1,30 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | +| \\ / O peration | Version: v2012 | +| \\ / A nd | Website: 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 +{ + ".*" + { + type cyclic; + } +} + + +// ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0/U b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0/U deleted file mode 100644 index c67f84aba839666485ae87c638e522ea540561ca..0000000000000000000000000000000000000000 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/0/U +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v2012 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volVectorField; - location "0"; - object U; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 -1 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - periodicX_half0 - { - type cyclic; - } - periodicY_half0 - { - type cyclic; - } - periodicZ_half0 - { - type cyclic; - } - periodicY_half1 - { - type cyclic; - } - periodicZ_half1 - { - type cyclic; - } - periodicX_half1 - { - type cyclic; - } -} - - -// ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allclean b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allclean index 6532fedd146f9ce8cbe23abb527cf6675056eee1..af1dac2eb70c6b9abe55ea5412e737a0729651c9 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allclean +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allclean @@ -3,9 +3,8 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase +cleanCase0 -rm -rf 0/lagrangian 0/uniform rm -f O-O rm -f electrostatic rm -f constant/idList diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun index b506967a8e842dc8db98693f939d449d9fac910a..eff9b002a2673e25392bd8d717e3750a5cfb5dc3 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun @@ -3,8 +3,12 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication mdInitialise + runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/constant/moleculeProperties b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/constant/moleculeProperties index 5434875cd20435deef882e79511637df61d77e5b..385afdc308f73869c77db954d161256bb7b3bedc 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/constant/moleculeProperties +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/constant/moleculeProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object moleculeProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -69,4 +68,5 @@ water2 ); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/blockMeshDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/blockMeshDict index 5e7e8682cc37a2671ac55cdf1a2e48fd12e506f2..4276398b71f6e9f7738b2a3207d7835f035bceb2 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/blockMeshDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/blockMeshDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object blockMeshDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 2.10840e-9; diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict index 41b2452b1aaf7b797b88ea3761650ae4b1af59e7..44d9c368bbe20d19a26ebe4e702dbfb6920f859c 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/controlDict @@ -46,4 +46,5 @@ runTimeModifiable true; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSchemes b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSchemes +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSolution b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSolution +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdEquilibrationDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdEquilibrationDict index 4c17a1e147b0221fc49a8765ff5831c8d8b810d7..7af31c80b1804af1bd55effab0ac6956838533fe 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdEquilibrationDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdEquilibrationDict @@ -16,4 +16,5 @@ FoamFile targetTemperature 298; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdInitialiseDict b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdInitialiseDict index 2fb1bed86cf1d96a28afa7bb51cbf8025729577c..1d509a6f7d0f1e13c990e4cfcbd835c6ded36f60 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdInitialiseDict +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/system/mdInitialiseDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object mdInitialiseDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Euler angles, expressed in degrees as phi, theta, psi, see @@ -43,4 +42,5 @@ liquid latticeCellShape (1 1 1); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0/U b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0.orig/U similarity index 99% rename from tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0/U rename to tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0.orig/U index 885e4997adbc79e4d27a5148df019d1c62308fcc..c19b00173c278c263aad4fd58a7515acf19866a5 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0/U +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/0.orig/U @@ -24,26 +24,32 @@ boundaryField { type noSlip; } + sectionCEnd { type noSlip; } + front { type noSlip; } + back { type noSlip; } + top { type noSlip; } + bottom { type noSlip; } } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean index 4828f169d485e2dd111defc6098d0b9cfcd42fc3..fb1f3847301c377e02e12439ba58cbf303af3ef9 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean @@ -3,7 +3,6 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -cleanCase -rm -rf processor[0-9] +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun index fd91352cce13eccd6a1ec84b3c13b0886e1fc2ce..98812b1ed794af13b77e3eea9b36b3fe0e499c88 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun @@ -3,10 +3,14 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ +restore0Dir + runApplication blockMesh + runApplication decomposePar runParallel mdInitialise + runParallel $(getApplication) runApplication reconstructPar diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/constant/moleculeProperties b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/constant/moleculeProperties index 8c58e2c461669fb657952b38eb8967035ad2d0da..2b6d24697d72051909b7c5a44b3dc82af81c5e00 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/constant/moleculeProperties +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/constant/moleculeProperties @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; object moleculeProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -42,4 +41,5 @@ water ); } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/blockMeshDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/blockMeshDict index 05c153110c22266e3e387b7fa5d0fb2c86259359..abfb3b12903efcc6477d73abd49d54acc9fa6c72 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/blockMeshDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/blockMeshDict @@ -133,4 +133,5 @@ mergePatchPairs ( ); + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict index d48ef15177439666bac34012c9258678e22c6057..83eaba9673e45b6189769ce619e73435ecc9a0f9 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/controlDict @@ -46,4 +46,5 @@ runTimeModifiable true; adjustTimeStep no; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/decomposeParDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/decomposeParDict index 43eaae2374c0599b1233cb34d7bba5f5f6af6f5f..79d391fa3ebce95e692fd0c37a2d310218529256 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/decomposeParDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/decomposeParDict @@ -12,16 +12,11 @@ FoamFile class dictionary; object decomposeParDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 4; -method scotch; +method scotch; -coeffs -{ - n (2 2 1); -} // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSchemes b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSchemes index ac52d4b34518e26e9d60e86e2d61e78f7611c2d8..815aa533f8ec8d3241d0a26bb21c72d6273ced77 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSchemes +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSchemes @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -45,4 +44,5 @@ snGradSchemes default none; } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSolution b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSolution index 878c84cc9f71742d10ac2d8af0ac352900992ce4..00ae95d69357535317df2f486549f3561cb69abb 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSolution +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/fvSolution @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class dictionary; - location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -19,4 +18,5 @@ solvers { } + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdEquilibrationDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdEquilibrationDict index 4c17a1e147b0221fc49a8765ff5831c8d8b810d7..7af31c80b1804af1bd55effab0ac6956838533fe 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdEquilibrationDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdEquilibrationDict @@ -16,4 +16,5 @@ FoamFile targetTemperature 298; + // ************************************************************************* // diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdInitialiseDict b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdInitialiseDict index c4055b3c7215c4d7c89e947aa849d9d4c8def15b..b948588a060f39e267b66205905ca560da44e673 100644 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdInitialiseDict +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/system/mdInitialiseDict @@ -12,7 +12,6 @@ FoamFile class dictionary; object mdInitialiseDict; } - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Euler angles, expressed in degrees as phi, theta, psi, see @@ -75,4 +74,5 @@ sectionC latticeCellShape (1 1 1); } + // ************************************************************************* //