Skip to content

Commit a344998

Browse files
committed
go through tests
1 parent 590970f commit a344998

18 files changed

+50
-45
lines changed

docker/solver/README.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,20 @@ Prerequisites
2727
* Download the latest Linux release artifacts for the Linux Docker container:
2828
`mppdyna_docker_centos7.zip <https://github.com/ansys/pydyna/releases/tag/v0.3.1/mppdyna_docker_centos7.zip>`_.
2929

30-
* Move these ZIP files to a a local directory ``local_image_build_dir``.
30+
* Move these ZIP files to the directory of pydyna/docker/solver and unzip the mppdyna_docker_centos7.zip file.
3131

32+
The files in this folder should look similar to this:
33+
34+
.. code:: bash
35+
36+
>>> Dockerfile README.rst do_build docker-compose.yml docker_dir mpi mppdyna_docker_centos7.zip ssh IMAGE ID CREATED SIZE
3237
3338
Build the Docker image
3439
----------------------
3540

3641
Once all prerequisites are met, perform these steps to build the Docker image:
3742

38-
#. In your terminal, go to the ``local_image_build_dir`` directory.
43+
#. In your terminal, go to the ``pydyna/docker/solver`` directory.
3944
#. Run this Docker command:
4045

4146
.. code:: bash

tests/testfiles/standard/base.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $# usrstr usrfrc nsbcs interm xpene ssthk ecdt tiedprj
1313
$# sfric dfric edc vfc th th_sf pen_sf ptscl
1414

1515
$# ignore frceng skiprwg outseg spotstp spotdel spothin dir_tie
16-
1
16+
1
1717
$# isym nserod rwgaps rwgdth rwksf icov swradf ithoff
1818

1919
$# shledg pstiff ithcnt tdcnof ftall unused shltrw igactc

tests/testfiles/standard/em/railgun.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $# usrstr usrfrc nsbcs interm xpene ssthk ecdt tiedprj
77
$# sfric dfric edc vfc th th_sf pen_sf ptscl
88

99
$# ignore frceng skiprwg outseg spotstp spotdel spothin dir_tie
10-
1
10+
1
1111
$# isym nserod rwgaps rwgdth rwksf icov swradf ithoff
1212

1313
$# shledg pstiff ithcnt tdcnof ftall unused shltrw igactc

tests/testfiles/standard/em/resistive_heating.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $# a1 o1
9393
100.0 400000.0
9494
*SET_NODE_LIST
9595
$# sid da1 da2 da3 da4 solver its -
96-
1 MECH 1
96+
1 MECH
9797
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
9898
4507 4508 0 0 0 0 0 0
9999
*ELEMENT_SOLID

tests/testfiles/standard/em/resistive_heating_2d.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ $# a1 o1
5656
10.0 10.0
5757
*SET_NODE_LIST
5858
$# sid da1 da2 da3 da4 solver its -
59-
1 MECH 1
59+
1 MECH
6060
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
6161
521 517 513 509 525 0 0 0
6262
*SET_NODE_LIST
6363
$# sid da1 da2 da3 da4 solver its -
64-
2 MECH 1
64+
2 MECH
6565
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
6666
585 605 625 564 565 0 0 0
6767
*SET_PART_LIST

tests/testfiles/standard/em/resistive_heating_2d_isopots.k

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@ $# a1 o1
5656
10.0 10.0
5757
*SET_NODE_LIST
5858
$# sid da1 da2 da3 da4 solver its -
59-
1 MECH 1
59+
1 MECH
6060
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
6161
521 517 513 509 525 0 0 0
6262
*SET_NODE_LIST
6363
$# sid da1 da2 da3 da4 solver its -
64-
2 MECH 1
64+
2 MECH
6565
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
6666
642 652 661 670 643 0 0 0
6767
*SET_NODE_LIST
6868
$# sid da1 da2 da3 da4 solver its -
69-
3 MECH 1
69+
3 MECH
7070
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
7171
549 548 577 597 617 0 0 0
7272
*SET_NODE_LIST
7373
$# sid da1 da2 da3 da4 solver its -
74-
4 MECH 1
74+
4 MECH
7575
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
7676
653 644 626 627 662 0 0 0
7777
*SET_PART_LIST

