1. 09 Sep, 2016 1 commit
    • Chris Cantwell's avatar
      Merge branch 'feature/IncNSOpt' into 'master' · 1e362fda
      Chris Cantwell authored
      Improve performance of incompressible solver
      
      This MR contains improvements to the performance of the incompressible solver (some of the changes might also help in other cases).
      
      I worked on these changes based on a profiling of the `Cyl.xml` example (2D, N=5, using both tris and quads). For this particular case (in serial), I got a reduction of computational cost close to 30%, although I suspect simulations with higher order or in 3D will get more modest improvements.
      
      The main changes are:
      
      - Use a virtual function to make UnsteadySystem skip the FwdTrans it performs after each time step, since this is completely redundant for the incompressible solver
      - Introduce a parameter to choose the frequency at which the solver checks for NaNs
      - Tweak the default value of the mdswitch parameter for the multilevelstaticcond, and also allow to specify it in the session file
      - Include PhysDeriv in a single direction in the Collections, since we need it to compute div(u) for the pressure forcing
      - Use symmetric matrices for the interior part of the static cond (whenever possible)
      - Several small changes to reduce overhead costs, especially in matrix vector multiplications.
      
      
      See merge request !645
      1e362fda
  2. 08 Sep, 2016 2 commits
  3. 30 Aug, 2016 4 commits
  4. 25 Aug, 2016 1 commit
  5. 24 Aug, 2016 7 commits
  6. 22 Aug, 2016 1 commit
  7. 21 Aug, 2016 1 commit
  8. 20 Aug, 2016 1 commit
  9. 19 Aug, 2016 3 commits
    • Chris Cantwell's avatar
      Merge branch 'feature/ExpFromFile' into 'master' · 0ede3856
      Chris Cantwell authored
      Expansion from restart file and improved partitioning
      
      This MR makes two changes which might be useful for simulations with variable polynomial order:
      - Allow the expansions to be loaded directly from the field definitions in a restart file (issue #14), using:
      
      ```xml
      <EXPANSIONS>
           <F FILE="restartfile.fld" />
      </EXPANSIONS>
      ```
      This is useful when using DriverAdaptive, since in that case the final distribution of polynomial orders is only available in the field file.
      
      - Introduce new options for load balancing in the mesh partitioning, through the solver info `WEIGHTPARTITIONS`. Possible values are `DOF` (load balanced by number of degrees of freedom in each element), `BOUNDARY` (load balanced by number of boundary degrees of freedom in each element) or `BOTH`. By default, the current behaviour of using no weights is maintained. 
      
      
      See merge request !617
      0ede3856
    • Dave Moxey's avatar
      Merge branch 'fix/cad-url' into 'master' · 2bc713cd
      Dave Moxey authored
      Fix OCE third-party URL
      
      This MR fixes the OCE third-party URL in the CMake configuration.
      
      See merge request !681
      2bc713cd
    • Dave Moxey's avatar
      Fix OCE third-party URL · 970fe846
      Dave Moxey authored
      970fe846
  10. 18 Aug, 2016 4 commits
  11. 17 Aug, 2016 2 commits
  12. 16 Aug, 2016 5 commits
  13. 15 Aug, 2016 5 commits
  14. 14 Aug, 2016 3 commits
    • Chris Cantwell's avatar
      Merge branch 'fix/Error-npz' into 'master' · bff54bcf
      Chris Cantwell authored
      Add checks to make sure npz is consistent with HomModesZ
      
      This MR just introduces a couple of ASSERTL0 to make sure the partitioning in z for homogeneous simulations leads to an even number of planes per process.
      
      See merge request !666
      bff54bcf
    • Chris Cantwell's avatar
      Updated CHANGELOG for HDF5 branch. · a7be0580
      Chris Cantwell authored
      a7be0580
    • Chris Cantwell's avatar
      Merge branch 'feature/hdf5' into 'master' · a79b79f0
      Chris Cantwell authored
      HDF5 support for parallel output
      
      This MR adds support for HDF5 output format as an alternative to our existing XML-based format thanks to the hard work of @mrbareford and @rupert.nash! The following changes have been incorporated as part of this work:
      
      - Move `FieldIO` to a factory format, with `FieldIOXml` for XML output and `FieldIOHdf5` for HDF5 output.
      - Default output format is XML but can be switched to HDF5 by setting the `IOFormat` SOLVERINFO tag, or the `--io-format` command line argument -- the argument will override the XML file.
      - The MPI communicator has been templated to allow a wider range of data types to be sent/received, and a couple of new functions have been added (broadcast, splitting of communicator on bool, ...)
      - Boundary conditions are now equipped with their own communicator so that we can read HDF5 on a subset of processors.
      - Lots of Doxygen added for both formats
      - FieldConvert can also convert between formats:
      
      ```
      FieldConvert in.fld out.fld:fld:format=Hdf5
      ```
      
      See merge request !615
      a79b79f0