From 04c0136dd003805ac49af5cdfadde96f7704a09c Mon Sep 17 00:00:00 2001 From: zhangzhanqun Date: Thu, 31 Aug 2023 17:04:00 +0800 Subject: [PATCH 1/2] update test example to adjust changing of kwdreader.so --- tests/testfiles/standard/em/resistive_heating.k | 10 +++++----- tests/testfiles/standard/em/resistive_heating_2d.k | 4 ++-- .../standard/em/resistive_heating_2d_isopots.k | 4 ++-- .../standard/em/resistive_heating_2d_multi_isopots.k | 4 ++-- tests/testfiles/standard/icfd/imposed_move.k | 4 ++-- tests/testfiles/standard/icfd/internal_3d_flow.k | 4 ++-- tests/testfiles/standard/icfd/mesh_adaptivity.k | 4 ++-- tests/testfiles/standard/icfd/mesh_morphing.k | 4 ++-- tests/testfiles/standard/icfd/mesh_size.k | 4 ++-- tests/testfiles/standard/icfd/plate_flow.k | 4 ++-- tests/testfiles/standard/icfd/strong_fsi.k | 10 +++++----- tests/testfiles/standard/icfd/thermal_flow.k | 4 ++-- tests/testfiles/standard/icfd/weak_fsi.k | 10 +++++----- tests/testfiles/standard/sale.k | 8 ++++---- tests/testfiles/standard/thermal_stress.k | 6 +++--- 15 files changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/testfiles/standard/em/resistive_heating.k b/tests/testfiles/standard/em/resistive_heating.k index 92bd2937c..7255f21bf 100644 --- a/tests/testfiles/standard/em/resistive_heating.k +++ b/tests/testfiles/standard/em/resistive_heating.k @@ -3,8 +3,8 @@ $# title EM heated metal bar example *CONTROL_SOLUTION -$# soln nlq isnan lcint lcacc ncdcf nocop - 2 +$# soln nlq isnan lcint lcacc ncdcf nocop crvp + 2 *CONTROL_TERMINATION $# endtim endcyc dtmin endeng endmas nosol 20.0 0 0.0 0.01.000000E8 0 @@ -28,7 +28,7 @@ $# title $ pid secid mid eosid hgid grav adpopt tmid $# pid secid mid eosid hgid grav adpopt tmid - 1 3 3 3 + 1 3 3 0 0 0 0 3 *SECTION_SOLID $# secid elform aet unused unused unused cohoff gaskeit 3 1 0 0.0 0.0 @@ -40,7 +40,7 @@ $# title $ pid secid mid eosid hgid grav adpopt tmid $# pid secid mid eosid hgid grav adpopt tmid - 2 1 1 1 + 2 1 1 0 0 0 0 1 *SECTION_SOLID $# secid elform aet unused unused unused cohoff gaskeit 1 1 0 0.0 0.0 @@ -52,7 +52,7 @@ $# title $ pid secid mid eosid hgid grav adpopt tmid $# pid secid mid eosid hgid grav adpopt tmid - 3 2 2 2 + 3 2 2 0 0 0 0 2 *SECTION_SOLID $# secid elform aet unused unused unused cohoff gaskeit 2 1 0 0.0 0.0 diff --git a/tests/testfiles/standard/em/resistive_heating_2d.k b/tests/testfiles/standard/em/resistive_heating_2d.k index 7c875e77c..9db5a8de2 100644 --- a/tests/testfiles/standard/em/resistive_heating_2d.k +++ b/tests/testfiles/standard/em/resistive_heating_2d.k @@ -3,8 +3,8 @@ $# title EM Resistive heating basic 2D problem *CONTROL_SOLUTION -$# soln nlq isnan lcint lcacc ncdcf nocop - 2 +$# soln nlq isnan lcint lcacc ncdcf nocop crvp + 2 *CONTROL_TERMINATION $# endtim endcyc dtmin endeng endmas nosol 0.0101 0 0.0 0.01.000000E8 0 diff --git a/tests/testfiles/standard/em/resistive_heating_2d_isopots.k b/tests/testfiles/standard/em/resistive_heating_2d_isopots.k index 30a21f57f..274649829 100644 --- a/tests/testfiles/standard/em/resistive_heating_2d_isopots.k +++ b/tests/testfiles/standard/em/resistive_heating_2d_isopots.k @@ -3,8 +3,8 @@ $# title EM Resistive heating basic 2D problem with connected isopots *CONTROL_SOLUTION -$# soln nlq isnan lcint lcacc ncdcf nocop - 2 +$# soln nlq isnan lcint lcacc ncdcf nocop crvp + 2 *CONTROL_TERMINATION $# endtim endcyc dtmin endeng endmas nosol 0.0101 0 0.0 0.01.000000E8 0 diff --git a/tests/testfiles/standard/em/resistive_heating_2d_multi_isopots.k b/tests/testfiles/standard/em/resistive_heating_2d_multi_isopots.k index acb8e9314..4b63d9490 100644 --- a/tests/testfiles/standard/em/resistive_heating_2d_multi_isopots.k +++ b/tests/testfiles/standard/em/resistive_heating_2d_multi_isopots.k @@ -3,8 +3,8 @@ $# title EM Resistive heating basic 2D problem with connected isopots *CONTROL_SOLUTION -$# soln nlq isnan lcint lcacc ncdcf nocop - 2 +$# soln nlq isnan lcint lcacc ncdcf nocop crvp + 2 *CONTROL_TERMINATION $# endtim endcyc dtmin endeng endmas nosol 0.0101 0 0.0 0.01.000000E8 0 diff --git a/tests/testfiles/standard/icfd/imposed_move.k b/tests/testfiles/standard/icfd/imposed_move.k index 1ffc8d656..b1b10442b 100644 --- a/tests/testfiles/standard/icfd/imposed_move.k +++ b/tests/testfiles/standard/icfd/imposed_move.k @@ -90,8 +90,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 2 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 2 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 1 1 1 2 0 0 diff --git a/tests/testfiles/standard/icfd/internal_3d_flow.k b/tests/testfiles/standard/icfd/internal_3d_flow.k index 8e5857aa4..0593300e2 100644 --- a/tests/testfiles/standard/icfd/internal_3d_flow.k +++ b/tests/testfiles/standard/icfd/internal_3d_flow.k @@ -83,8 +83,8 @@ $# pid1 pid2 pid3 pid4 pid5 pid6 pid7 pid8 $# pid1 pid2 pid3 pid4 pid5 pid6 pid7 pid8 2 *MESH_BL -$# pid nelth blth blfe blst - 3 1 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 3 1 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 3151 1 1 2 8 7 diff --git a/tests/testfiles/standard/icfd/mesh_adaptivity.k b/tests/testfiles/standard/icfd/mesh_adaptivity.k index ee3e01d81..19c920c5b 100644 --- a/tests/testfiles/standard/icfd/mesh_adaptivity.k +++ b/tests/testfiles/standard/icfd/mesh_adaptivity.k @@ -86,8 +86,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 1 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 1 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 1 1 1 2 0 0 diff --git a/tests/testfiles/standard/icfd/mesh_morphing.k b/tests/testfiles/standard/icfd/mesh_morphing.k index 73fb37ed4..32c3a2478 100644 --- a/tests/testfiles/standard/icfd/mesh_morphing.k +++ b/tests/testfiles/standard/icfd/mesh_morphing.k @@ -109,8 +109,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 1 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 1 0.0 0.0 0 0 *MESH_INTERF $# volid 1 diff --git a/tests/testfiles/standard/icfd/mesh_size.k b/tests/testfiles/standard/icfd/mesh_size.k index bc57ea423..175cb11a6 100644 --- a/tests/testfiles/standard/icfd/mesh_size.k +++ b/tests/testfiles/standard/icfd/mesh_size.k @@ -86,8 +86,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 1 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 1 0.0 0.0 0 0 *MESH_SIZE $# volid 1 diff --git a/tests/testfiles/standard/icfd/plate_flow.k b/tests/testfiles/standard/icfd/plate_flow.k index cc8c63fd0..deeb1a472 100644 --- a/tests/testfiles/standard/icfd/plate_flow.k +++ b/tests/testfiles/standard/icfd/plate_flow.k @@ -80,8 +80,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 1 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 1 0.0 0.0 0 0 *MESH_EMBEDSHELL $# volid 1 diff --git a/tests/testfiles/standard/icfd/strong_fsi.k b/tests/testfiles/standard/icfd/strong_fsi.k index bcbd338d4..863cef04b 100644 --- a/tests/testfiles/standard/icfd/strong_fsi.k +++ b/tests/testfiles/standard/icfd/strong_fsi.k @@ -30,7 +30,7 @@ $# pid dof vad lcid sf vid death birth $# title $# pid secid mid eosid hgid grav adpopt tmid - 1 1 1 0 0 0 0 + 1 1 1 0 0 0 0 0 *SECTION_SHELL $# secid elform shrf nip propt qr/irid icomp setyp 1 12 1.0 5 1.0 0 0 1 @@ -350,8 +350,8 @@ $# ttm dt cfl lcidsf dtmin dtmax dtinit tdeath *ICFD_CONTROL_FSI $# owc bt dt idc lcidsf xproj 0 -$# nsub - 0 +$# nsub - - - vforc + 0 *ICFD_DATABASE_DRAG $# pid cpid dtout perout divi elout ssout 4 @@ -388,8 +388,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 2 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 2 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 1 1 1 2 0 0 diff --git a/tests/testfiles/standard/icfd/thermal_flow.k b/tests/testfiles/standard/icfd/thermal_flow.k index 9e11ded59..a0e511daf 100644 --- a/tests/testfiles/standard/icfd/thermal_flow.k +++ b/tests/testfiles/standard/icfd/thermal_flow.k @@ -109,8 +109,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 2 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 2 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 1 1 1 2 0 0 diff --git a/tests/testfiles/standard/icfd/weak_fsi.k b/tests/testfiles/standard/icfd/weak_fsi.k index 9aeffd083..c56a9851a 100644 --- a/tests/testfiles/standard/icfd/weak_fsi.k +++ b/tests/testfiles/standard/icfd/weak_fsi.k @@ -18,7 +18,7 @@ $# pid dof vad lcid sf vid death birth $# title $# pid secid mid eosid hgid grav adpopt tmid - 1 1 1 0 0 0 0 + 1 1 1 0 0 0 0 0 *SECTION_SHELL $# secid elform shrf nip propt qr/irid icomp setyp 1 12 1.0 5 1.0 0 0 1 @@ -344,8 +344,8 @@ $# ttm dt cfl lcidsf dtmin dtmax dtinit tdeath *ICFD_CONTROL_FSI $# owc bt dt idc lcidsf xproj 0 -$# nsub - 0 +$# nsub - - - vforc + 0 *ICFD_DATABASE_DRAG $# pid cpid dtout perout divi elout ssout 4 @@ -382,8 +382,8 @@ $# spid1 spid2 spid3 spid4 spid5 spid6 spid7 spid8 $# sid 1 *MESH_BL -$# pid nelth blth blfe blst - 4 2 0.0 0.0 0 +$# pid nelth blth blfe blst bldr + 4 2 0.0 0.0 0 0 *MESH_SURFACE_ELEMENT $# eid pid n1 n2 n3 n4 1 1 1 2 0 0 diff --git a/tests/testfiles/standard/sale.k b/tests/testfiles/standard/sale.k index bb64f3c05..08e89ab0b 100644 --- a/tests/testfiles/standard/sale.k +++ b/tests/testfiles/standard/sale.k @@ -87,13 +87,13 @@ $# n x ratio/xl 339 5.0 *ALE_STRUCTURED_MULTI-MATERIAL_GROUP $# ammgnm mid eosid unused unused unused unused pref -vacuum 1 0 0.0 + vacuum 1 0 0.0 $# ammgnm mid eosid unused unused unused unused pref -air 2 1 1.01325E-6 + air 2 1 1.01325E-6 $# ammgnm mid eosid unused unused unused unused pref -HE 3 2 0.0 + HE 3 2 0.0 $# ammgnm mid eosid unused unused unused unused pref -liner 4 3 0.0 + liner 4 3 0.0 *ALE_STRUCTURED_MESH_VOLUME_FILLING $# mshid unused ammgto unused nsample unused unused- vid 1 air 4 0 diff --git a/tests/testfiles/standard/thermal_stress.k b/tests/testfiles/standard/thermal_stress.k index 047577421..f5064f83c 100644 --- a/tests/testfiles/standard/thermal_stress.k +++ b/tests/testfiles/standard/thermal_stress.k @@ -20,8 +20,8 @@ $# hgen rwen slnten rylen irgen maten drlen disen $# ihq qh 2 0.0 *CONTROL_SOLUTION -$# soln nlq isnan lcint lcacc ncdcf nocop - 2 +$# soln nlq isnan lcint lcacc ncdcf nocop crvp + 2 *CONTROL_TERMINATION $# endtim endcyc dtmin endeng endmas nosol 3.0 0 0.0 0.01.000000E8 0 @@ -48,7 +48,7 @@ $ PID SECID MID TMID $# title slab $# pid secid mid eosid hgid grav adpopt tmid - 1 1 1 1 + 1 1 1 0 0 0 0 1 *SECTION_SOLID $# secid elform aet unused unused unused cohoff gaskeit 1 1 0 0.0 0.0 From 74db3b41e93674aa2b934c7038671b4826cf065a Mon Sep 17 00:00:00 2001 From: zhangzhanqun Date: Wed, 6 Sep 2023 11:15:24 +0800 Subject: [PATCH 2/2] update dockerfile for solver --- docker/solver/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/solver/Dockerfile b/docker/solver/Dockerfile index 7b43ed519..3e60a31e9 100644 --- a/docker/solver/Dockerfile +++ b/docker/solver/Dockerfile @@ -85,3 +85,4 @@ COPY mpi /opt/openmpi # ifort runtime libraries in /ansys_inc/lib COPY docker_dir /ansys_inc +RUN chmod 755 /ansys_inc/server.py \ No newline at end of file