1. 04 May, 2020 1 commit
  2. 01 May, 2020 1 commit
  3. 28 Apr, 2020 1 commit
  4. 18 Feb, 2020 1 commit
    • Kutalmis Bercin's avatar
      ENH: improve analytical eigendecompositions · 55e7da67
      Kutalmis Bercin authored
        - `tensor` and `tensor2D` returns complex eigenvalues/vectors
        - `symmTensor` and `symmTensor2D` returns real eigenvalues/vectors
        - adds new test routines for eigendecompositions
        - improves numerical stability by:
          - using new robust algorithms,
          - reordering the conditional branches in root-type selection
      55e7da67
  5. 31 Oct, 2019 1 commit
  6. 22 Jan, 2019 1 commit
    • sergio's avatar
      ENH: Adding reflection capability to solar load radiation model · 65952610
      sergio authored
      ENH: Several modifycations to avoid erroneuos rays to be shot
      from wrong faces.
      
      ENH: Updating tutorials and avoiding registration of the
      coarse singleCellFvMesh
      
      Adding solarLoad tutorial case simpleCarSolarPanel
      
      ENH: Changes needed for the merge
      65952610
  7. 07 Jan, 2019 1 commit
  8. 13 Feb, 2019 1 commit
  9. 06 Feb, 2019 1 commit
  10. 17 Jan, 2019 1 commit
  11. 09 Jan, 2019 1 commit
  12. 11 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · 1d85fecf
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      1d85fecf
  13. 03 Dec, 2018 1 commit
    • sergio's avatar
      ENH: · 9893e623
      sergio authored
      Adding reflecting fluxes to Solar load radiation model.
      Adding functionality to the boundary radiation models and new
      place holder for basic wall types such as transparent, opaqueDiffusive,
      opaqueReflective,etc.
      Changing radiation wall models to run time selectable.
      Adding multi-band capabilities to VF model and improving the set up
      for using solar loads in VF and fvDOM radiation models.
      9893e623
  14. 01 Oct, 2018 1 commit
  15. 27 Sep, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: add nBoundaryFaces() method to primitiveMesh · 64c3e484
      Mark Olesen authored
      - nBoundaryFaces() is often used and is identical to
        (nFaces() - nInternalFaces()).
      
      - forward the mesh nInternalFaces() and nBoundaryFaces() to
        polyBoundaryMesh as nFaces() and start() respectively,
        for use when operating on a polyBoundaryMesh.
      
      STYLE:
      
      - use identity() function with starting offset when creating boundary maps.
      
           labelList map
           (
               identity(mesh.nBoundaryFaces(), mesh.nInternalFaces())
           );
      
        vs.
      
           labelList map(mesh.nBoundaryFaces());
           forAll(map, i)
           {
               map[i] = mesh.nInternalFaces() + i;
           }
      64c3e484
  16. 03 Aug, 2018 1 commit
    • Mark Olesen's avatar
      ENH: additional methods and improvements to plane · de2eed3e
      Mark Olesen authored
      - signedDistance() method is like distance() but retains
        the positive/negative sign for the side of the plane.
      
      - the sign() method returns the sign as -1,0,+1 integer for
        classification purposes where it is important to distinguish between
        a zero value and a positive value (eg, for cutting). Optional
        tolerance can be supplied to round for zero.
      
      - refactor and inlined simple and frequently used methods.
      
      - add boundBox faceCentre() method, which can be useful for creating
        clipping planes from a bounding box.
        Relocated treeBoundBox faceNormals to boundBox since they apply
        equally there - the meaning of the faces (x-min, x-max, etc)
        is the same, even if the point addressing for the faces differs.
      de2eed3e
  17. 10 Aug, 2018 2 commits
  18. 29 May, 2018 1 commit
  19. 05 Mar, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: use direct iteration for HashSet · 4fe8ed82
      Mark Olesen authored
      - The iterator for a HashSet dereferences directly to its key.
      
      - Eg,
      
            for (const label patchi : patchSet)
            {
                ...
            }
        vs.
            forAllConstIter(labelHashSet, patchSet, iter)
            {
                const label patchi = iter.key();
                ...
            }
      4fe8ed82
  20. 28 Mar, 2018 1 commit
  21. 14 Mar, 2018 1 commit
  22. 26 Feb, 2018 1 commit
  23. 09 Feb, 2018 1 commit
    • Mark Olesen's avatar
      BUG: incorrect HashTable / HashSet instances · 09a6e940
      Mark Olesen authored
      - Eg instead of using labelHashSet, used HashSet<label> which uses
        the string::hash for hashing. Other places inadvertently using the
        string::hash instead of Hash<label> for hashing.
      
      STYLE: use Map<..> instead of HashTable<.., label, Hash<label>>
      
      - reduces clutter
      09a6e940
  24. 12 Jul, 2018 1 commit
  25. 20 Mar, 2018 1 commit
    • Henry Weller's avatar
      ENH: atmosphericModels: Added Lopes da Costa porosity and turbulence models · c812b4c6
      Henry Weller authored
      Specialized variants of the power law porosity and k epsilon turbulence models
      developed to simulate atmospheric flow over forested and non-forested complex
      terrain.
      
      Class
          Foam::powerLawLopesdaCosta
      
      Description
          Variant of the power law porosity model with spatially varying
          drag coefficient
      
          given by:
      
              \f[
                  S = -\rho C_d \Sigma |U|^{(C_1 - 1)} U
              \f]
      
          where
          \vartable
              \Sigma | Porosity surface area per unit volume
              C_d    | Model linear coefficient
              C_1    | Model exponent coefficient
          \endvartable
      
          Reference:
          \verbatim
              Costa, J. C. P. L. D. (2007).
              Atmospheric flow over forested and non-forested complex terrain.
          \endverbatim
      
      Class
          Foam::RASModels::kEpsilonLopesdaCosta
      
      Description
          Variant of the standard k-epsilon turbulence model with additional source
          terms to handle the changes in turbulence in porous regions represented by
          the powerLawLopesdaCosta porosity model.
      
          Reference:
          \verbatim
              Costa, J. C. P. L. D. (2007).
              Atmospheric flow over forested and non-forested complex terrain.
          \endverbatim
      
          The default model coefficients are
          \verbatim
              kEpsilonLopesdaCostaCoeffs
              {
                  Cmu         0.09;
                  C1          1.44;
                  C2          1.92;
                  sigmak      1.0;
                  sigmaEps    1.3;
              }
          \endverbatim
      
      Tutorial case to follow.
      c812b4c6
  26. 24 Oct, 2017 1 commit
  27. 26 Jun, 2017 1 commit
  28. 28 Apr, 2017 1 commit
  29. 28 Nov, 2016 1 commit
  30. 24 Nov, 2016 1 commit
  31. 18 May, 2016 1 commit
  32. 25 Apr, 2016 2 commits
  33. 16 Apr, 2016 1 commit
  34. 29 Feb, 2016 2 commits
  35. 26 Feb, 2016 1 commit
  36. 24 Feb, 2016 1 commit
    • Henry Weller's avatar
      tmp: Improved reference count checks to provide better error diagnostics · c02bf70e
      Henry Weller authored
      in case of tmp misuse.
      
      Simplified tmp reuse pattern in field algebra to use tmp copy and
      assignment rather than the complex delayed call to 'ptr()'.
      
      Removed support for unused non-const 'REF' storage of non-tmp objects due to C++
      limitation in constructor overloading: if both tmp(T&) and tmp(const T&)
      constructors are provided resolution is ambiguous.
      
      The turbulence libraries have been upgraded and '-DCONST_TMP' option
      specified in the 'options' file to switch to the new 'tmp' behavior.
      c02bf70e
  37. 22 Feb, 2016 1 commit