Skip to content
Snippets Groups Projects
  1. Apr 07, 2017
  2. Mar 10, 2017
  3. Jan 10, 2017
  4. Jan 06, 2017
  5. Dec 13, 2016
  6. Dec 06, 2016
  7. Dec 07, 2016
    • sergio's avatar
      ENH: Changes in handling topological changes in VOF solvers · 9d168b2b
      sergio authored and Mark OLESEN's avatar Mark OLESEN committed
      1) Using divU instead of fvc::absolute(phi,U) in TEqn as the latter uses latest time meshPhi which is inconsistent
      2) Adding fvc::interpolate(U) when topo changes
      3) in pEq for compressible dgdt is updated using the latest rho1 and rho2 after compressible effects are considered
      9d168b2b
  8. Nov 29, 2016
  9. Nov 21, 2016
  10. Nov 17, 2016
  11. Nov 02, 2016
    • mark's avatar
      ENH: consistent output format for coupled geometry description (issue #278) · 331d24ed
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - In the corner case with few faces or points, the normal List I/O
        results in a compact list representation.
      
        This is less than desirable for external programs with simple
        line-based parsers.
      
      - Write exactly the following
      
      *Faces*
      // Patch: <word-Region> <word-Patch>
      <int-nFaces>
      (
      <int-faceSize>(<int> .. <int>)
      ...
      )
      
      *Points*
      // Patch: <word-Region> <word-Patch>
      <int-nPoints>
      (
      (<float-x> <float-y> <float-z>)
      ...
      )
      
      STYLE: only use serial form of createExternalCoupledPatchGeometry in tutorial
      
      - less confusing for the user, who wonders why it is being done twice.
      331d24ed
  12. Oct 25, 2016
    • mark's avatar
      ENH: provide separate geometry description per region/patch (issue #278) · a79eaa2d
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - Also fixed bug noted in issue #269
      
      - Previous implementation had all faces together, which made
        it difficult (impossible) for external applications to
        figure out which geometry was being referred to.
      
      - Provide separate region/patches as follows:
      
          // Patch: <regionName> <patchName>
      
        For example,
      
          // Group: coupleGroup
          // Patch: heater minY
          8( ... )
      
        The region-name is always present, even if there is only one region.
      
      - This change is a partial reversion to the behaviour in 2.4.x, except
        that we can now also handle multi-region geometries.
      
        Changing the leading comment from "# " to "// " facilitates parsing
        of the files with OpenFOAM itself if necessary.
      a79eaa2d
    • mark's avatar
      ENH: enable 'status=done' when finishing an externalCoupled FO · 19b5952c
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - This provides a mechanism for the external code to detect when
        OpenFOAM is done.
      
      - Adjust tutorial to use the mechanism. Also test in parallel.
      19b5952c
    • mark's avatar
      BUG: resolve some decomposeParDict problems (issues #60, #265). · 83db6f79
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - Cleanup/centralize handling of -decomposeParDict by relocating
        common code into argList. Ensures that all processes receive
        identical information about the -decomposeParDict opton.
      
      - Only use alternative decomposeParDict for simpleFoam/motorBike
        tutorial so that this will be included in the test loop for snappy.
      
      - Added Mattijs' fix for surfaceRedistributePar.
      83db6f79
  13. Oct 26, 2016
  14. Oct 24, 2016
  15. Oct 26, 2016
  16. Oct 19, 2016
  17. Oct 18, 2016
    • mark's avatar
      BUG: foamCleanPath problem if path contains @ (closes #264) · dad301d8
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - Can occur with some user names, or mounted paths.
        Resolve by using '?' for the separation character.
      
        Since '?' is a shell-glob, it is highly unlikely to occur appear in
        filenames.  Additionally, it is not a meta-character in standard sed,
        nor in the GNU extension (which uses '\?').
      dad301d8
  18. Oct 17, 2016
  19. Oct 19, 2016
  20. Sep 30, 2016
  21. Sep 28, 2016
  22. Oct 03, 2016
    • mark's avatar
      ENH: provide direct access to raw pointer/reference from autoPtr (issue #252) · 025eebca
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      All of the access methods for autoPtr include validity checks and will
      fail if the underlying point is NULL. In some cases, however, we'd
      like to retain the automatic deletion mechanism, but still address a
      nullptr. This is mostly for cases in which a file-stream should be
      allocated, but only on the master process. For these cases we'd still
      like to pass through and reference the underlying pointer (eg, to
      obtain the correct method call) without tripping the pointer check
      mechanism. If we attempt to use the ptr() method, the autoPtr memory
      management is bypassed and we risk memory leaks.
      
      Instead provide an alternative mechanism to obtain the raw underlying
      pointers/references. Use rawPtr() and rawRef() for these potentially
      useful, but also potentially dangerous, operations.
      025eebca
    • mattijs's avatar
      ENH: surfaceCheck: added -outputThreshold option to manage file writing · a5ff4887
      mattijs authored and Mark OLESEN's avatar Mark OLESEN committed
      a5ff4887
  23. Sep 29, 2016
  24. Sep 28, 2016
    • mark's avatar
      ENH: provide refOrNull method for autoPtr. · 4093fcd6
      mark authored and Mark OLESEN's avatar Mark OLESEN committed
      - Normally use '()' to deference. This has extra safety and issues a
        fatal error if the underlying pointer is not valid.
      
        However, in some cases we are happy with getting a null reference.
        The refOrNull() method returns the reference without any checking.
      
        Usage example:
      
            autoPtr<OFstream> osPtr;
            if (Pstream::master())
            {
                osPtr.reset(new OFstream(...));
            }
            writeViaMaster(osPtr.refOrNull());
      
            - The writeViaMaster() call takes an OFstream reference,
              but this is only used directly on the master.
              The slaves will pass things through to the master.
      4093fcd6
  25. Sep 27, 2016
  26. Sep 28, 2016
  27. Sep 26, 2016
  28. Sep 23, 2016