-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExampleDriver.m
113 lines (74 loc) · 3.69 KB
/
ExampleDriver.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
%=======================================================================%
% ______________ _____ __ %
% / ____/ ____/ |/ / / ____ _/ /_ %
% / /_ / / / /|_/ / / / __ `/ __ \ %
% / __/ / /___/ / / / /___/ /_/ / /_/ / %
% /_/ \____/_/ /_/_____/\__,_/_.___/ %
% %
% %
% Copyright (c) 2012, 2013 %
% Chair for Computation in Engineering, Technical University Muenchen %
% %
% This file is part of the MATLAB toolbox FCMLab. This library is free %
% software; you can redistribute it and/or modify it under the terms of %
% the GNU General Public License as published by the Free Software %
% Foundation; either version 3, or (at your option) any later version. %
% %
% This library is distributed in the hope that it will be useful, %
% but WITHOUT ANY WARRANTY; without even the implied warranty of %
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the %
% GNU General Public License for more details. %
% %
% You should have received a copy of the GNU General Public License %
% along with this program; see the files COPYING respectively. %
% If not, see <http://www.gnu.org/licenses/>. %
% %
% In case of a scientific publication of results obtained using FCMLab, %
% we ask the authors to cite the introductory article "xxxxx" published %
% in yyyyy: %
% %
% N. Zander, T. Bog, M. Elhaddad, R. Espinoza, H. Hu, A. F. Joly, %
% C. Wu, P. Zerbe, S. Kollmannsberger, D. Schillinger, M. Ruess, %
% A. Duester, E. Rank. FCMLab: A Finite Cell Research Toolbox for %
% MATLAB, AGREATJOURNAL, xxxx, 2013 %
% %
%=======================================================================%
%% Preliminarities
clear all;
close all;
% Set path for Logger
Logger.setPathForLogger('ExampleDriver.m','ExampleDriver.log',0);
Logger.ConsoleLevel('debug');
%% Embedded Domain Setup
%% Material Setup
%% Mesh Setup
% Step 1: decide on element type
% Step 2: create the mesh
%% Analysis Setup
% Decide on anlysis type
%% Apply Body Load
% Analytical description of body force
% Transform to vector function
% Create new load case
% Register load case at analysis
%% Apply weak Dirichlet boundary conditions
% Select integration scheme
% Get geometrical description of boundary
% Selet constraining strategy
% Give analytical description of boundary values
% Create boundary condition in X
% Create boundary condition in Y
% Register conditions at analysis
%% Run the analysis
Analysis.solve();
%% Post processing
% Create result point processors
%% Perform Visual Post Processing
% Decide on post processor type
% Register result point processors
% Visualize results
%% Perform Integration Post Processing
% Decide on post processor type
% Register result point processors
% Integrate the results over the domain
% Compare to analytical solution