Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/ReleaseNotes/release_5.4.txt
3194 views
1
From: Juha Ruokolainen <[email protected]>
2
To: [email protected]
3
Subject: [Elmerupdates] ELMER 5.4.0 RELEASED
4
Date: Wed, 3 Oct 2007 14:18:21 +0300 (EEST)
5
6
7
8
Elmer version 5.4.0 is out:
9
10
Source code is available from
11
12
http://nic.funet.fi/pub/sci/physics/elmer/src
13
14
Elmer 5.4 consists of the following packages:
15
16
matc 5.4.0
17
umfpack 4.4
18
mathlibs 1.0.0
19
elmergrid 5.4.0
20
meshgen2d 5.0.0
21
eio 5.4.0
22
hutiter 5.4.0
23
fem 5.4.0
24
elmerparam 1.0.0
25
front 5.4.0
26
elmerpost 5.4.0
27
28
The file elmer-5.4.0.tar.gz is also provided for convenience,
29
this contains all the relevant packages.
30
31
Windows binary installation package is available at
32
33
http://nic.funet.fi/pub/sci/physics/elmer/bin/windows/Elmer-5.4.0.exe.
34
35
There are new compile instructions for Windows/MINGW at the bottom
36
of the page
37
38
http://www.csc.fi/english/pages/elmer/download/compiling
39
40
41
New features of Elmer 5.4.0 include:
42
====================================
43
44
New manuals:
45
------------
46
* MATC manual was extracted from the html help to latex format. Now available
47
in as a new document called MATCManual.pdf.
48
49
* Elmer Overview manual was written. It has an emphasis on big things and
50
should
51
help people in learning Elmer. Available in cvs as doc/overview and as a new
52
document called ElmerOverview.pdf.
53
54
55
Solver enhancements:
56
--------------------
57
58
* "Internal solvers" identified by Equation ="Heat Equation" |
59
"Navier-Stokes" |
60
"Mesh Update" | "Magnetic Induction" | "Stress Analysis" may now use "Exported
61
Variable n" definitions in solver-sections. Previously these definitions were
62
silently ignored.
63
64
* Added Boundary Condition-section keyword "Target Coordinates Eps=Real".
65
Target nodes are only set if closer than "eps" to given coordinate values.
66
The default is to set closest nodes irrespective of their distance to given
67
coordinates.
68
69
* New Solver-section keyword "Radiation Solver=Logical" may be used to define
70
the
71
solver responsible of taking care of the heat radiation, if a Solver with
72
"Equation=Heat Equation" is not present.
73
74
* Added Simulation Type=Scannig, which goes through timesteps etc., but
75
doesn't set transient
76
mode.
77
78
* Added DefUtils function GetCReal(), which is similiar to GetReal but
79
returns a scalar value.
80
One may use this for parameters that are time dependent (for example), but
81
not spatially varying.
82
83
* Added Material-section keyword "Pressure Coefficient" which may be used to
84
give the pressure
85
material derivative coefficient value in the heat equation. This should give
86
a value for
87
the expression (@log(1/rho)/@log(T))_p
88
89
* Added feature to define elements passive in the middle of the simulation.
90
Passive elements are
91
controlled by a Body Force keyword (type Real), e.g. "Temperature Passive"
92
for Heat Equation.
93
94
* Possibility to change the reference shape of linear elasticity.
95
96
* Added possibility for saving scalars data in a file understood by the
97
LiveGraph? program
98
99
* Added some new nonlin. and steady state convergence measures and features.
100
101
* Added a module IterativeMethods?.src where new iterative solvers may be
102
placed and referred in
103
IterSolve?.src. New iterative solvers include 'Jacobi', 'SGS', and
104
'BiCGstabL'.
105
106
* The parallel solver has received some attention, and should work much
107
better than
108
before. Also the HYPRE interface is updated to include ParaSails - a
109
parallel sparse
110
approximate inverse preconditioner. To activate use
111
112
Linear System Use Hypre = Logical True
113
Linear System Preconditioning = ParaSails
114
ParaSails Threshold = Real
115
ParaSails Filter = Real
116
ParaSails Symmetry = Real
117
ParaSails Maxlevel = Real
118
119
look at the HYPRE/ParaSails documentation for the meaning of preconditioner
120
settings.
121
122
123
* changes in convergence measures & norms & relaxation:
124
125
Convergence measures are used to monitor the convergence of the solution process. The different measures are
126
127
c_n = 2*||u|-|u_0|| / (|u|+|u_0|)
128
129
c_s = 2*|u-u_0| / (|u|+|u_0|)
130
131
c_r = |Ax_0-b| / |b|
132
133
where the suffixes (n,s,r) refer to values 'norm', 'solution', 'residual' of the keyword
134
135
Nonlinear System Convergence Measure = String
136
137
The old standard way 'norm' is the default. The critical value when convergence is decleared is still terminated by the keyword
138
139
Nonlinear System Convergence Tolerance = Real
140
141
Absolute measures (opposed to relative) may be invoked by
142
143
Nonlinear System Convergence Absolute = Logical True
144
145
Relaxation:
146
147
Relaxation is now also done within ComputeChange. The keywords related to that are
148
149
Nonlinear System Relaxation Factor = Real
150
Nonlinear System Relaxation Before = Logical
151
152
The default of the second one is True (as before). This means that relaxation is applied before the convergence measure is computed. Heavy relaxation will therefore make convergence seem easier. The countereffect this the flag could be set False. This has the price that one extra norm has to be computed, and that norms are not backward compatible.
153
154
Nonlinar vs. steady state:
155
156
The convergence tolerances are used to determine the convergence of a single equation, and that of the coupled system. Therefore all the above keywords have also a counterpart starting with string 'Steady State'.
157
158
Steady State Convergence Measure = String
159
Steady State Convergence Tolerance = Real
160
Steady State Convergence Absolute = Logical
161
Steady State Relaxation Factor = Real
162
Steady State Relaxation Before = Logical
163
164
Norms
165
-----
166
By default Elmer uses the L2 norm. Now also other norms are possible in scalar computation.
167
168
Nonlinear System Norm Degree = Integer
169
170
Note that value 0 refers to infinity, or max, norm,
171
172
Nonlinear System Norm Dofs = Integer
173
174
By default all degrees of freedom of the result vector are taken into account. Sometimes, it is desirable to look at only some components. Like in the Navier-Stokes equation the pressure may be a poorer indicator of the accuracy, and also it does not necesseraly have same scale as velocity. Therefore by default the Navier-Stokes solver sets the value of this keyword equal to DIM.
175
176
The norm used in the convergence measures is always the same for steady state as for nonlinear norms. For the linear systems the only possible norm is still L2.
177
178
What now
179
--------
180
Everything should be backward compatible. The most useful new feature will probably be the new convergence measure types that are more robust for some applications.
181
182
183
New application solvers:
184
========================
185
186
PhaseChangeSolve
187
----------------
188
There is a new solver that is applicable to 2D phase change problems,
189
occurring for example in the field of
190
crystal growth. Previously only Eularian phase change solution was supported.
191
The Lagrangian approaches
192
should give superior accuracy with the same mesh density. The solver includes
193
both steady state algorhitm
194
and a transient algorhitm.
195
196
The steady-state algorithm geometrically constructs a levelset and maps the
197
old interface to the new
198
position. Here a flux condition must be set on the interface if there is a
199
constant pull in the system
200
(look at PhaseChange2 in tests).
201
202
The transient algorithm computes the melting velocity over the interface and
203
uses the velocity to advance
204
the position of the surface. With time the interface should obtain the
205
steady-state solution, if such
206
exists.
207
208
FluxSolver
209
----------
210
There is a new solver that computes fluxes. For example, heat fluxes may be
211
computed when the temperature
212
field T and heat conductivity k are known from
213
q = -k\grad{T}
214
The heat flux is computed with the Galerkin approximation one component at a
215
time in order to optimize
216
memory consumption.
217
218
NormalSolver
219
-------------
220
There is a new solver that computes surface normals. Usually, the direction
221
of the normals are assumed to
222
be defined by the boundary element alone. However, there are some cases when
223
this may lead to slight
224
inconsistancies. Then the nodal values may be computed by this solver that
225
uses the Galerkin method to
226
define nodal values for the normals. The normals are computed one component
227
at a time in order to optimize
228
memory consumption.
229
230
231
Modifications to solvers
232
========================
233
234
SaveScalars
235
-----------
236
SaveScalars has now some additaional operators that may be used to save the
237
current norms and changes to
238
external files in order to monitor the bahavior. The operators are 'norm',
239
'nonlinear system change', and
240
'steady state change'. Also some simple operators operating on a boundary
241
were added: boundary max,
242
boundary min, boundary max abs, boundary min abs.
243
244
The data in scalars may now be saved in comma-separated-values (CSV) format
245
which is understood by the
246
LiveGraph program. This is envoked by setting a flag 'Live Graph = Logical
247
True'.
248
249
The commands above could be used to monitor convergence behavior in real-time
250
by adding the following
251
solver to the sif-file:
252
253
Solver 3
254
Name = "SaveScalars"
255
Procedure = "SaveData" "SaveScalars"
256
Filename = File "f.dat"
257
Variable 1 = Temperature
258
Operator 1 = norm
259
Operator 2 = nonlinear system change
260
End
261
262
263
264
ElmerGrid enhancements
265
======================
266
267
* The import of Universal file (UNV) and gmsh (ver 2) formats was improved.
268
269
* In ElmerGrid enhanced the functionality of the '-increase' (element order)
270
flag also to 3D geometries.
271
The order may be increased from 1 to 2 only.
272
273
274
... and countless number of other enhancements, additions, bug fixes....
275
276
277
ElmerPost
278
==========
279
280
Added modules for exporting pictures/video clips in jpg/mpg format. The
281
modules can be found
282
in the source tree (post/src), but they are not compiled automativally due to
283
dependencies on
284
non-standard libraries. These are distrubted with the windows binaries
285
however. More information
286
can be found from the headers of the source files.
287
288
Usage in Elmer-Post:
289
290
savejpg file.jpg quality [ quality: 1=bad ... 100=good ]
291
savempg start file.mpg [ initializes video compressor ]
292
savempg append [ adds current frame to video ]
293
savempg stop [ finalizes video compressor ]
294
295
Have fun,
296
297
The Elmer Team
298
299