Previous: Duct Tutorial Run Up: Duct Tutorial Next: Manifold Tutorial

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Duct Tutorial Evaluation

  • Take a look at what is the benefit the optimization.
  • Do the following experiment:
    1. Run the duct tutorial with adjointShapeOptimizationFoam solver
    2. Run the duct tutorial with simpleFoam solver
    3. Evaluate and compare the pressure drop of both.


  • Run this tutorial both with adjointShapeOptimizationFoam first and then with simpleFoam. After that evaluate the average pressure in the inlet (there is zero pressure at the outlet anyway):
    # ./Allrun.sh
    # postProcess -func ’patchAverage(name=inlet,p)’ -latestTime
    # cp Allrun.sh Allrun-simpleFoam.sh
    # sed -i "s/adjointShapeOptimizationFoam/simpleFoam/g" Allrun-simpleFoam.sh
    # ./Allrun-simpleFoam.sh
    # postProcess -func ’patchAverage(name=inlet,p)’ -latestTime
  • Conclusion: The static pressure at the inlet is lower in the adjoined (optimized) case than in the non-optimized case. So, the geometry can be optimized this way.