1. 11 Jun, 2017 1 commit
    • Henry Weller's avatar
      listSwitches: moved from argList to debug · 5403e977
      Henry Weller authored and Andrew Heather's avatar Andrew Heather committed
      Initially the listSwitches functions depended directly on argList functionality
      but this has now been factored out so that the listSwitches functions are more
      general and require only debug functionality.
      5403e977
  2. 10 Jun, 2017 1 commit
    • Henry Weller's avatar
      Replace foamList utility with -list.* options · 02e33f49
      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-39c46019e44f
      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.
      02e33f49
  3. 26 Jun, 2017 1 commit
  4. 06 Jun, 2017 1 commit
  5. 04 Jun, 2017 1 commit
  6. 02 Jun, 2017 1 commit
  7. 31 May, 2017 1 commit
  8. 22 May, 2017 1 commit
  9. 18 May, 2017 1 commit
  10. 12 May, 2017 1 commit
  11. 08 May, 2017 3 commits
  12. 05 May, 2017 1 commit
  13. 04 May, 2017 1 commit
  14. 13 Jun, 2017 1 commit
  15. 18 May, 2017 1 commit
  16. 09 May, 2017 1 commit
  17. 03 May, 2017 1 commit
  18. 30 Apr, 2017 1 commit
  19. 16 Aug, 2017 1 commit
  20. 17 Jul, 2017 1 commit
  21. 16 Jul, 2017 2 commits
  22. 13 Jun, 2017 1 commit
  23. 18 May, 2017 1 commit
  24. 17 Jul, 2017 1 commit
  25. 13 Jul, 2017 1 commit
  26. 05 Sep, 2017 1 commit
  27. 17 Jul, 2017 1 commit
  28. 05 Sep, 2017 1 commit
  29. 06 Jun, 2017 1 commit
  30. 28 Apr, 2017 1 commit
    • Will Bainbridge's avatar
      tutorials/lagrangian: Added mixedVesselAMI2D · 643ef331
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      This tutorial demonstrates moving mesh and AMI with a Lagrangian cloud.
      It is very slow, as interaction lists (required to compute collisions)
      are not optimised for moving meshes. The simulation time has therefore
      been made very short, so that it finishes in a reasonable time. The
      mixer only completes a small fraction of a rotation in this time. This
      is still sufficient to test tracking and collisions in the presence of
      AMI and mesh motion.
      
      In order to generate a convincing animation, however, the end time must
      be increased and the simulation run for a number of days.
      643ef331
  31. 22 Aug, 2017 1 commit
  32. 16 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      KinematicParcel: Apply in-cell updates before hitting the face · 3f510323
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The evolution of a KinematicParcel happens in three stages; (1) tracking
      across the cell, (2) interaction with the face or patch that has been
      hit, and (3) clculation and and update of parcel and cell properties.
      The KinematicParcel used to evolve in this order, as steps 1 and 2 were
      part of the same lower level method. This meant that the update stage
      was done after interacting with the face, meaning the parcel was not in
      the cell that had just been tracked through, or, by means of a patch
      interaction, had been modified such that it was no longer representative
      of the track through the cell.
      
      With the separation of stages 1 and 2 in the base class, it is now
      possible to do the update stage before interacting with the face (i.e.,
      proceeding in the order 1, 3, 2). This makes the state consistent for
      the updates, and avoids the issues described.
      
      Patch contributed by Timo Niemi, VTT.
      This resolves bug report https://bugs.openfoam.org/view.php?id=2282
      3f510323
  33. 11 Aug, 2017 2 commits
  34. 09 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      Lagrangian: Enabled tracking through ACMI patches and minor code improvements · 9b57ef06
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      Particle collisions with ACMI patches are now handled. The hit detects
      whether the location is within the overlap or the coupled region and
      recurses, calling the hit routine appropriate for the region.
      
      The low level tracking methods are now more consistently named. There is
      now a distinction between tracking to a face and hitting it. Function
      object side effects have been moved out of the base layer and into the
      parcels on which they are meaningful.
      9b57ef06
  35. 07 Aug, 2017 1 commit
  36. 02 Aug, 2017 1 commit
    • Will Bainbridge's avatar
      lagrangian: Always set switchProcessor flag · 0a97c3fc
      Will Bainbridge authored and Andrew Heather's avatar Andrew Heather committed
      The TrackData::switchProcessor flag was not being set for some of the
      tracking steps made by the more complicated parcels. In the case that a
      parcel starts the step already on a processor boundary, this sometimes
      lead to the particle being transferred back and forth indefinitely. The
      flag is now explicitly set in all cases.
      0a97c3fc