CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Surface sensitivities and adjointShapeOptimizationFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2016, 12:07
Question Surface sensitivities and adjointShapeOptimizationFoam
  #1
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
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 http://www.cfd-online.com/Forums/ope...imization.html

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;
RAS
{
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, 19:53
Default
  #2
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi,
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, 10:40
Default
  #3
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
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;
RAS
{
RasModel laminar;
turbulence off;
printCoeffs off;
}

which is identical.
Bloerb is offline   Reply With Quote

Old   April 20, 2018, 03:48
Default
  #4
Member
 
Join Date: Nov 2014
Posts: 92
Rep Power: 12
hokhay is on a distinguished road
Quote:
Originally Posted by Bloerb View Post
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;
RAS
{
RasModel laminar;
turbulence off;
printCoeffs off;
}

which is identical.
Hi foamer, I am would like to calculate the surface sensitivity on a airfoil for lift to drag optimization. There are a few foamer mentioned that it is very easy but I cannot find any solution to do it. Have anyone successfully modified the solver to do this?

Could you be specific of how to implement function please?

Thanks a lot
hokhay is offline   Reply With Quote

Reply

Tags
adjoint, sensitivities, surface


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 Off
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 06:36
Surface sensitivity projection onto custom made design variables JanH SU2 1 May 12, 2015 17: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 22:27
Evaluation of sensitivities Bortolazzi SU2 1 August 26, 2013 17:20


All times are GMT -4. The time now is 23:50.