1. 29 Jan, 2020 3 commits
    • Andrew Heather's avatar
      Merge branch 'tutorial-review.kbc' into 'develop' · fdece1d7
      Andrew Heather authored
      TUT: cleanup compressible tutorials
      
      See merge request !337
      fdece1d7
    • Kutalmis Bercin's avatar
      TUT: cleanup compressible tutorials · cee3dab1
      Kutalmis Bercin authored
       - for all tutorial cases:
           - correct/uniformize dict-style
           - rm redundant dict entries
      
       - compressible.overRhoPimpleDyMFoam.twoSimpleRotors: rm redundant file: pointDisplacement
       - compressible.overRhoSimpleFoam.hotCylinder
       - compressible.rhoCentralDyMFoam.movingCone
       - compressible.rhoCentralFoam.forwardStep: activate purgeWrite=10
       - compressible.rhoCentralFoam.LadenburgJet60psi: rm redundant files: mapFieldsDict & sample
       - compressible.rhoCentralFoam.shockTube: rm redundant file: sample; command: cleanSample
       - compressible.rhoPimpleFoam.laminar.sineWaveDamping: rm redundant file: V; activate purgeWrite=10
       - compressible.rhoPimpleFoam.LES.pitzDaily: activate purgeWrite=10
       - compressible.rhoPimpleFoam.RAS.aerofoilNACA0012: activate purgeWrite=10
       - compressible.rhoPimpleFoam.RAS.angledDuct: add Allclean
       - compressible.rhoPimpleFoam.RAS.mixerVessel2D: add Allclean; rm makeMesh
       - compressible.rhoPimpleFoam.RAS.angledDuctLTS: add Allclean
       - compressible...
      cee3dab1
    • Kutalmis Bercin's avatar
      ENH: allow datToFoam writing points dict directly · f55da4b6
      Kutalmis Bercin authored
        - refactors the corresponding tutorial by removing redundant files and items:
          compressible/rhoCentralFoam/biconic25-55Run35
      f55da4b6
  2. 28 Jan, 2020 4 commits
  3. 23 Jan, 2020 12 commits
  4. 22 Jan, 2020 2 commits
  5. 21 Jan, 2020 2 commits
  6. 20 Jan, 2020 2 commits
  7. 17 Jan, 2020 1 commit
  8. 16 Jan, 2020 2 commits
    • Mark Olesen's avatar
      ENH: provide defaultName() static method for patches, zones · f0be8679
      Mark Olesen authored
      - consistent way of writing "patch" + Foam::name(id) etc.
      f0be8679
    • Mark Olesen's avatar
      ENH: consistency improvements for surface patch handling (fixes #483) · 2a98c4e6
      Mark Olesen authored
      - remove (unused) Istream constructors, prune some unused methods,
        rationalize write() vs writeDict().
        Deprecate inconsistent construction order.
      
      - handle empty names for ".ftr" surface patches (for plain triSurface
        format) with double-quoted strings for more reliable streaming.
        Written on a single line.
      
        This is _backward_ compatible, but if users have been parsing these
        files manually, they will need to adjust their code.
      
      Previously:
      ```
        (
        frt-fairing:001%1
        empty
      
        windshield:002%2
        empty
        ...
        )
      ```
      
      Updated (with example handling of empty name):
      ```
        (
        frt-fairing:001%1 empty
      
        windshield:002%2 ""
        ...
        )
      ```
      2a98c4e6
  9. 15 Jan, 2020 1 commit
  10. 13 Jan, 2020 1 commit
  11. 09 Jan, 2020 1 commit
  12. 17 Jan, 2020 1 commit
  13. 22 Jan, 2020 1 commit
  14. 21 Jan, 2020 1 commit
  15. 16 Jan, 2020 2 commits
  16. 13 Jan, 2020 4 commits
    • Mattijs Janssens's avatar
      Merge branch 'feature-regIOobject-store' into 'develop' · 0c7140c9
      Mattijs Janssens authored
      ENH: regIOobject store() now also registers the object
      
      See merge request !326
      0c7140c9
    • Mark Olesen's avatar
      ENH: regIOobject store() now also registers the object · b0072bfa
      Mark Olesen authored and Mattijs Janssens's avatar Mattijs Janssens committed
      - previously the store() method just set the ownedByRegistry flag.
        Now ensure that it is indeed registered first.
      
      - support register/store of tmp<> items.
        The tmp parameter is not cleared, but changed from PTR to CREF
        to allow further use.
      
        The implicit registration allows code simplification using the
        GeometricField::New factory method, for example.
      
        Old Code
        ========
            volScalarField* ptr = new volScalarField
            (
                IOobject
                (
                    fieldName,
                    mesh.time().timeName(),
                    mesh,
                    IOobject::NO_READ,
                    IOobject::NO_WRITE,
                    true  // Register
                ),
                mesh,
                dimless,
                zeroGradientFvPatchField<scalar>::typeName
            );
            ptr->store();
      
        New Code
        ========
            auto tptr = volScalarField::New
            (
                fieldName,
                mesh,
                dimless,
                zeroGradientFvPatchField<scalar>::typeName
            );
            regIOobject::store(tptr);
      
        or even
            regIOobject::store
            (
                volScalarField::New
                (
                    fieldName,
                    mesh,
                    dimless,
                    zeroGradientFvPatchField<scalar>::typeName
                )
            );
      b0072bfa
    • mattijs's avatar
      12bd4567
    • Mark Olesen's avatar
      COMP: update lemon to 2019-12-19 version · 9b67ffaf
      Mark Olesen authored
      9b67ffaf