Skip to content

Commit 17bbc63

Browse files
Preparing 20.3.0 release
1 parent 75daea6 commit 17bbc63

File tree

3 files changed

+58
-74
lines changed

3 files changed

+58
-74
lines changed

NEWS.org

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#+DATE: Time-stamp: <2020-03-21>
1+
#+DATE: Time-stamp: <2020-03-24>
22
#+bind: org-html-preamble-format (("en" "%d"))
33
#+OPTIONS: html-link-use-abs-url:nil html-postamble:t html-preamble:t
44
#+OPTIONS: html-scripts:t html-style:t html5-fancy:nil tex:t
@@ -18,13 +18,13 @@
1818

1919
Copyright (C) 2006 - 2020 H. Dieter Wilhelm, GPL V3
2020

21-
** Version 20.3.0: Melpa installation #, updated to v201
21+
** Version 20.3.0: 2020-03 Melpa installation
2222
- You can now install APDL-Mode from the [[https://melpa.org/][Melpa]] package archive!
2323
- Added a new menu entry for browsing interactively the
2424
documentation for keywords
25+
- Added new function template the menu
2526
- EWW browser for the local help is now opening in a different
2627
"Window" and is not hiding the APDL buffer any longer
27-
- Added new function template the menu
2828
- Added Ruler Mode to the helper modes
2929
- Added customisation section for Worbench / Discover Aim templates
3030
- Improved initialisation of Ansys installation dependent

TODO.org

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
#+STARTUP: showall
1515

1616
#+title: The TODO file of APDL-Mode
17+
* Version 20.4.0 Update v201
1718

18-
* TODO Version 20.3.0 Update v201 docu, melpa
19+
* TODO Version 20.3.0 Melpa
1920
DEADLINE: <2020-04-16 Thu>
2021
feature freeze [2020-03-20 Fr]
2122

@@ -55,11 +56,6 @@
5556
the respective page section on Chrome and Edge!?
5657
- 1/en, en is variable but fraction not fontified?
5758
** check
58-
- Check templates (formatting changed strongly!) especially
59-
-compilation-template! Indent is not correct.,
60-
-skeleton-function!?
61-
- C-s C-s apdl-calculate-indent: Can't deduce sensible column
62-
offset, for some templates
6359
- changed file size without warning to 30 MB what is Emacs-26
6460
using?
6561
** wishes
@@ -77,28 +73,19 @@
7773
interpreter or Ansys Classics GUI
7874
6) Melpa README, better wait till emacs-27?
7975
** Done
80-
- The APDL menu entry in terminal mode is not working => wrong type
81-
argument!?
82-
- what is .gitattributes
83-
- check highlighting of -license-category,should work on white
84-
background..
85-
- -wb-template-directory depends on melpa version! This is working
86-
only for the stable version!
87-
- Is the -help-path working without backslashes under Window?, yes it is
88-
- Do we need a (require 'apdl-) after Melpa installation? NO
8976
** Release proceedures
9077
Attention: in apdl_keywords.txt there are many trailing whitespaces
9178
(delete-trailing-whitespace)
9279

9380
whitespace-mode
9481
package-lint
95-
- problems with prefix names and default key bindings...
9682
checkdoc, flycheck etc. : from makefile?
9783

98-
# for _mode_version
84+
# for makefile
9985
APDL_MAJOR := 20
10086
APDL_MINOR := 4
10187
APDL_PATCH := 0
88+
# A-M version
10289
(tags-query-replace "20\.3\.0" "20.4.0")
10390
# copyright year
10491
(tags-query-replace "- 2020" "- 2021")
@@ -107,9 +94,7 @@
10794
# emacs
10895
(tags-query-replace "26\.3" "27.1")
10996
(tags-search "((emacs \"25.1\"))")
110-
(tags-query-replace "http:" "https:")
111-
# (tags-query-replace "ansys+emacs2020.png" "ansys+emacs2020-03.png")
112-
# (tags-query-replace "ANSYS" "Ansys")
97+
11398

11499
* DONE 20.2.0 Release
115100
[2020-03-10 Tue]

doc/example.mac

Lines changed: 50 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
!! the cursor below the next paragraph and type
77
!! C-x C-e to check settings
88

9-
!(progn (when (featurep 'ansys-mode) (unload-feature 'ansys-mode))(setq ansys-highlighting-level 2 ansys-dynamic-highlighting-flag t)(load-file "../ansys-mode.el")(ansys-mode))
9+
!! (progn (when (featurep 'ansys-mode) (unload-feature 'ansys-mode))(setq ansys-highlighting-level 2 ansys-dynamic-highlighting-flag t)(load-file "../ansys-mode.el")(ansys-mode))
1010

1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
!! self contained mechanical example
1313
finish
1414
/clear
15-
!y ! answer query in interactive mode
15+
!! y ! answer query in interactive mode
1616

1717
/units,mpa !indicate mm-t-s unit system
1818
!! /units
@@ -22,9 +22,9 @@ finish
2222
Steel = 1
2323
ID = Steel
2424
real = Steel
25-
et,ID,solid186 !3d, 20 node
25+
et,ID,solid186 ! 3d, 20 node
2626
!@@ -- Material --
27-
mp,nuxy,Steel,0.3 ! Poisson No
27+
mp,nuxy,Steel,0.3 ! Poisson No
2828
mp,ex,Steel,200000 ! Elastic modulus
2929
!@@ -- Modeling --
3030
block,0,1,0,1,0,1
@@ -51,16 +51,16 @@ solve
5151
/post1
5252
/view,,1,1,1
5353
plnsol,u,sum,2
54-
/image,save,test !save XWindow Dump xwd or bmp on Windows
54+
/image,save,test ! save XWindow Dump xwd or bmp on Windows
5555
/sys,convert test test.png
5656

5757
!! end of self contained example
5858
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5959

6060

6161
!@@ -- ignored characters and condensed input line ($ operator)
62-
finishThisNightmare $ /cle !/clear
63-
y !answer query
62+
finishThisNightmare $ /cle ! /clear
63+
y ! answer query
6464
/prep7
6565
otto = 9
6666
right = 'wrong'
@@ -71,7 +71,7 @@ c***, this is %right% ! no % parameter expansion of %otto%
7171
!@@ -- variable definitions and functions
7272
k ! keypoint at (0,0,0)
7373
N = _RETURN !_RETURN value of k command, No of keypoints
74-
_aaa = 9 !reserved underscore "_" variables
74+
_aaa = 9 ! reserved underscore "_" variables
7575
Pi = acos(-1) $ True=1 $ False=0
7676
Xc = 0 $ Yc = 'char' ! character string variables
7777
R1 = 4 $ R2=20
@@ -81,14 +81,14 @@ R1 = 4 $ R2=20
8181
N=1.0
8282
Alpha1=sin( 14.5) - 360./ (2*N)
8383
Alpha2=+360./(2*N)
84-
Steel=1!Steel
85-
Depth=ARG1 !ARG{1-9}, AR{10-19} = "*use" variables
86-
Xc= != empty rhs clears variables
84+
Steel=1 ! Steel
85+
Depth=ARG1 ! ARG{1-9}, AR{10-19} = "*use" variables
86+
Xc= ! = empty rhs clears variables
8787

8888
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8989
/prep7
9090
cyl4,Xc,Yc,R1,Alpha1,R2,Alpha2,Depth
91-
mp, nuxy,Steel,0.3 ! Poisson No
91+
mp, nuxy,Steel,0.3 ! Poisson No
9292
mp, ex,Steel,200000 ! Elastic modulus
9393
!@@@ - parameter substitution
9494
/com, === Material %Steel% is steel. ===
@@ -136,13 +136,13 @@ dcgomg,x,y,z ! rotational acceleration about global coord. sys.
136136

137137
!@@@ - coupling -
138138
nsel,s,loc,x,1
139-
cp,next,uy,all !couple dofs
139+
cp,next,uy,all ! couple dofs
140140

141141
!@@ -- boundary conditions --
142142

143143
/prep7
144144

145-
!kbc,1 ![0] (antype,static): ramped 1:stepped loading
145+
!! kbc,1 ! [0] (antype,static): ramped 1:stepped loading
146146

147147
!@@@ - displacements -
148148

@@ -160,7 +160,7 @@ flist,all
160160
!@@@ - inertia relief -
161161

162162
!! LOADS: nonlinearities aren't supported, fix all DOFs!
163-
irlf,1 !0: none,1:ir on,-1:printout masses
163+
irlf,1 ! 0: none,1:ir on,-1:printout masses
164164
nsel,s,loc,x,1
165165

166166
!@@@ - corriolis effects -
@@ -170,7 +170,7 @@ dcgomg,x,y,z ! rotational acceleration about global coord. sys.
170170

171171
!@@@ - coupling -
172172
nsel,s,loc,x,1
173-
cp,next,uy,all !couple dofs
173+
cp,next,uy,all ! couple dofs
174174

175175
allsel
176176
/pbc,all,on
@@ -179,40 +179,40 @@ gplot
179179
!@@@ - magnetics -
180180

181181
!! fmagbc,'Component' ! flag force calculation
182-
bfa,all,js, ! js current density
182+
bfa,all,js, ! js current density
183183
bflist,all
184184
dl,all,,asym ! flux parallel to lines
185-
nsel,s,ext ! select exterior nodes
186-
dsym,asym ! flux parallel to lines
185+
nsel,s,ext ! select exterior nodes
186+
dsym,asym ! flux parallel to lines
187187
/prep7 $ /title,ototo
188188

189-
/prep7 * comment
189+
/prep7 * comment!
190190
fini * comment
191-
otto = 3 * 4
191+
otto = 3 * 4 ! comment
192192

193193
f $ fi $ fin $ fini $ finis $ finish $ finisher
194194
Alu = 1 $ Steel = 3
195-
n!! variables max. 32 chars long & condensed ($) input lines % % &
195+
n ! variables max. 32 chars long & condensed ($) input lines % % &
196196
v123456789_123456789_123456789_123= 1 $ Alu=2 $ Steel= 3
197197
False = 0$True =1 $ Yes = 'no' bla otto bla
198198
*if,ARG9,eq,AR19,then ! ARG1-9, AR10-19 *use/commandline macro variables
199-
AR20 = 20 !AR20 - AR99 local macro variables
199+
AR20 = 20 ! AR20 - AR99 local macro variables
200200
*endif
201201

202202

203203
vall,1,2
204204
_bla = 3 ! _vars: macro reserved words
205-
otto = !`=' without rhs: variable clean up
205+
otto = ! `=' without rhs: variable clean up
206206
bla =
207207
Alpha3 = 4
208208

209209

210210
nsel,s,_hans,otto,'_otto'
211211
!! APDL get/parametricfunctions & old style (deprecated) Ansys comments
212-
var1=sinh(cos(.3 *5)) !old style Ansys comments!!!!!
213-
var2 = tan(nx(.3*5)) !not an old style Ansys comment
214-
var3 = %Yes% $ *if !this is not a valid % string substition
215-
/xml ! undocumented command /xml
212+
var1=sinh(cos(.3 *5)) ! old style Ansys comments!!!!!
213+
var2 = tan(nx(.3*5)) ! not an old style Ansys comment
214+
var3 = %Yes% $ *if ! this is not a valid % string substition
215+
/xml ! undocumented command /xml
216216
*afun,rad
217217
/fil $ /filname%bla%
218218
!! string, message commands and comment behaviour && %$$% %% :bla: &&&
@@ -243,7 +243,7 @@ alkd %D &
243243
%E%/%E
244244
!! commands which do not allow arguments
245245
/prep7 $ FINISH ! $ is nothing behind?
246-
/prep7 !nothing behind?
246+
/prep7 ! nothing behind?
247247
/prep7 nothing behind allowed
248248
X2=3
249249
rectngaaaaa,var1,_X2,var2,X2 ! 2d rectangle
@@ -266,7 +266,7 @@ lfillt,(1:2),(3:4),5
266266
*cyclon
267267
*exit
268268
*enddo
269-
! goto branching
269+
!! goto branching
270270
*go,:branch
271271
aselsalsdkfjaölsdkfjaölskdjf,all
272272
:branch
@@ -275,12 +275,12 @@ a $ al $ all $ alls $ allse $ allsel $ allselllllll
275275

276276
nsel,s,loc,x,1
277277
,s,loc,x,1
278-
cp,next,uy,all !couple dofs
278+
cp,next,uy,all ! couple dofs
279279
f,1,fx,1
280-
!flist ! list force nodes
280+
!! flist ! list force nodes
281281
alls
282282
/pbc,all,on
283-
!gplot
283+
!! gplot
284284
/eof
285285

286286
!-----------------------------------------------------------------------
@@ -320,13 +320,13 @@ iadd = arg1
320320
/TSPE, 15, 1.000, 1, 0, 0
321321
xx = 1.05
322322
yy = .9
323-
! Change the window settings if you need different
324-
! aspect ratios for your geometry
323+
!! Change the window settings if you need different
324+
!! aspect ratios for your geometry
325325
/win,1,-1,1,.5,1
326326
,2,-1,1,0,.5
327327
,3,-1,1,-.5,0
328328
,4,-1,1,-1,-.5
329-
!
329+
!!
330330
/win,2,off
331331
/win,3,off
332332
/win,4,off
@@ -400,21 +400,21 @@ ang1 = 0
400400
ang1 = ang2
401401
*enddo
402402

403-
!! alignment
404-
x=0.4!laskd
403+
!! alignment C-c C-a
404+
x=0.4 ! laskd
405405
y= 33.0 ! alskdl
406-
xzv= 9999990.3 !!
407-
llk = 0.333333333 !bla
406+
xzv= 9999990.3 !
407+
llk = 0.333333333 ! bla
408408
al_= 00.40
409409
aslfoeas = 304
410-
ka= .4 !salkd
411-
i = 4. !as
410+
ka= .4 ! salkd
411+
i = 4. ! as
412412
kasd=.3/0.4
413413
kasd =3./0.4
414414
xxx =asin(3.0)
415415
y = cos(i)
416416

417-
block,X1,X2,Y1,Y2,Z1,Z2 !3d hexahedron (wp)
417+
block,X1,X2,Y1,Y2,Z1,Z2 ! 3d hexahedron (working plane)
418418
!@ ==============================
419419
!@ --- Header ---
420420
!@ ==============================
@@ -423,10 +423,10 @@ block,X1,X2,Y1,Y2,Z1,Z2 !3d hexahedron (wp)
423423
!! NOTE: alskd
424424
!! ------------------------------
425425

426-
! fini
427-
! /clear
428-
! y
429-
/units,mpa !indicate mm-t-s unit system
426+
!! fini
427+
!! /clear
428+
!! y
429+
/units,mpa ! indicate mm-t-s unit system
430430
!@ ==============================
431431
!@ --- Preprocessing ---
432432
!@ ==============================
@@ -435,9 +435,9 @@ block,X1,X2,Y1,Y2,Z1,Z2 !3d hexahedron (wp)
435435
Steel = 1
436436
ID = Steel
437437
real = Steel
438-
et,ID,solid186 !3d, 20 node
438+
et,ID,solid186 ! 3d, 20 nodes
439439
!@@ -- Material --
440-
mp,nuxy,Steel,0.3 ! Poisson No
440+
mp,nuxy,Steel,0.3 ! Poisson No
441441
mp,ex,Steel,200000 ! Elastic modulus
442442
!@@ -- Modeling --
443443
block,0,1,0,1,0,1
@@ -547,9 +547,8 @@ MP,,,,,,,
547547
Pi=3.14159265359
548548

549549
*do,I,1,10,1
550-
551550

552-
*cycle !bypass below commands in *do loop
551+
*cycle ! bypass below commands in *do loop
553552
*enddo
554553

555554
psolve !

0 commit comments

Comments
 (0)