https://github.com/mdolab/dafoam
Revision 0ef51fbc1e60349dfdf806544d5e30339fa4f4c2 authored by Ping He on 05 September 2020, 13:05:39 UTC, committed by GitHub on 05 September 2020, 13:05:39 UTC
* Added wallHeatFlux obj.

* Updated version.

* Added DASimpleTFoam solver.

* Added totalPressure as objective.

* Added tests for new solver and objectives.

* Updated travis.

* Added MRF for DASimpleFoam.

* Removed MRF from DASimpleFoam.

* Added DATurbFoam and its tests.

* Updated travis.

* Added DASolidDisplacementFoam. Re-organized lib structure with a new condition Solid that does not depends on turbulence models.

* Added tests for DASolidDisplacementFoam.

* Fixed the pressureInletVelocity BC and updated tests.

* Fixed an issue for dFdW for vonMisesStressKS.

* Fixed an issue for DATurbFoam to improve sens accuracy.

* Updated tests for DATurbFoam.
1 parent f64a2ba
Raw File
Tip revision: 0ef51fbc1e60349dfdf806544d5e30339fa4f4c2 authored by Ping He on 05 September 2020, 13:05:39 UTC
V2.0.4 (#58)
Tip revision: 0ef51fb
Allmake
#!/usr/bin/env bash

# the script will exit if there is any error
set -e

if [ -z "$WM_PROJECT" ]; then
  echo "OpenFOAM environment not found, forgot to source the OpenFOAM bashrc?"
  exit 1
fi

if [ -z "$1" ]; then
  echo "Argument not found. Using the default value: opt"
  argm="opt"
else
  argm="$1"
fi

cd src/adjoint && ./Allmake $argm && cd -
cd src/pyDASolvers && ./Allmake $argm && cd -
cd src/utilities && ./Allmake $argm && cd -
if [ "$argm" != "solid" ]; then
  cd src/models && ./Allmake && cd -
fi
back to top