1. 16 Jun, 2020 1 commit
  2. 05 Jun, 2020 1 commit
    • Kutalmis Bercin's avatar
      ENH: improve/verify atmBoundaryLayerInlet conditions · 336fb3bd
      Kutalmis Bercin authored
        ENH: add generalised log-law type ground-normal inflow boundary conditions for
        wind velocity and turbulence quantities for homogeneous, two-dimensional,
        dry-air, equilibrium and neutral atmospheric boundary layer (ABL) modelling
      
        ENH: remove `zGround` entry, which is now automatically computed
      
        ENH: add `displacement height` entry, `d`
      
        ENH: add generalised atmBoundaryLayerInletOmega boundary condition
      
        ENH: add a verification case for atmBoundaryLayerInlet BCs
      
        DOC: improve atmBoundaryLayerInlet header documentation
      
        BUG: fix value-entry behaviour in atmBoundaryLayerInlet (fixes #1578)
        Without this change:
        - for serial-parallel computations, if `value` entry is available in
          an `atmBoundaryLayerInlet` BC, the theoretical ABL profile expressions
          are not computed, and the `value` entry content is used as a profile data
        - for parallel computations, if `value` entry is not available, `decomposePar`
          could not be executed.
        With this change:
        - assuming `value` entry is always be present, the use of `value` entry for
          the ABL profile specification is determined by a flag `initABL`
        - the default value of the optional flag `initABL` is `true`, but whenever
          `initABL=true` is executed, `initABL` is overwritten as `false` for the
          subsequent runs, so that `value` entry can be safely used.
        Thanks Per Jørgensen for the bug report.
      
        BUG: ensure atmBoundaryInlet conditions are Galilean-invariant (fixes #1692)
      
        Related references:
      
            The ground-normal profile expressions (tag:RH):
              Richards, P. J., & Hoxey, R. P. (1993).
              Appropriate boundary conditions for computational wind
              engineering models using the k-ε turbulence model.
              In Computational Wind Engineering 1 (pp. 145-153).
              DOI:10.1016/B978-0-444-81688-7.50018-8
      
          Modifications to preserve the profiles downstream (tag:HW):
              Hargreaves, D. M., & Wright, N. G. (2007).
              On the use of the k–ε model in commercial CFD software
              to model the neutral atmospheric boundary layer.
              Journal of wind engineering and
              industrial aerodynamics, 95(5), 355-369.
              DOI:10.1016/j.jweia.2006.08.002
      
          Expression generalisations to allow height
          variation for turbulence quantities (tag:YGCJ):
              Yang, Y., Gu, M., Chen, S., & Jin, X. (2009).
              New inflow boundary conditions for modelling the neutral equilibrium
              atmospheric boundary layer in computational wind engineering.
              J. of Wind Engineering and Industrial Aerodynamics, 97(2), 88-95.
              DOI:10.1016/j.jweia.2008.12.001
      
          The generalised ground-normal profile expression for omega (tag:YGJ):
              Yang, Y., Gu, M., & Jin, X., (2009).
              New inflow boundary conditions for modelling the
              neutral equilibrium atmospheric boundary layer in SST k-ω model.
              In: The Seventh Asia-Pacific Conference on Wind Engineering,
              November 8-12, Taipei, Taiwan.
      
        Reproduced benchmark:
            Rectangular prism shown in FIG 1 of
              Hargreaves, D. M., & Wright, N. G. (2007).
              On the use of the k–ε model in commercial CFD software
              to model the neutral atmospheric boundary layer.
              Journal of wind engineering and
              industrial aerodynamics, 95(5), 355-369.
              DOI:10.1016/j.jweia.2006.08.002
        Benchmark data:
            HW, 2007 FIG 6
      
        TUT: update simpleFoam/turbineSiting tutorial accordingly
      336fb3bd
  3. 31 Oct, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 03 Dec, 2018 1 commit
  6. 18 Mar, 2018 1 commit
  7. 17 Jun, 2016 1 commit
  8. 21 Jan, 2015 1 commit
    • Henry's avatar
      Updated the whole of OpenFOAM to use the new templated TurbulenceModels library · 2aec2496
      Henry authored
      The old separate incompressible and compressible libraries have been removed.
      
      Most of the commonly used RANS and LES models have been upgraded to the
      new framework but there are a few missing which will be added over the
      next few days, in particular the realizable k-epsilon model.  Some of
      the less common incompressible RANS models have been introduced into the
      new library instantiated for incompressible flow only.  If they prove to
      be generally useful they can be templated for compressible and
      multiphase application.
      
      The Spalart-Allmaras DDES and IDDES models have been thoroughly
      debugged, removing serious errors concerning the use of S rather than
      Omega.
      
      The compressible instances of the models have been augmented by a simple
      backward-compatible eddyDiffusivity model for thermal transport based on
      alphat and alphaEff.  This will be replaced with a separate run-time
      selectable thermal transport model framework in a few weeks.
      
      For simplicity and ease of maintenance and further development the
      turbulent transport and wall modeling is based on nut/nuEff rather than
      mut/muEff for compressible models so that all forms of turbulence models
      can use the same wall-functions and other BCs.
      
      All turbulence model selection made in the constant/turbulenceProperties
      dictionary with RAS and LES as sub-dictionaries rather than in separate
      files which added huge complexity for multiphase.
      
      All tutorials have been updated so study the changes and update your own
      cases by comparison with similar cases provided.
      
      Sorry for the inconvenience in the break in backward-compatibility but
      this update to the turbulence modeling is an essential step in the
      future of OpenFOAM to allow more models to be added and maintained for a
      wider range of cases and physics.  Over the next weeks and months more
      turbulence models will be added of single and multiphase flow, more
      additional sub-models and further development and testing of existing
      models.  I hope this brings benefits to all OpenFOAM users.
      
      Henry G. Weller
      2aec2496
  9. 10 Jan, 2015 2 commits
  10. 31 Dec, 2014 1 commit
  11. 07 Feb, 2013 2 commits
  12. 14 Aug, 2011 1 commit
  13. 19 Jan, 2011 1 commit
  14. 14 Jan, 2011 1 commit
  15. 07 Jan, 2011 1 commit
  16. 05 Jan, 2011 2 commits
  17. 29 Sep, 2010 1 commit
  18. 28 Jul, 2010 1 commit
  19. 29 Mar, 2010 1 commit
  20. 31 Dec, 2008 1 commit
  21. 20 Nov, 2008 1 commit
  22. 25 Jun, 2008 2 commits
  23. 15 Apr, 2008 1 commit