Skip to content
Snippets Groups Projects
  1. Dec 09, 2021
    • Vaggelis Papoutsis's avatar
      ENH: added functionality for smoothing the sensitivity derivatives · 3ef0d19e
      Vaggelis Papoutsis authored and Andrew Heather's avatar Andrew Heather committed
      A Helmholtz-like filter is applied to the original field of sensitivity
      derivatives. The corresponding PDE is solved on the sensitivity patches,
      using the finite area infrastructure. A smoothing radius is needed,
      which is computed based on the average 'length' of the boundary faces,
      if not provided by the user explicitly.
      
      If an faMesh is provided, it will be used; otherwise it will be created
      on the fly based on either an faMeshDefinition dictionary in system or
      one constructed internally based on the sensitivity patches.
      3ef0d19e
  2. Jun 17, 2019
    • Vaggelis Papoutsis's avatar
      CONTRIB: New adjoint optimisation and tools · ecc1fb5e
      Vaggelis Papoutsis authored
      A set of libraries and executables creating a workflow for performing
      gradient-based optimisation loops. The main executable (adjointOptimisationFoam)
      solves the flow (primal) equations, followed by the adjoint equations and,
      eventually, the computation of sensitivity derivatives.
      
      Current functionality supports the solution of the adjoint equations for
      incompressible turbulent flows, including the adjoint to the Spalart-Allmaras
      turbulence model and the adjoint to the nutUSpaldingWallFunction, [1], [2].
      
      Sensitivity derivatives are computed with respect to the normal displacement of
      boundary wall nodes/faces (the so-called sensitivity maps) following the
      Enhanced Surface Integrals (E-SI) formulation, [3].
      
      The software was developed by PCOpt/NTUA and FOSS GP, with contributions from
      
      Dr. Evangelos Papoutsis-Kiachagias,
      Konstantinos Gkaragounis,
      Professor Kyriakos Giannakoglou,
      Andy Heather
      
      and contributions in earlier version from
      
      Dr. Ioannis Kavvadias,
      Dr. Alexandros Zymaris,
      Dr. Dimitrios Papadimitriou
      
      [1] A.S. Zymaris, D.I. Papadimitriou, K.C. Giannakoglou, and C. Othmer.
      Continuous adjoint approach to the Spalart-Allmaras turbulence model for
      incompressible flows. Computers & Fluids, 38(8):1528–1538, 2009.
      
      [2] E.M. Papoutsis-Kiachagias and K.C. Giannakoglou. Continuous adjoint methods
      for turbulent flows, applied to shape and topology optimization: Industrial
      applications. 23(2):255–299, 2016.
      
      [3] I.S. Kavvadias, E.M. Papoutsis-Kiachagias, and K.C. Giannakoglou. On the
      proper treatment of grid sensitivities in continuous adjoint methods for shape
      optimization. Journal of Computational Physics, 301:1–18, 2015.
      
      Integration into the official OpenFOAM release by OpenCFD
      ecc1fb5e
  3. Apr 28, 2019
  4. May 18, 2018
  5. Nov 18, 2017
    • Henry Weller's avatar
      ENH: pimpleDyMFoam: Improved efficiency and consistency when running on a static mesh · 81cea099
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Now pimpleDyMFoam is exactly equivalent to pimpleFoam when running on a
      staticFvMesh.  Also when the constant/dynamicMeshDict is not present a
      staticFvMesh is automatically constructed so that the pimpleDyMFoam solver can
      run any pimpleFoam case without change.
      
      pimpleDyMFoam: Store Uf as an autoPtr for better error handling
      
      pimpleFoam: Set initial deltaT from the Courant number
      
      for improved stability on start-up and compatibility with pimpleDyMFoam
      
      ENH: pimpleFoam: Merged dynamic mesh functionality of pimpleDyMFoam into pimpleFoam
      
      and replaced pimpleDyMFoam with a script which reports this change.
      
      The pimpleDyMFoam tutorials have been moved into the pimpleFoam directory.
      
      This change is the first of a set of developments to merge dynamic mesh
      functionality into the standard solvers to improve consistency, usability,
      flexibility and maintainability of these solvers.
      
      Henry G. Weller
      CFD Direct Ltd.
      
      tutorials/incompressible/pimpleFoam: Updated pimpleDyMFoam tutorials to run pimpleFoam
      
      Renamed tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleDyMFoam
      
      -> tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion2D_pimpleFoam
      81cea099
  6. Dec 02, 2015
    • Henry Weller's avatar
      fvOptions: Reorganized and updated to simplify use in sub-models and maintenance · 736621b9
      Henry Weller authored
      fvOptions are transferred to the database on construction using
      fv::options::New which returns a reference.  The same function can be
      use for construction and lookup so that fvOptions are now entirely
      demand-driven.
      
      The abstract base-classes for fvOptions now reside in the finiteVolume
      library simplifying compilation and linkage.  The concrete
      implementations of fvOptions are still in the single monolithic
      fvOptions library but in the future this will be separated into smaller
      libraries based on application area which may be linked at run-time in
      the same manner as functionObjects.
      736621b9
  7. Jun 30, 2015
  8. Jan 21, 2015
    • 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. Jan 08, 2013
  10. Jan 10, 2012
  11. Nov 02, 2011
  12. Jul 15, 2010
  13. Nov 20, 2008
  14. Aug 13, 2008
  15. Jun 20, 2008
  16. Jun 18, 2008
  17. Jun 17, 2008
  18. Jun 16, 2008
  19. Jun 11, 2008
  20. Apr 15, 2008