Documentation 6b54b78464
Loading...
Searching...
No Matches
CDiscAdjFlowTractionInterface.hpp
Go to the documentation of this file.
1/*!
2 * \file CDiscAdjFlowTractionInterface.hpp
3 * \brief Declaration and inlines of the class to transfer flow tractions
4 * from a fluid zone into a structural zone in a discrete adjoint simulation.
5 * \author Ruben Sanchez
6 * \version 8.5.0 "Harrier"
7 *
8 * SU2 Project Website: https://su2code.github.io
9 *
10 * The SU2 Project is maintained by the SU2 Foundation
11 * (http://su2foundation.org)
12 *
13 * Copyright 2012-2026, SU2 Contributors (cf. AUTHORS.md)
14 *
15 * SU2 is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
19 *
20 * SU2 is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with SU2. If not, see <http://www.gnu.org/licenses/>.
27 */
28
29#pragma once
30
32
33/*!
34 * \brief Fluid-structure interface (forces or tractions) for discrete adjoint problems.
35 * \note This is a small specialization of CFlowTractionInterface that ommits load ramping.
36 * \ingroup Interfaces
37 */
39public:
40 /*!
41 * \overload
42 * \param[in] val_nVar - Number of variables that need to be transferred.
43 * \param[in] config - Definition of the particular problem.
44 */
45 CDiscAdjFlowTractionInterface(unsigned short val_nVar, unsigned short val_nConst,
46 const CConfig *config, bool conservative_);
47
48 /*!
49 * \brief Retrieve some constants needed for the calculations.
50 * \param[in] donor_solution - Solution from the donor mesh.
51 * \param[in] target_solution - Solution from the target mesh.
52 * \param[in] donor_geometry - Geometry of the donor mesh.
53 * \param[in] target_geometry - Geometry of the target mesh.
54 * \param[in] donor_config - Definition of the problem at the donor mesh.
55 * \param[in] target_config - Definition of the problem at the target mesh.
56 */
57 void GetPhysical_Constants(CSolver *donor_solution, CSolver *target_solution,
58 CGeometry *donor_geometry, CGeometry *target_geometry,
59 const CConfig *donor_config, const CConfig *target_config) override;
60
61};
Declaration and inlines of the class to transfer flow tractions from a fluid zone into a structural z...
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Fluid-structure interface (forces or tractions) for discrete adjoint problems.
Definition CDiscAdjFlowTractionInterface.hpp:38
void GetPhysical_Constants(CSolver *donor_solution, CSolver *target_solution, CGeometry *donor_geometry, CGeometry *target_geometry, const CConfig *donor_config, const CConfig *target_config) override
Retrieve some constants needed for the calculations.
Definition CDiscAdjFlowTractionInterface.cpp:40
Fluid-structure interface (forces or tractions).
Definition CFlowTractionInterface.hpp:38
Parent class for defining the geometry of the problem (complete geometry, multigrid agglomerated geom...
Definition CGeometry.hpp:75
Definition CSolver.hpp:71