Skip to content

Releases: mdolab/dafoam

v2.0.4

05 Sep 13:11
0ef51fb
Compare
Choose a tag to compare

This release migrates more solvers and functionalities from v1.

  • Added DATurbFoam for turbomachinery optimization

  • Added DASolidDisplacement for structural optimization

  • Added DASimpleTFoam for incompressible flow with heat transfer

  • Added new objective functions: wallHeatFlux, totalPressure, and vonMisesStressKS

v2.0.3

15 Aug 23:01
Compare
Choose a tag to compare

This release improves user interfaces and facilitates development.

  • The patch keys in primalBC, alpha, and BC are changed to patches to enable defining multiple patches. (da6a7b2)

  • Implemented lower bounds for dRdWT and dRdWTPC to reduce memory. (15c4c57)

  • Added the capability to automatically write decompseParDict file. (7eb9a4a)

  • Added python scripts to facilitate the reading and comparing Petsc vectors and matrices. (8010363)

  • Fixed an issue in Travis such that the test for pyDAFoam.py runs in serial and parallel. (f64a2ba)

v2.0.2

06 Aug 14:05
Compare
Choose a tag to compare

This release fixes an issue for link-time optimization flags.

v2.0.1

30 Jul 13:27
d9f6c4e
Compare
Choose a tag to compare

This is a minor release that fixes the useWallFunction key issue in primalBC. It also fixes the tests for more coverage.

v2.0.0

26 Jul 02:20
Compare
Choose a tag to compare

DAFoam v2.0 is a major update that introduces multiple features for a more efficient interface, better performance, and more modulated code structures.

  • Rewrite the classes and member functions. Now each partial derivative is implemented in a child class of DAPartDeriv. Similarly, each objective function is implemented in DAObjFunc. The C++ classes now receive parameters directly from the Python layer through DAOption class. The primal and adjoint calls use Petsc vectors as input and output.

  • All the primal and adjoint solvers are now compiled as libraries, and Cython is used to wrap all libraries such that everything happens in memory; there is no file IO interaction between the C++ and Python layers.

  • Optimize the screen output for primal and adjoint solutions. Now all the optimization process will be printed to screen, instead of separate files. Users can set printInterval to specify how frequently the primal and adjoint solution progress is printed.

  • Improve the performance of the file output of intermediate shapes. Facilitate the visualization of optimization results by renaming the intermediate shape and flow fields into different time folders.

  • Use setup.py to enable pip install ..

  • The pyDAFoam.py will no longer write configuration files for OpenFOAM. Users need to provide a working OpenFOAM configuration to start the optimization.

  • Multipoint optimization no longer needs multiple folders.

v1.1.3

25 Jul 21:11
Compare
Choose a tag to compare

This release fixes an issue for Make/options files.

v1.1.2

26 Jun 14:47
03f0c85
Compare
Choose a tag to compare

v1.1.2 Changes

  • Fixed a bug in pyDAFoam.py for checkMeshQuality

v1.1.1

10 May 19:49
62963e7
Compare
Choose a tag to compare

v1.1.1 Changes

  • Changed the Makefile, now we run make to compile DAFoam
  • Fixed a bug in pyDAFoam.py

v1.1.0

28 Apr 12:23
8500784
Compare
Choose a tag to compare

V1.1.0 Changes

  • Added support for Python 3
  • Upgraded dependency version to Petsc 3.11, mpi4py-3.0.2, and CGNG-3.3.0
  • Updated regression tests with Python 3
  • Improved adjoint convergence for transonic solvers

v1.0.0

20 Jul 13:48
85c3705
Compare
Choose a tag to compare

Initial release of DAFoam