Skip to content
Snippets Groups Projects
  1. Sep 22, 2017
    • Will Bainbridge's avatar
      reactingEulerFoam: Bug fix to reactionsource terms · 02c68fc2
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Fixed reaction source terms in the energy and species fraction equations
      by multiplying by the phase fraction.
      
      Resolves bug report https://bugs.openfoam.org/view.php?id=2591
      02c68fc2
    • Henry Weller's avatar
      reactingEulerFoam::IsothermalPhaseModel: Added support for isothermal compressible flow · ca06a453
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Based on patch contributed by Ronald Oertel, HZDR
      Resolves bug-report https://bugs.openfoam.org/view.php?id=2583
      ca06a453
    • Henry Weller's avatar
      Replace foamList utility with -list.* options · 1ed938ab
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Provides better context for the available boundary conditions, fvOptions,
      functionObjects etc. and thus returns only those available to and compatible
      with the particular application.
      
      e.g.
      
      pimpleFoam -help
      
      Usage: pimpleFoam [OPTIONS]
      options:
        -case <dir>       specify alternate case directory, default is the cwd
        -listFunctionObjects
                          List functionObjects
        -listFvOptions    List fvOptions
        -listRegisteredSwitches
                          List switches registered for run-time modification
        -listScalarBCs    List scalar field boundary conditions (fvPatchField<scalar>)
        -listSwitches     List switches declared in libraries but not set in
                          etc/controlDict
        -listTurbulenceModels
                          List turbulenceModels
        -listUnsetSwitches
                          List switches declared in libraries but not set in
                          etc/controlDict
        -listVectorBCs    List vector field boundary conditions (fvPatchField<vector>)
        -noFunctionObjects
                          do not execute functionObjects
        -parallel         run in parallel
        -postProcess      Execute functionObjects only
        -roots <(dir1 .. dirN)>
                          slave root directories for distributed running
        -srcDoc           display source code in browser
        -doc              display application documentation in browser
        -help             print the usage
      
      pimpleFoam listTurbulenceModels
      
      pimpleFoam -listTurbulenceModels
      /*---------------------------------------------------------------------------*\
      | =========                 |                                                 |
      | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
      |  \\    /   O peration     | Version:  dev                                   |
      |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
      |    \\/     M anipulation  |                                                 |
      \*---------------------------------------------------------------------------*/
      Build  : dev-39c46019
      Exec   : pimpleFoam -listTurbulenceModels
      Date   : Jun 10 2017
      Time   : 21:37:49
      Host   : "dm"
      PID    : 675
      Case   : /home/dm2/henry/OpenFOAM/OpenFOAM-dev
      nProcs : 1
      sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
      SetNaN : Initialising allocated memory to NaN (FOAM_SETNAN).
      fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
      allowSystemOperations : Allowing user-supplied system call operations
      
      // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
      Turbulence models
      3
      (
      LES
      RAS
      laminar
      )
      
      RAS models
      18
      (
      LRR
      LamBremhorstKE
      LaunderSharmaKE
      LienCubicKE
      LienLeschziner
      RNGkEpsilon
      SSG
      ShihQuadraticKE
      SpalartAllmaras
      kEpsilon
      kOmega
      kOmegaSST
      kOmegaSSTLM
      kOmegaSSTSAS
      kkLOmega
      qZeta
      realizableKE
      v2f
      )
      
      LES models
      10
      (
      DeardorffDiffStress
      Smagorinsky
      SpalartAllmarasDDES
      SpalartAllmarasDES
      SpalartAllmarasIDDES
      WALE
      dynamicKEqn
      dynamicLagrangian
      kEqn
      kOmegaSSTDES
      )
      
      Further work will be needed to support the -listTurbulenceModels option in
      multiphase solvers.
      1ed938ab
    • Henry Weller's avatar
      saturationModels::function1: New Function1 Tsat model · 509450e4
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      based on code contributed by Juho Peltola, VTT.
      
      Resolves contribution request https://bugs.openfoam.org/view.php?id=2573
      509450e4
    • Chris Greenshields's avatar
      surfaceFind: output region/zone number of found face · 28d4576a
      Chris Greenshields authored and Andrew Heather's avatar Andrew Heather committed
      28d4576a
    • Will Bainbridge's avatar
      Euler-Euler: turbulentDispersionModels: Burns: Minor re-formulation to · 5a02aa3e
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      improve stability.
      
      Resolves bug report <https://bugs.openfoam.org/view.php?id=2544>
      5a02aa3e
    • Henry Weller's avatar
      BUG: reactingEulerFoam: Corrected definition of Reynolds number in Beetstra and Tenneti drag laws · 4911c165
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Patch contributed by Alberto Passalacqua, Iowa State University
      4911c165
    • Henry Weller's avatar
      VoF solvers: New interfaceCompressionFvPatchScalarField BC and additional shear compression · 8ad88603
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Provides the additional compression necessary to ensure interface integrity
      adjacent to a boundary at a low angle of incidence to the interface.  This is
      particularly important when simulating planing hulls.
      8ad88603
    • Andrew Heather's avatar
    • Will Bainbridge's avatar
      tetrahedron: triangle: Improved barycentric handling on tets and tris · 34d43585
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Updated the tetrahedron and triangle classes to use the barycentric
      primitives. Removed duplicate code for generating random positions in
      tets and tris, and fixed bug in tri random position.
      34d43585
    • Will Bainbridge's avatar
      primitiveShapes: Generalised tetrahedron and triangle cutting. Cuts are · 0e2bc0be
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      now possible with level-sets as well as planes. Removed tetPoints class
      as this wasn't really used anywhere except for the old tet-cutting
      routines. Restored tetPointRef.H to be consistent with other primitive
      shapes. Re-wrote tet-overlap mapping in terms of the new cutting.
      0e2bc0be
    • Will Bainbridge's avatar
      Lagrangian: Rewrite of the particle tracking algorithm to function in · b7d08241
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      terms of the local barycentric coordinates of the current tetrahedron,
      rather than the global coordinate system.
      
      Barycentric tracking works on any mesh, irrespective of mesh quality.
      Particles do not get "lost", and tracking does not require ad-hoc
      "corrections" or "rescues" to function robustly, because the calculation
      of particle-face intersections is unambiguous and reproducible, even at
      small angles of incidence.
      
      Each particle position is defined by topology (i.e. the decomposed tet
      cell it is in) and geometry (i.e. where it is in the cell). No search
      operations are needed on restart or reconstruct, unlike when particle
      positions are stored in the global coordinate system.
      
      The particle positions file now contains particles' local coordinates
      and topology, rather than the global coordinates and cell. This change
      to the output format is not backwards compatible. Existing cases with
      Lagrangian data will not restart, but they will sti...
      b7d08241
  2. Sep 18, 2017
  3. Sep 15, 2017
  4. Sep 12, 2017
  5. Sep 11, 2017
    • Mark OLESEN's avatar
      ENH: add input surface scaling (issue #514) · da373d4f
      Mark OLESEN authored
      - surfaceFeatureExtract
        * dictionary "scale" entry
      
      - triSurface
      - triSurfaceLoader
        * optional scaleFactor on reading
      
      - surfaceAdd
      - surfaceBooleanFeatures
      - surfaceClean
      - surfaceCoarsen
        * scale option
      
      - surfaceTransformPoints, transformPoints
        * scale option as scalar or vector quantity
      da373d4f
  6. Sep 08, 2017
  7. Sep 07, 2017
  8. Sep 06, 2017
  9. Aug 31, 2017
  10. Aug 28, 2017
  11. Aug 18, 2017
  12. Aug 14, 2017
  13. Aug 10, 2017
  14. Aug 09, 2017
  15. Aug 07, 2017
  16. Aug 03, 2017
    • Mark OLESEN's avatar
      STYLE: manage dictionary inputMode directly within entry class · 2de7aeef
      Mark OLESEN authored
      - The logic for switching input-mode was previously completely
        encapsulated within the #inputMode directive, but without any
        programming equivalent. Furthermore, the encapsulation in inputMode
        made the logic less clear in other places.
      
        Exposing the inputMode as an enum with direct access from entry
        simplifies things a fair bit.
      
      - eliminate one level of else/if nesting in entryIO.C for clearer logic
      
      - for dictionary function entries, simply use
        addNamedToMemberFunctionSelectionTable() and avoid defining a type()
        as a static. For most function entries the information is only used
        to get a name for the selection table lookup anyhow.
      2de7aeef
  17. Aug 02, 2017
  18. Jul 29, 2017
    • Mark OLESEN's avatar
      ENH: additional method for switching error throwing on/off (issue #552) · 837c7486
      Mark OLESEN authored
      - error::throwExceptions(bool) returning the previous state makes it
        easier to set and restore states.
      
      - throwing() method to query the current handling (if required).
      
      - the normal error::throwExceptions() and error::dontThrowExceptions()
        also return the previous state, to make it easier to restore later.
      837c7486
  19. Jul 26, 2017
  20. Jul 22, 2017
  21. Jul 21, 2017