TexGen
DefaultProperties.h
Go to the documentation of this file.
1/*=============================================================================
2TexGen: Geometric textile modeller.
3Copyright (C) 2011 Louise Brown
4
5This program is free software; you can redistribute it and/or
6modify it under the terms of the GNU General Public License
7as published by the Free Software Foundation; either version 2
8of the License, or (at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18=============================================================================*/
19
20#pragma once
21namespace TexGen
22{
23 #define YARN_EX 200000 //MPa
24 #define YARN_EY 10000 //MPa
25 #define YARN_EZ 10000 //MPa
26 #define YARN_GXY 5000 //MPa
27 #define YARN_GXZ 5000 //MPa
28 #define YARN_GYZ 5000 //MPa
29 #define YARN_ALPHAX -0.2e-06 // /K
30 #define YARN_ALPHAY 3e-06 // /K
31 #define YARN_ALPHAZ 3e-06 // /K
32 #define YARN_POISSONX 0.3
33 #define YARN_POISSONY 0.4
34 #define YARN_POISSONZ 0.4
35
36 #define MATRIX_E 3000 //MPa
37 #define MATRIX_G 3000 //MPa
38 #define MATRIX_ALPHA 6.5e-06 // /K
39 #define MATRIX_POISSON 0.2
40}; // namespace TexGen
Namespace containing a series of customised math operations not found in the standard c++ library.