tests/testfiles/standard/em/resistive_heating_2d_multi_isopots.k

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,32 @@ $# a1 o1
6161
10.0 10.0
6262
*SET_NODE_LIST
6363
$# sid da1 da2 da3 da4 solver its -
64-
1 MECH 1
64+
1 MECH
6565
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
6666
642 652 661 670 643 0 0 0
6767
*SET_NODE_LIST
6868
$# sid da1 da2 da3 da4 solver its -
69-
2 MECH 1
69+
2 MECH
7070
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
7171
549 548 577 597 617 0 0 0
7272
*SET_NODE_LIST
7373
$# sid da1 da2 da3 da4 solver its -
74-
3 MECH 1
74+
3 MECH
7575
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
7676
642 652 661 670 643 0 0 0
7777
*SET_NODE_LIST
7878
$# sid da1 da2 da3 da4 solver its -
79-
4 MECH 1
79+
4 MECH
8080
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
8181
549 548 577 597 617 0 0 0
8282
*SET_NODE_LIST
8383
$# sid da1 da2 da3 da4 solver its -
84-
5 MECH 1
84+
5 MECH
8585
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
8686
653 644 626 627 662 0 0 0
8787
*SET_NODE_LIST
8888
$# sid da1 da2 da3 da4 solver its -
89-
6 MECH 1
89+
6 MECH
9090
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
9191
521 517 513 509 525 0 0 0
9292
*SET_PART_LIST

tests/testfiles/standard/em/rlc_define_func.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ float rlc(float time,float emdt,float curr,float curr1,
4545
}
4646
*SET_NODE_LIST
4747
$# sid da1 da2 da3 da4 solver its -
48-
1 MECH 1
48+
1 MECH
4949
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
5050
429 433 437 441 445 449 453 457
5151
461 465 469 473 477 481 485 489
5252
493 497 501 505 509 513 517 521
5353
525
5454
*SET_NODE_LIST
5555
$# sid da1 da2 da3 da4 solver its -
56-
2 MECH 1
56+
2 MECH
5757
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
5858
26 31 36 41 46 51 56 61
5959
66 71 76 81 86 91 96 101

tests/testfiles/standard/em/rlc_isopotential.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ $#lco or a1 a2 a3 v1 v2 v3
2828
0.0 0.0 0.0 0.0 0.0 0.0
2929
*SET_NODE_LIST
3030
$# sid da1 da2 da3 da4 solver its -
31-
1 MECH 1
31+
1 MECH
3232
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
3333
429 433 437 441 445 449 453 457
3434
461 465 469 473 477 481 485 489
3535
493 497 501 505 509 513 517 521
3636
525
3737
*SET_NODE_LIST
3838
$# sid da1 da2 da3 da4 solver its -
39-
2 MECH 1
39+
2 MECH
4040
$# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8
4141
26 31 36 41 46 51 56 61
4242
66 71 76 81 86 91 96 101

tests/testfiles/standard/icfd/driven_cavity.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ $# pid
1818
$# pid dof vad lcid sf vid death birth
1919
1 1 1 1 1.0 0 0.0 0.0
2020
*ICFD_CONTROL_GENERAL
21-
$# atype mtype dvcl rdvcl solcl
22-
1 0 0 0 0
21+
$# atype mtype dvcl rdvcl solcl - idr
22+
1 0 0 0 0 0
2323
*ICFD_CONTROL_OUTPUT
2424
$# msgl outl dtout lsppout - itout
2525
4 0 0.0 0 250

0 commit comments

Comments
 (0)