KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Material.m
Go to the documentation of this file.
1 namespace models{
2 namespace beam{
3 
4 
5 /* (Autoinserted by mtoc++)
6  * This source code has been filtered by the mtoc++ executable,
7  * which generates code that can be processed by the doxygen documentation tool.
8  *
9  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
10  * Except for the comments, the function bodies of your M-file functions are untouched.
11  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
12  * attached source files that are highly readable by humans.
13  *
14  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
15  * the correct locations in the source code browser.
16  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
17  */
18 
19 class Material
20  :public handle {
39  public:
40 
41  d_a = 457e-3;
50  s = 40e-3;
59  iso = 400e-3;
68  mantel = 1e-3;
77  rho = "[]";
86  rho_iso = 100;
95  rho_mantel = 7850;
104  rho_med = 20;
113  ny = 0.3;
122  E = "[]";
131  p = 50 * 1e5;
140  public:
141 
142  A;
143 
144  Iy;
145 
146  Iz;
147 
148  It;
149 
150  G;
151 
152  k;
153 
155 
156 
157  public:
158 
159  Material(raw_mat) {
160 
161  /* # MAT NR <rho> <A> <E> <Iy/In> <Iz/Ib> <It> <G> <k> <c_th> <kappa> <alpha> */
162  this.rho= raw_mat(1);
163  this.E= raw_mat(3);
164 
165  /* Compute standard dependencies */
166  this.updateDependentValues;
167 
168  /* Overwrite with custom settings from file here..
169  * [...] */
170  }
178  private:
179 
180  function updateDependentValues() {
181  r_a = 0.5 * this.d_a;
182  r_i = r_a - this.s;
183  /* Querschnittsfläche für Balken */
184  this.A= pi * ( r_a^2 - r_i^2 );
185  /* Flächenträgheitsmoment für Balken */
186  this.Iy= 0.25 * pi * ( r_a^4 - r_i^4 );
187  this.Iz= this.Iy;
188 
189  /* Torsionsträgheitsmoment für Balken */
190  this.It= 2 * this.Iy;
191  /* Schubmodul für Balken */
192  this.G= this.E / ( 2*(1+this.ny) );
193  /* Schubkorrekturfaktor für Balken */
194  m_tmp = r_i / r_a;
195  this.k= 6*(1+this.ny)*(1+m_tmp^2)^2 / ( (7+6*this.ny)*(1+m_tmp^2)^2 + (20+12*this.ny)*m_tmp^2);
196 
197  /* Berechnung der durch Medium und Dämmung verursachten zusätzlichen Steckenlast */
198  this.q_plus= pi * ( r_i^2 * this.rho_med + ( (r_a + this.iso)^2 - r_a^2 ) * this.rho_iso + ( (r_a + this.iso + this.mantel)^2 - (r_a + this.iso)^2) * this.rho_mantel );
199  }
207 };
208 }
209 }
210 
p
Rohrinnendruck (N/m²)
Definition: Material.m:131
rho_iso
Dichte der Isolierung (kg/m³)
Definition: Material.m:86
rho_mantel
Dichte des Mantels (kg/m³)
Definition: Material.m:95
rho_med
Dichte des Mediums (kg/m³)
Definition: Material.m:104
Material(raw_mat)
Definition: Material.m:159
Matlab's base handle class (documentation generation substitute)
E
E-Modul (N/m²) (Konstruktor!)
Definition: Material.m:122
d_a
Außendurchmesser (m)
Definition: Material.m:41
Material:
Definition: Material.m:19
ny
Querkontraktionszahl.
Definition: Material.m:113
s
Wandstärke (m)
Definition: Material.m:50
iso
Isolierungsdicke (m)
Definition: Material.m:59
mantel
Manteldicke (m)
Definition: Material.m:68
rho
Dichte des Stahls (kg/m³) (Konstruktor!)
Definition: Material.m:77