-
Notifications
You must be signed in to change notification settings - Fork 55
/
fem2d_poisson_sparse_lake.html
159 lines (135 loc) · 4.6 KB
/
fem2d_poisson_sparse_lake.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<html>
<head>
<title>
FEM2D_POISSON_SPARSE_LAKE - A Poisson Problem in a Lake
</title>
</head>
<body bgcolor="#EEEEEE" link="#CC0000" alink="#FF3300" vlink="#000055">
<h1 align = "center">
FEM2D_POISSON_SPARSE_LAKE <br> A Poisson Problem in a Lake
</h1>
<hr>
<p>
<b>FEM2D_POISSON_SPARSE_LAKE</b> is a MATLAB library which
sets up the geometry and data for the "lake" problem,
which models a simulated lake with an island. The problem
is suitable for solution by <b>fem2d_poisson_sparse</b>.
</p>
<h3 align = "center">
Licensing:
</h3>
<p>
The computer code and data files described and made available on this web page
are distributed under
<a href = "../../txt/gnu_lgpl.txt">the GNU LGPL license.</a>
</p>
<h3 align = "center">
Languages:
</h3>
<p>
<b>FEM2D_POISSON_SPARSE_LAKE</b> is available in
<a href = "../../cpp_src/fem2d_poisson_sparse_lake/fem2d_poisson_sparse_lake.html">a C++ version</a> and
<a href = "../../f_src/fem2d_poisson_sparse_lake/fem2d_poisson_sparse_lake.html">a FORTRAN90 version</a> and
<a href = "../../m_src/fem2d_poisson_sparse_lake/fem2d_poisson_sparse_lake.html">a MATLAB version</a>.
</p>
<h3 align = "center">
Related Data and Programs:
</h3>
<p>
<a href = "../../m_src/fem2d_poisson_sparse/fem2d_poisson_sparse.html">
FEM2D_POISSON_SPARSE</a>,
a MATLAB program which
solves the steady (time independent) Poisson equation on an arbitrary
2D triangulated region using MATLAB's sparse solver.
</p>
<p>
<a href = "../../m_src/fem2d_poisson_sparse_baffle/fem2d_poisson_sparse_baffle.html">
FEM2D_POISSON_SPARSE_BAFFLE</a>,
a MATLAB library which
defines the geometry of a rectangle channel containing 13 hexagonal baffles,
as well as boundary conditions for a given Poisson problem, and is called by
fem2d_poisson_sparse as part of a solution procedure.
</p>
<p>
<a href = "../../m_src/fem2d_poisson_sparse_ell/fem2d_poisson_sparse_ell.html">
FEM2D_POISSON_SPARSE_ELL</a>,
a MATLAB library which
defines the geometry of an L-shaped region, as well as boundary
conditions for a given Poisson problem, and is called by
fem2d_poisson_sparse as part of a solution procedure.
</p>
<p>
<a href = "../../m_src/triangulation_order3_contour/triangulation_order3_contour.html">
TRIANGULATION_ORDER3_CONTOUR</a>,
a MATLAB program which
makes a contour plot of scattered data,
or of data defined on an order 3 triangulation. In particular, it can display
contour plots of scalar data output by fem2d_poisson or fem2d_poisson_sparse.
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "dirichlet_condition.m">dirichlet_condition.m</a>,
the user-supplied routine to evaluate the boundary conditions;
</li>
<li>
<a href = "h_coef.m">h_coef.m</a>,
the user-supplied routine to evaluate H(X,Y);
</li>
<li>
<a href = "k_coef.m">k_coef.m</a>,
the user-supplied routine to evaluate K(X,Y);
</li>
<li>
<a href = "rhs.m">rhs.m</a>,
the user-supplied routine to evaluate the right hand side;
</li>
</ul>
</p>
<h3 align = "center">
Source Code:
</h3>
<p>
<ul>
<li>
<a href = "lake_output.txt">lake_output.txt</a>,
output from a run of the program;
</li>
<li>
<a href = "lake_nodes.txt">lake_nodes.txt</a>,
a text file containing a list, for each node, of its X and Y
coordinates;
</li>
<li>
<a href = "lake_nodes.png">lake_nodes.png</a>,
a PNG image of the nodes;
</li>
<li>
<a href = "lake_elements.txt">lake_elements.txt</a>,
a text file containing a list, for each element, of the three
nodes that compose it;
</li>
<li>
<a href = "lake_elements.png">lake_elements.png</a>,
a PNG image of the elements;
</li>
<li>
<a href = "lake_values.txt">lake_values.txt</a>,
a text file containing the solution U at each node (X,Y);
</li>
</ul>
</p>
<p>
You can go up one level to <a href = "../m_src.html">
the MATLAB source code page</a>.
</p>
<hr>
<i>
Last revised on 13 December 2012.
</i>
<!-- John Burkardt -->
</body>
</html>