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

Absence of a term in adjointShapeOptimizationFoam outlet boundary conditions

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 3 Post By robyTKD
  • 1 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2013, 09:02
Default Absence of a term in adjointShapeOptimizationFoam outlet boundary conditions
  #1
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
Hi Foamers,

I have a question about boundary conditions of adjointShapeOptimizationFoam. In particular, following Othmer's procedure in A continuous adjoint formulation for the computation of topological and surface sensitivities of ducted flows, boundary conditions for the Outlet are:

q = \textbf{u} \cdot \textbf{v} + u_n v_n + \nu (\textbf{n} \cdot \nabla) u_n + \frac{\partial J_{\Gamma}}{v_n}

0 = v_n \textbf{u}_t + \nu (\textbf{n} \cdot \nabla) \textbf{u}_t + \frac{\partial J_{\Gamma}}{\textbf{v}_t}

but I can't find \nu (\textbf{n} \cdot \nabla) \textbf{u}_t and \nu (\textbf{n} \cdot \nabla) u_n in adjointOutletPressureFvPatchScalarField.C and adjointOutletVelocityFvPatchScalarField.C.

Are they neglected because they are irrelevant or is simply the normal gradient of adjoint velocity forced to be null?

Best regards,
Roberto
samiam1000, Dome and Garry974 like this.
robyTKD is offline   Reply With Quote

Old   April 10, 2013, 07:05
Default
  #2
New Member
 
Domenico Sgrò
Join Date: Dec 2012
Location: Milan, IT
Posts: 2
Rep Power: 0
Dome is on a distinguished road
Hi Roberto!
I have exactly the same doubt, since in the code:

Code:
operator==((phiap/patch().magSf() - 1.0)*phip/patch().magSf() + (Up & Uap));
and

Code:
vectorField::operator=(phiap*patch().Sf()/sqr(patch().magSf()) + UtHat);
there isn't any "normal gradient" term.

Let's hope for some help

Domenico
Dome is offline   Reply With Quote

Old   January 3, 2016, 01:13
Default
  #3
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19
fumiya is on a distinguished road
Hi,

You can find how to implement these terms in the following document:

Description of adjointShapeOptimizationFoam and how to implement new objective functions
http://www.tfd.chalmers.se/~hani/kur...ortAdjoint.pdf

Best regards,
Fumiya
sylvester likes this.
__________________
[Personal]
fumiya is offline   Reply With Quote

Reply

Tags
adjointshapeoptimization, boundaries condition


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
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
Radiation interface hinca CFX 15 January 26, 2014 18:11
ribbed channel / simpleFoam / boundary conditions beeo OpenFOAM Pre-Processing 20 July 17, 2013 09:39
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 02:54
Help with boundary conditions Dan CFX 0 April 3, 2006 12:32


All times are GMT -4. The time now is 14:31.