Skip to content
Snippets Groups Projects
  1. Jan 10, 2025
    • Johan Roenby's avatar
      BUG: Fixes bug in plicRDF interface reconstruction across cyclic boundaries (fixes #3279) · 4fe3f55e
      Johan Roenby authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      Description:
      The plicRDF interface reconstruction scheme calculates a reconstructed distance
      function (RDF) in all interface cells and their point neighbours.
      In point neighbours to interface cells, the RDF is calculated as a weighted
      average of the distances to all adjacent interface cell centres with the weight
      being the inverse distance to the cell centre.
      By using the zoneDistribute class written by Henning Scheufler, the required
      stencil data is communicated efficiently for stencil cells living on different
      sides of one or more processor patches.
      Some of the data required for the RDF reconstruction are cell centre and
      interface centre positions. When a stencil extends across a cyclic patch these
      positions have so far not been properly transformed in OpenFOAM. This issue is
      fixed by the current contribution.
      The fix is done by modifying the zoneDistribute class to hold the required
      information about zone cells ad...
      4fe3f55e
  2. Jan 09, 2025
  3. Jan 06, 2025
  4. Dec 24, 2024
  5. Dec 23, 2024
  6. Dec 20, 2024
    • Kutalmış Berçin's avatar
      Merge branch 'feature-reporting' into 'develop' · 8bf11086
      Kutalmış Berçin authored
      Reporting tools
      
      See merge request !716
      8bf11086
    • Andrew Heather's avatar
      TUT: motorBike - added example for foamReport · cddfe0e3
      Andrew Heather authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      cddfe0e3
    • Andrew Heather's avatar
      ENH: Added new foamReport functionObject · dffb5774
      Andrew Heather authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      Replaces user-supplied keywords by run-time computed values in a text file.
      
      Usage
          Example using system/controlDict.functions:
      
          foamReport1
          {
              // Mandatory entries (unmodifiable)
              type            foamReport;
              libs            (foamUtilityFunctionObjects);
      
              template        "<system>/myTemplate.md";
      
              substitutions
              {
                  divSchemes1
                  {
                      type        dictionaryValue;
                      object      fvSchemes;
      
                      entries
                      {
                          divSchemes      "divSchemes";
                      }
                  }
                  fvSolution1
                  {
                      type        dictionaryValue;
                      path        "<system>/fvSolution";
      
                      entries
                      {
                          solver_p        "solvers/p/solver";
                          solver_p_tol    "solvers/p/tolerance";
                          solver_p_reltol "solvers/p/relTol";
                          solver_U        "solvers/U/solver";
                          solver_U_tol    "solvers/U/tolerance";
                          solver_U_reltol "solvers/U/relTol";
                      }
                  }
                  controlDict1
                  {
                      type        dictionaryValue;
                      path        "<system>/controlDict";
      
                      entries
                      {
                          initial_deltaT       "deltaT";
                      }
                  }
                  continuityErrors
                  {
                      type        functionObjectValue;
                      functionObject continuityError1;
      
                      entries
                      {
                          cont_error_local    local;
                          cont_error_global   global;
                          cont_error_cumulative cumulative;
                      }
                  }
              }
      dffb5774
    • Andrew Heather's avatar
      TUT: motorBike - added example for graphFunctionObject · c926f146
      Andrew Heather authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      c926f146
    • Andrew Heather's avatar
      ENH: Added new graphFunctionObject function object · 82e471e0
      Andrew Heather authored and Kutalmış Berçin's avatar Kutalmış Berçin committed
      Accumulates function object result values and renders into a graph in SVG format
      
      Minimal example by using system/controlDict.functions to plot the residuals from
      the solverInfo function Object:
      
          residualGraph
          {
              type            graphFunctionObject;
              libs            (utilityFunctionObjects);
              writeControl    writeTime;
      
              logScaleX       no;
              logScaleY       yes;
      
              xlabel          "Iteration";
              ylabel          "log10(Initial residual)";
      
              functions
              {
                  line1
                  {
                      object      solverInfo1;
                      entry       Ux_initial;
                  }
                  line2
                  {
                      object      solverInfo1;
                      entry       Uy_initial;
                  }
                  line3
                  {
                      object      solverInfo1;
                      entry       Uz_initial;
                  }
                  line4
                  {
                      object      solverInfo1;
                      entry       p_initial;
                  }
              }
          }
      82e471e0
  7. Dec 19, 2024
  8. Dec 18, 2024