CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   adjointShapeOptimizationFoam pointers (https://www.cfd-online.com/Forums/openfoam/91259-adjointshapeoptimizationfoam-pointers.html)

NickG August 4, 2011 16:15

adjointShapeOptimizationFoam pointers
 
Hi

Could someone give me some pointers for the values of alphaMax and lambda in the transportProperties for the adjointShapeOptimizationFoam solver in OF2.0.

Are they related to the inlet velocity? Unfortunately I don't have access to the aiaa paper referred to in another thread so can't read that. I can see the equation in the .c source file but don't understand it fully.

I've tried varying the values for the pitzDaily example and get similar results within a certain range but am not sure which are more valid/accurate. Should I try to find the midpoint of the range or does the better result lie closer to the unbalanced result...

Answers on a post... please

Nick

NickG August 5, 2011 17:19

Okay so alpha essentially relates to a porosity coefficient.Is lambda the second coefficient of viscosity, the eigenvalue of one of the matrices or something else?

boger October 20, 2011 14:23

Hi Nick,

As I also mentioned here, lambda refers to the step size taken in the steepest descent optimization, which helps (along with the under-relaxation factor that is applied) to control how rapidly alpha changes.

As far as the values, I suspect lambda is based on trial-and-error, and probably alphaMax is too. The porosity (alpha) just needs to grow to be "large enough" to slow the velocity in those cells to near-zero by way of the drag term in the momentum equation, and at some point, it probably becomes a question of diminishing returns in terms of convergence to let alpha grow indefinitely.

Hope that helps,
David

NickG October 21, 2011 06:34

Thanks David. I've been playing around with it and getting seemingly sensible results but it's nice to know why!

Nick

giuli@ November 16, 2011 06:21

Hi all..
my question is: does the geometry actually changes or the plots of alpha just give an indication of where to optimize the shape?
Both in the tutorial and in another case made by me no shape is optimized o.O

could you please give some directions..?

cheers

boger November 16, 2011 07:32

The interface between alpha=1 and alpha=0 indicates the location where the optimal boundary should be, but the geometry/mesh is not changed directly. Go back to the reference listed in the source code for adjointShapeOptimizationFoam.C.


All times are GMT -4. The time now is 17:35.