Hi Daiane, It is possible to take the derivative of the base flow by using the PhysDeriv command. An example of this can be seen in the solvers/IncNavierStokesSolver/AdvectionTerms/LinearisedAdvection.cpp (see m_gradBase). Cheers, Spencer.
On 18 Sep 2019, at 15:52, Daiane Iglesia Dolci <daia.dolci@gmail.com> wrote:
Dear all,
I need to solve a mathematical operation that is shown in the figure attached below. I am simulating an adjoint field and I wanna compute the product between a derivative of the base flow velocity and the aerodynamic force of the adjoint field, at the wall boundary. I know that in the FilterAeroforces.cpp, the forces are computed in each element, then an integral is applied. So I would like to know how I can take the derivative of the base flow in these elements by reading the baseflow.fld. If someone can help me, I thank you.
Daiane I. Dolci. <Screen Shot 2019-09-18 at 11.49.47 AM.png>_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
Spencer Sherwin FREng, FRAeS Head, Aerodynamics, Director of Research Computing Service, Professor of Computational Fluid Mechanics, Department of Aeronautics, s.sherwin@imperial.ac.uk South Kensington Campus, Phone: +44 (0)20 7594 5052 Imperial College London, Fax: +44 (0)20 7594 1974 London, SW7 2AZ, UK http://www.imperial.ac.uk/people/s.sherwin/