Overture  Version 25
BodyForce.h
Go to the documentation of this file.
1 #ifndef BODY_FORCE_H
2 #define BODY_FORCE_H
3 
4 #include "Overture.h"
5 #define KK_DEBUG
6 #include "DBase.hh"
7 using namespace DBase;
8 
9 
10 // ====================================================================================
11 // This class holds information about different body forces (and boundary forcing).
12 // ====================================================================================
13 class BodyForce
14 {
15 
16 public:
17 
18 // The temperature BC is of the form
19 // a0*T + an*T.n = g (constant coefficients)
20 // a0(x)*T + an(x)*T.n = g (variable coefficients)
22 {
24  temperatureBoundaryConditionIsVariableCoefficients
25 };
26 
28 {
29  adiabaticBody=0,
31  conductingBody
32 };
33 
34 
35 BodyForce();
36 ~BodyForce();
37 
38 
39 virtual int get( const GenericDataBase & dir, const aString & name); // get from a database file
40 virtual int put( GenericDataBase & dir, const aString & name) const; // put to a database file
41 
42 // plot forcing regions
43 static int plotForcingRegions(GenericGraphicsInterface &gi, DataBase & dbase, CompositeGrid & cg,
44  GraphicsParameters & psp );
45 
46 // This database contains the parameters and data for the body force:
48 
49 
50 
51 };
52 
53 // -------------------------------------------------------------------------------------------
54 // Here is the class where we keep current parameters that define the current region for a body force:
55 // These parameters are only used while the body force is being defined.
56 // ------------------------------------------------------------------------------------------
58 {
59 public:
60 
63 
64 // This database contains the parameters for all types of body forces
66 
67 };
68 
69 
70 #endif