CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Surface sensitivities and adjointShapeOptimizationFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 17, 2016, 12:07
Question Surface sensitivities and adjointShapeOptimizationFoam
New Member
Join Date: Mar 2016
Posts: 1
Rep Power: 0
Eldrael is on a distinguished road
Hi everyone.

I am realtively new in openFoam and I cannot figure it out how to calculate the surface sensitivities to improve the shape of my case. I previously looked for the answer in this forum, and I found
The ones at the adjointShapeOptimizationFoam are volumetric sensitivities (design variables = porosity). You can calculate the surface sensitivities very easily.
Just google surface sensitivities and you will definitely find it.

in the old thread

Anyway, I have not been able to find the solution in google nor in the web. Can anyone tell me please how can I calculate them?

In addition to this, I am trying to use adjointShapeOptimizationFoam to improve the pressure loss in a laminar flow. As it is a SIMPLE-based algorithm, writing

simulationType laminar;
RasModel laminar;
turbulence off;
printCoeffs off;

within constant/turbulenceProperties should make it, but it does not. Where is my mistake?

Thank you very much for your time.
Eldrael is offline   Reply With Quote

Old   June 21, 2016, 18:53
crixman's Avatar
Join Date: Apr 2014
Posts: 74
Rep Power: 5
crixman is on a distinguished road
which version of OF are you using? the file seems correct, could you send the error message you get?

Any advances on the adjoint surface sensitivities solver?
crixman is offline   Reply With Quote

Old   June 22, 2016, 09:40
Senior Member
Join Date: Sep 2013
Posts: 119
Rep Power: 7
Bloerb is on a distinguished road
You need to program surface sensitivities into the solver. Which indeed is easily done and equals maybe two or three lines of code change. If you want to update your geometry on the other hand with these sensitivities you need some kind of mesh motion. You could use external software to do that and pass the sensitivities to it or use the mesh motion libraries inside openFoam. This needs a bit more knowledge and testing. Setting the simulation type to laminar works in my version. You can however also use
simulationType RASModel;
RasModel laminar;
turbulence off;
printCoeffs off;

which is identical.
Bloerb is offline   Reply With Quote


adjoint, sensitivities, surface

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smoothing algorithm for sensitivities fumiya Main CFD Forum 1 July 21, 2016 05:36
Surface sensitivity projection onto custom made design variables JanH SU2 1 May 12, 2015 16:47
Diverging sensitivities in SU2. amitkamboj SU2 7 February 18, 2015 23:46
Adjoint sensitivities at Mach 1.0 and above amphy404 SU2 Shape Design 2 September 12, 2013 21:27
Evaluation of sensitivities Bortolazzi SU2 1 August 26, 2013 16:20

All times are GMT -4. The time now is 13:55.