1. 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
  2. 07 Jan, 2019 1 commit
  3. 13 Feb, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 17 Jan, 2019 1 commit
  6. 09 Jan, 2019 1 commit
  7. 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
  8. 01 Oct, 2018 1 commit
  9. 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
  10. 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
  11. 10 Aug, 2018 2 commits
  12. 29 May, 2018 1 commit
  13. 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
  14. 28 Mar, 2018 1 commit
  15. 14 Mar, 2018 1 commit
  16. 26 Feb, 2018 1 commit
  17. 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
  18. 12 Jul, 2018 1 commit
  19. 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
  20. 24 Oct, 2017 1 commit
  21. 26 Jun, 2017 1 commit
  22. 28 Apr, 2017 1 commit
  23. 28 Nov, 2016 1 commit
  24. 24 Nov, 2016 1 commit
  25. 18 May, 2016 1 commit
  26. 25 Apr, 2016 2 commits
  27. 16 Apr, 2016 1 commit
  28. 29 Feb, 2016 2 commits
  29. 26 Feb, 2016 1 commit
  30. 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
  31. 22 Feb, 2016 1 commit
  32. 20 Jan, 2016 1 commit
  33. 10 Jan, 2016 1 commit
  34. 11 Nov, 2015 1 commit
  35. 14 Feb, 2015 1 commit
  36. 03 Sep, 2014 1 commit
  37. 04 Dec, 2013 1 commit