b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2aeroacoustic.H
1//------------------------------------------------------------------------
2// b2aeroacoustic.H --
3//
4//
5// written by Mathias Doreille
6//
7// Copyright (c) 2006-2012,2016
8// SMR Engineering & Development SA
9// 2502 Bienne, Switzerland
10//
11// All Rights Reserved. Proprietary source code. The contents of
12// this file may not be disclosed to third parties, copied or
13// duplicated in any form, in whole or in part, without the prior
14// written permission of SMR.
15//------------------------------------------------------------------------
16
17#ifndef __B2_AEROACOUSTIC_H__
18#define __B2_AEROACOUSTIC_H__
19
20#include "model/b2element.H"
21#include "model/b2model.H"
22
23namespace b2000 {
24
25class AeroAcousticPropertiesInterface : virtual public b2000::ElementProperty {
26public:
27 ~AeroAcousticPropertiesInterface() override{};
28
29 virtual void get_constant(double& K, double& R, double& r, double& omega) = 0;
30
31 virtual void get_radiation_value(double noise_source_pos[3]) = 0;
32
33 virtual void get_cfd_value(
34 Model& model, const int nb_node, const Node* const node[],
35 const double nodes_interpolation[], double W0[5]) = 0;
36
37 virtual void get_cfd_value_and_gradient(
38 Model& model, const int nb_node, const Node* const node[],
39 const double nodes_interpolation[], const double d_nodes_interpolation[][3], double W0[5],
40 double d_W0[5][3]) = 0;
41
42 typedef ObjectTypeIncomplete<AeroAcousticPropertiesInterface, ElementProperty::type_t> type_t;
43 static type_t type;
44};
45} // namespace b2000
46
47#endif
Definition b2element.H:71
Contains the base classes for implementing Finite Elements.
Definition b2boundary_condition.H:32