Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
  2. Feb 20, 2024
  3. Feb 06, 2024
  4. Feb 01, 2024
  5. Jan 19, 2024
  6. Jan 15, 2024
  7. Jan 08, 2024
  8. Dec 22, 2023
  9. Dec 21, 2023
    • Vaggelis Papoutsis's avatar
      FIX: roll-back of the execution of function objects in optimisation · d5661b50
      Vaggelis Papoutsis authored and Andrew Heather's avatar Andrew Heather committed
      In steadyOptimisation mode, each time-step corresponds to an
      optimisation cycle and is sub-cycled, to allow for iterating the flow
      and adjoint equations. This sub-cycling does not allow the execution of
      function objects. This was circumvented in 8947735b, by explicitly
      calling the execution of the function objects in the simple solver
      of adjointOptimisationFoam.
      
      However, each sub-cycled iteration is a writeTime, if the current
      optimisation cycle corresponds to a writeTime. This means that function
      objects with a
      
      writeControl write;
      
      will be executed in each iteration of the flow equations, within this
      specific optimisation cycle, leading to a lot of disc space and file
      clutter, if the function object outputs fields (e.g. yPlus).
      
      8947735b is partially rolled back, by protecting the call to the
      execution of the function objects with a bool that defaults to false.
      d5661b50
  10. Dec 20, 2023
  11. Dec 19, 2023
  12. Dec 18, 2023