adjointShapeOptimizationFoam
Hello guys,
I have a questions depending on adjointShapeOptimizationFoam. Did anyone of you already used it?. I runned the tutorial but I can not identify that he is improving the geometry. I didn’t changed anything in the tutorial! Can someone help me? Thanks 
?????????????

Hi,
You can plot contour of alpha. I suppose this means plugged space for drag reduction. And following presentation gives adjoint method for optimization. http://www.openfoamworkshop.org/6th_...ers_slides.pdf 
Thank you very much.
Do you may no, where I can find some more information about that? 
Hi
Can you explain what the alpha stands for? And in the slide show linked to above, is L the same as lambda in the solver? Thanks 
Hi Nick,
You've probably answered your own questions long ago (or given up entirely), but no, the L in the slides refers to the cost function that is to be optimized. The purpose of the equations is to calculate the gradient of the cost function with respect to the porosity (alpha) in each cell. Once the gradient is in hand, the alpha field is updated by moving in the direction of the gradient (steepest descent). The lambda in the code controls the step size taken along the gradient; i.e., the step size for the steepest descent method. Hope that helps, David 
Hi guys,
i am also new with openfoam. Unfortunatelly the above links are not working :(. Is there any other document where too have a look on the equations? Checking the .c file and trying to understand the equations is very difficult. thanks 
Hello to everybody,
has someone already tried to solve shape optimization for an alternative cost function like flow uniformity? As far as I understand, the current implementation tries to reduce total pressure loss. Has someone a starting point for me to change this or add something? Thanks in advance, georg 
Hi Georg,
Some references which present additional cost functions: Othmer, C., Th. Kaminski, and R. Giering, Computation of topological sensitivities in fluid dynamics: Cost function versatility, Proc. ECCOMAS CFD, Delft, 2006 http://www.wire.tubs.de/mitarbeiter...ad_eccomas.pdf and Othmer, C. (2008), A continuous adjoint formulation for the computation of topological and surface sensitivities of ducted flows. International Journal for Numerical Methods in Fluids, 58: 861–877. doi: 10.1002/fld.1770 http://onlinelibrary.wiley.com/doi/1....1770/abstract regards, Sylvester 
Hi Sylvester,
thank you for the references. I did not know the first one yet. Some more stuff to read! Honestly, I have some difficulties to identify the definition of the cost function within the solver. Can you help? Best regards, georg 
Hi Georg,
That is because the cost function is not defined in the solver, but in the boundary conditions. In this case they are 'adjointOutletPressure' and 'adjointOutletVelocity'. regards, Sylvester 
Sylvester, you´re right!
I found the explanation within the papers. Thanks for your pointer! Unfortunately, this does not solve my problem completely. Maybe I just do not see the wood for the trees. I am still puzzling around the translation of the cost function, e.g. pressure loss, into the correct boundary conditions! Any hint is helpful! Best regards, Georg 
All times are GMT 4. The time now is 16:30. 