From 14606c43304443478e7cd1cbdc96f7b127e0a807 Mon Sep 17 00:00:00 2001 From: "jonathan.froehlich" <jonathan.froehlich@kit.edu> Date: Fri, 3 Dec 2021 15:53:06 +0100 Subject: [PATCH] Updated tests and configs --- cardmech/conf/solvers.conf | 2 +- cardmech/conf/verbose.conf | 4 +- cardmech/test/elasticity/TestPrestress.cpp | 8 +- geo/QuarterEllipsoid.geo | 348 ++++++++++----------- tools/geometries/vtu_to_mesh.py | 4 +- 5 files changed, 184 insertions(+), 182 deletions(-) diff --git a/cardmech/conf/solvers.conf b/cardmech/conf/solvers.conf index a34ed68c2..aba0ef1db 100644 --- a/cardmech/conf/solvers.conf +++ b/cardmech/conf/solvers.conf @@ -52,7 +52,7 @@ MechReduction = 1e-12; MechSteps = 10000; # === Newton Method === # -NewtonEpsilon = 1e-3; +NewtonEpsilon = 1e-4; NewtonReduction = 1e-12; NewtonSteps = 30; NewtonLineSearchSteps = 5; diff --git a/cardmech/conf/verbose.conf b/cardmech/conf/verbose.conf index 7643bcf17..754db8391 100644 --- a/cardmech/conf/verbose.conf +++ b/cardmech/conf/verbose.conf @@ -19,8 +19,8 @@ CoupledSolverVerbose = 2 CellModelVerbose = 10 # = Main Verbose = -ElphyVerbose = 1 #10 -MechVerbose = 1 +ElphyVerbose = -1 #10 +MechVerbose = -1 # = Plot Verbose = ElphySolverVTK = 1 diff --git a/cardmech/test/elasticity/TestPrestress.cpp b/cardmech/test/elasticity/TestPrestress.cpp index 9616c38dd..9742ab748 100644 --- a/cardmech/test/elasticity/TestPrestress.cpp +++ b/cardmech/test/elasticity/TestPrestress.cpp @@ -61,9 +61,11 @@ TEST_P(PrestressTest, CheckInitialDisplacement) { INSTANTIATE_TEST_SUITE_P(OnBeam, PrestressTest, Values( //TestPrestressParameter({0, 0, {0.0, 0.0,-0.0005,0.0}, "BenchmarkBeam3DTet"}), - TestPrestressParameter({0, 1, {0.0, 0.0,-0.0005,0.0}, "BenchmarkBeam3DTet"}), - TestPrestressParameter({0, 2, {0.0, 0.0,-0.0005,0.0}, "BenchmarkBeam3DTet"}), - TestPrestressParameter({1, 1, {0.0, 0.0,-0.0005,0.0}, "BenchmarkBeam3DTet"}) + TestPrestressParameter({0, 1, {10.0, 0.0, 1.0, 0.0}, "NeumannBlock3DTet"}), + TestPrestressParameter({1, 1, {10.0, 0.0, 1.0, 0.0}, "NeumannBlock3DTet"}), + TestPrestressParameter({2, 1, {10.0, 0.0, 1.0, 0.0}, "NeumannBlock3DTet"}), + TestPrestressParameter({0, 2, {10.0, 0.0, 1.0, 0.0}, "NeumannBlock3DTet"}), + TestPrestressParameter({1, 2, {10.0, 0.0, 1.0, 0.0}, "NeumannBlock3DTet"}) )); /* INSTANTIATE_TEST_SUITE_P(OnEllipsoid, PrestressTest, Values( diff --git a/geo/QuarterEllipsoid.geo b/geo/QuarterEllipsoid.geo index f1dcac82d..b72aba4dc 100644 --- a/geo/QuarterEllipsoid.geo +++ b/geo/QuarterEllipsoid.geo @@ -2,136 +2,136 @@ POINTS: 5.066103 4.599616 3.584207 4.801096 6.832162 3.487743 3.764178 5.744528 3.286529 -5.221646 5.221646 5.0 -4.171387 5.230754 5.0 -5.26213 6.271162 5.0 +5.221645 5.221645 5.0 +4.171387 5.230753 5.0 +5.26213 6.271163 5.0 6.104471 5.71338 3.364556 1.401939 8.303618 2.558791 2.108509 8.053211 3.767616 0.914819 6.84803 2.734268 -2.748438 7.95039 2.696529 +2.748439 7.950389 2.696529 6.551616 3.40683 -9.171314 -5.480983 2.575522 -8.52616 +5.480983 2.575521 -8.52616 5.208108 3.488358 -7.566456 4.785261 3.580168 -8.851358 5.478694 6.137437 -4.673738 6.011705 5.788433 -3.543228 -4.92435 6.755117 -3.38311 -4.761035 4.978178 -3.023825 -2.360619 6.516034 2.390351 +4.92435 6.755117 -3.383111 +4.761035 4.978179 -3.023825 +2.360619 6.516035 2.390351 1.362385 6.43437 -5.819858 -2.021953 6.081706 -6.83657 +2.021953 6.081707 -6.836571 2.975081 7.28405 -7.013214 2.669064 5.991028 -5.940665 -5.48487 6.480298 -1.02181 +5.484869 6.480299 -1.02181 4.517225 5.330002 -1.0467 4.05204 7.454914 -1.199334 -4.957182 6.831184 -2.239955 -2.359838 6.581688 0.814754 -4.00705 7.478008 1.233785 +4.957182 6.831183 -2.239955 +2.359838 6.581688 0.814753 +4.00705 7.478009 1.233785 3.54712 6.031735 -0.461515 3.311175 7.831431 0.127512 1.046093 1.815428 -16.220587 -1.599864 2.21555 -17.518467 +1.599864 2.21555 -17.518465 2.388052 3.184351 -16.347855 2.087813 1.129294 -15.99279 -4.432044 5.418168 0.050855 +4.432044 5.418169 0.050855 4.680886 7.097947 0.183057 -4.779495 5.096302 1.042119 -5.966466 6.055782 0.360262 -3.959166 7.433773 -2.539787 +4.779495 5.096303 1.042119 +5.966466 6.055781 0.360262 +3.959167 7.433773 -2.539787 3.554878 7.538696 -3.659855 -3.82624 5.641794 -3.862919 -3.514678 7.55402 3.69392 -2.671025 6.274762 3.834513 +3.826241 5.641793 -3.862919 +3.514678 7.55402 3.693919 +2.671025 6.274763 3.834513 7.752138 3.142512 -3.319414 6.62569 1.4026 -4.298602 -6.276254 2.735845 -3.539206 +6.276255 2.735845 -3.539206 7.907516 2.28705 -4.635504 -3.954992 5.70839 -2.13426 +3.954992 5.708391 -2.13426 7.062614 4.409886 3.750234 -7.031348 4.627451 2.615846 +7.031347 4.627451 2.615846 5.785114 3.596067 3.916523 -6.992314 0.0 -0.796456 +6.992313 0.0 -0.796456 8.499488 0.0 0.520973 8.491009 0.0 -0.976394 -6.915464 1.084514 -0.033912 -2.474514 6.425428 -3.062946 +6.915463 1.084514 -0.033912 +2.474514 6.425427 -3.062946 1.352159 7.91699 -6.073217 -1.042871 6.227708 -7.337372 +1.042871 6.227708 -7.337371 1.338926 7.570036 -7.904988 6.906038 1.00325 -1.330468 5.49659 1.241092 -10.085793 6.727348 2.166982 -10.284962 -5.142728 1.10239 -11.218077 +5.142728 1.102389 -11.218077 4.775968 2.255788 -11.155991 3.631444 5.554046 -5.411514 2.608928 6.21096 -4.619056 -3.797086 7.074102 -6.091231 -8.141334 2.453014 0.008381 -7.726558 3.544496 0.40973 +3.797086 7.074101 -6.091231 +8.141335 2.453014 0.008381 +7.726559 3.544496 0.40973 7.788424 3.383322 -0.953851 6.597594 2.323476 0.657094 6.99479 0.0 0.655811 4.766464 4.768086 -4.573313 4.881653 4.922069 2.35797 5.468692 4.333318 1.364678 -6.426154 5.516278 1.648162 +6.426154 5.516279 1.648162 3.800155 5.851847 1.362401 -2.845033 7.651632 -5.17485 -5.789066 2.4836 -7.413491 +2.845033 7.651631 -5.17485 +5.789065 2.4836 -7.413491 7.07952 3.102068 -7.709668 -7.611802 1.559997 -7.513544 +7.611803 1.559997 -7.513545 6.176336 0.0 -8.000614 -6.25757 1.15614 -7.083009 +6.257569 1.15614 -7.083009 5.855623 1.368803 -8.701631 -5.94349 3.559017 2.438656 +5.943491 3.559017 2.438656 8.125326 0.0 -5.451383 -6.455178 0.0 -6.575415 -6.672436 0.0 -5.139518 +6.455177 0.0 -6.575415 +6.672435 0.0 -5.139517 7.900759 1.470101 -6.043477 5.305606 4.56608 -0.092688 6.400101 2.417633 3.597039 6.519726 2.413664 1.984015 8.241734 1.744217 2.509326 6.803821 1.182255 2.779933 -6.740216 1.482316 -2.844893 +6.740215 1.482316 -2.844893 5.179294 2.473864 -9.730943 7.086087 2.342171 -8.864692 7.281836 1.205176 -9.184875 6.007858 2.494804 -6.27756 6.4731 1.353275 -5.573885 7.548592 2.727252 -6.10739 -4.258896 7.018362 -4.81769 -5.010869 6.316235 -5.876502 +4.258896 7.018362 -4.817689 +5.010869 6.316235 -5.876503 5.406606 3.597832 -6.344204 3.213755 1.918744 -16.611137 2.571543 0.0 -15.811318 2.918265 1.379487 -15.084682 5.996012 2.525989 -11.910225 1.897214 2.377728 -15.310981 -5.567518 4.021618 -3.284709 -5.861984 6.060789 -2.385974 +5.567519 4.021617 -3.284709 +5.861985 6.060789 -2.385974 5.315178 4.497747 -1.74984 6.832549 0.0 -3.696116 8.241625 1.562778 -3.024168 8.163313 1.090436 -4.599976 -3.189736 5.528219 -6.981616 +3.189735 5.528219 -6.981616 3.131431 5.177879 -8.546264 2.803256 6.954929 -8.721794 2.929423 6.38986 -10.408763 1.984201 5.554544 -9.154776 5.82959 0.0 -9.410795 6.96643 0.924795 -10.414549 -0.0 8.30529 -3.96486 -0.0 8.426585 -2.472396 +0.0 8.305289 -3.96486 +0.0 8.426585 -2.472397 0.0 6.832549 -3.696116 0.984866 6.82018 -2.989396 -7.686311 3.436819 2.581274 +7.686311 3.436819 2.581275 6.304737 4.37907 -7.956382 -6.729238 1.062898 3.906615 +6.729238 1.062897 3.906615 8.153208 1.5332 4.054772 -1.488751 6.522642 5.0 +1.488751 6.522643 5.0 2.799921 7.69272 5.0 6.107362 3.411051 -0.618536 1.135316 3.271845 -14.773639 @@ -140,7 +140,7 @@ POINTS: 2.068959 5.840998 -7.907658 5.993264 3.547514 -10.613178 5.486732 2.247238 -13.260287 -4.51624 1.549568 -12.431442 +4.516241 1.549567 -12.431442 3.52251 2.65472 -13.200438 3.861092 1.253725 -13.849277 8.348292 0.0 3.511396 @@ -148,58 +148,58 @@ POINTS: 1.266914 6.704184 3.80042 0.0 2.571543 -15.811318 0.0 6.99479 0.655811 -0.0 6.992314 -0.796456 +0.0 6.992313 -0.796456 0.0 8.499488 0.520973 1.1619 6.902212 -0.236159 2.361764 4.952524 -14.132791 -2.521834 4.16116 -15.171581 +2.521833 4.16116 -15.171581 2.347752 3.206014 -13.995302 -7.32826 3.743197 -4.65817 +7.328259 3.743197 -4.658169 5.664101 3.630364 -4.695638 0.0 8.452142 2.017615 1.141034 6.881578 1.420093 1.282685 8.393291 0.987549 5.187365 6.683676 1.84406 7.577064 0.0 -8.394723 -2.674492 8.046284 1.381264 +2.674493 8.046284 1.381264 3.848946 7.498618 2.437384 -6.522642 1.488751 5.0 +6.522643 1.488751 5.0 4.335062 4.523093 -7.582773 0.964632 0.892293 -16.697784 4.667557 2.711879 -14.293501 8.012187 2.791467 1.213729 7.381619 4.17127 1.394557 6.057824 3.485988 0.942654 -4.509726 6.450172 -7.001784 +4.509726 6.450171 -7.001784 2.305548 8.000849 -3.749281 1.313962 8.323852 -2.46696 -4.368983 4.82673 -6.246039 -3.96923 6.539362 -8.07682 +4.368983 4.826731 -6.246039 +3.96923 6.539362 -8.076819 2.209799 6.635191 -0.732738 2.185194 8.216695 0.211751 -8.426585 0.0 -2.472396 -6.938544 0.0 -2.247727 +8.426585 0.0 -2.472397 +6.938543 0.0 -2.247727 3.972389 4.361082 -9.151908 -5.144626 5.65279 -8.105146 -3.032666 4.829064 -9.859847 +5.144627 5.65279 -8.105146 +3.032665 4.829063 -9.859847 6.927654 4.731637 -3.0131 -2.488449 8.11461 -1.107987 +2.488449 8.114611 -1.107987 6.465711 1.154886 -11.748876 6.559614 4.978056 -4.609821 5.147379 4.170317 -5.491441 -6.946534 3.992914 -6.192614 -7.883912 0.0 -6.929158 -6.0016 5.42272 -5.704228 +6.946535 3.992913 -6.192614 +7.883912 0.0 -6.929157 +6.001599 5.42272 -5.704228 0.978433 8.255126 3.888542 -6.271162 5.26213 5.0 +6.271163 5.26213 5.0 0.0 6.845144 3.556014 0.0 6.690384 5.0 -0.0 6.946014 2.107258 +0.0 6.946013 2.107259 4.093211 7.089649 5.0 -6.65833 2.117126 -1.042924 +6.65833 2.117126 -1.042925 8.021043 2.63126 -2.21665 7.585987 3.693651 -2.290591 -6.229261 3.058719 -2.226544 +6.229261 3.058719 -2.226545 4.2245 3.623008 -10.311399 7.010613 4.81085 0.163565 8.402326 1.278353 0.55626 @@ -211,25 +211,25 @@ POINTS: 2.751567 6.399464 -1.675083 3.829986 3.227555 -11.876209 5.020724 3.426792 -12.935685 -3.767397 4.079836 -14.009507 +3.767397 4.079835 -14.009507 8.325476 1.622884 -1.289614 2.715131 3.840069 -12.591607 -1.103935 4.106784 -13.503306 +1.103935 4.106783 -13.503306 1.351252 4.806118 -11.916183 -2.949785 5.231592 -13.095675 -6.946014 0.0 2.107258 +2.949785 5.231593 -13.095675 +6.946013 0.0 2.107259 1.19462 4.97707 -14.772654 -5.56549 4.700494 -9.540879 +5.565491 4.700493 -9.540879 5.079064 4.579096 -10.994178 2.860538 4.411988 -11.221915 -8.30529 0.0 -3.96486 +8.305289 0.0 -3.96486 0.0 1.398063 -16.65749 -2.95527 7.892378 -2.457122 -8.186422 0.0 5.0 -6.470002 5.487996 -1.230014 +2.95527 7.892377 -2.457122 +8.186421 0.0 5.0 +6.470002 5.487996 -1.230013 1.392379 5.78925 -13.20666 4.115965 4.824033 -12.324394 -7.739864 3.046143 3.839518 +7.739863 3.046143 3.839518 7.182214 4.500828 -1.470793 5.308646 3.820553 -11.821345 4.192497 6.029498 -9.32444 @@ -240,42 +240,42 @@ POINTS: 0.0 5.82959 -9.410795 0.0 7.577064 -8.394723 1.057366 5.91407 -8.72454 -7.199288 0.0 -9.843596 -6.148956 2.609965 -5.081712 -0.0 1.463373 -18.223957 -1.349922 6.833722 -1.678967 +7.199287 0.0 -9.843596 +6.148955 2.609965 -5.081713 +0.0 1.463373 -18.223959 +1.349922 6.833723 -1.678967 3.10415 2.24862 -14.224871 -5.92935 1.207671 -12.996823 +5.929349 1.207671 -12.996823 5.405972 0.0 -10.799763 -0.0 8.186422 5.0 +0.0 8.186421 5.0 3.863716 0.0 -16.47974 3.511188 0.0 -14.706712 -0.0 6.455178 -6.575415 -0.0 6.938544 -2.247727 +0.0 6.455177 -6.575415 +0.0 6.938543 -2.247727 2.69711 1.101045 -17.380314 5.741338 5.434091 -6.813334 -0.0 6.743096 -11.269672 +0.0 6.743095 -11.269672 0.0 5.405972 -10.799763 -0.0 6.198278 -12.664215 +0.0 6.198277 -12.664215 1.170691 6.424574 -11.847881 4.270536 0.0 -13.469821 -5.230754 4.171387 5.0 +5.230753 4.171387 5.0 4.162719 5.51728 -10.775951 -1.314403 8.144304 -4.480802 +1.314403 8.144303 -4.480802 1.181101 6.662658 -4.353846 6.690384 0.0 5.0 -6.743096 0.0 -11.269672 +6.743095 0.0 -11.269672 2.714215 5.957426 -11.805409 -1.513038 5.392173 -10.198609 -0.0 6.672436 -5.139518 +1.513037 5.392173 -10.198609 +0.0 6.672435 -5.139517 0.0 2.765436 -17.494207 0.0 0.0 -17.0 1.390438 0.907802 -18.143782 -0.0 7.199288 -9.843596 +0.0 7.199287 -9.843596 1.443868 6.775257 -10.727464 1.421557 8.062052 5.0 0.0 8.491009 -0.976394 -6.198278 0.0 -12.664215 +6.198277 0.0 -12.664215 0.0 4.892602 -12.158011 1.431204 7.201281 -9.330807 6.027828 2.902849 5.0 @@ -283,21 +283,21 @@ POINTS: 4.892602 0.0 -12.158011 2.902849 6.027828 5.0 3.646732 3.016575 -15.36944 -0.0 7.883912 -6.929158 +0.0 7.883912 -6.929157 0.0 3.511188 -14.706712 0.0 4.781388 -15.297925 0.0 4.270536 -13.469821 -7.089648 4.093211 5.0 +7.089649 4.093211 5.0 0.0 5.550822 -14.01402 8.062052 1.421557 5.0 1.398063 0.0 -16.65749 2.765436 0.0 -17.494207 0.0 8.125326 -5.451383 0.0 0.0 -18.5 -1.463373 0.0 -18.223957 +1.463373 0.0 -18.223959 0.0 3.863716 -16.47974 -6.290348 6.290348 5.0 -6.098763 7.726422 3.525614 +6.290348 6.290349 5.0 +6.098763 7.726422 3.525615 6.988606 6.879922 3.912063 6.340662 7.317514 5.0 2.321048 9.211703 -6.247323 @@ -305,7 +305,7 @@ POINTS: 2.108584 9.014716 -7.560095 9.921607 0.984645 -1.539082 9.821542 1.111023 -3.035088 -9.648355 2.388913 -2.193026 +9.648355 2.388913 -2.193027 5.993159 7.799224 -3.607849 2.727864 9.290251 5.0 7.317514 6.340662 5.0 @@ -314,92 +314,92 @@ POINTS: 3.264155 1.171172 -18.758854 0.0 9.682458 5.0 0.943131 9.75596 3.96573 -1.437838 9.874303 1.312648 +1.437837 9.874303 1.312648 3.722538 9.128716 3.352165 2.491797 9.681799 0.463559 1.278612 9.917806 -0.095468 -2.714434 9.615937 -0.813884 +2.714435 9.615937 -0.813884 3.516393 8.925363 -5.647262 -5.00158 8.154678 -5.825954 -3.847876 9.228189 0.370805 +5.00158 8.154677 -5.825954 +3.847877 9.228189 0.370805 5.758195 7.452727 -6.723112 2.377566 9.628881 2.554878 0.0 9.995065 0.62828 -3.50093 9.295193 -2.317652 +3.500931 9.295193 -2.317652 4.739328 8.750224 -1.972154 4.235498 9.049482 -0.818348 -6.127598 7.460083 -5.21525 +6.127597 7.460083 -5.21525 9.608257 2.178892 -3.425678 9.384758 2.603804 -4.537189 9.67644 1.281338 -4.347266 -3.150318 9.454015 1.669843 -8.142078 5.710668 2.092668 -8.334616 5.521581 0.430426 +3.150319 9.454015 1.669843 +8.142078 5.710669 2.092668 +8.334617 5.521581 0.430426 8.748052 4.701532 -2.338539 -8.362888 5.102844 -4.011525 +8.362888 5.102845 -4.011525 1.117952 9.840235 2.77125 0.0 9.841475 3.547035 8.744239 4.781202 1.647304 -4.75254 8.65524 -3.162388 +4.752541 8.65524 -3.162388 2.468412 8.687375 -8.58754 0.0 9.934009 -2.29389 -1.24836 9.894114 -1.480686 +1.24836 9.894114 -1.480687 4.022239 8.807474 5.0 2.584154 2.082214 -18.866535 -2.416931 9.569071 -3.21952 -1.263634 9.814302 -2.886306 -1.330507 9.683424 -4.22424 +2.416931 9.569071 -3.219519 +1.263633 9.814302 -2.886306 +1.330507 9.683424 -4.224239 8.777527 4.773804 -0.814421 9.163301 3.998621 0.42399 0.0 0.0 -20.0 0.0 1.441748 -19.791044 1.016425 0.896091 -19.81554 -3.561016 4.832041 -15.996318 -4.67775 4.45488 -15.267311 +3.561017 4.832041 -15.996318 +4.67775 4.454881 -15.267311 0.0 9.991315 -0.833365 -4.854151 8.435327 -4.59673 +4.854151 8.435327 -4.596731 9.366259 3.450924 -1.207167 -9.222326 3.524133 -3.180678 -7.355358 2.595188 -12.516182 +9.222326 3.524133 -3.180679 +7.355359 2.595188 -12.516182 5.322284 8.463494 0.412567 0.0 9.822524 -3.751277 -7.88968 2.834088 -10.903376 +7.889679 2.834089 -10.903376 8.049473 1.295595 -11.580573 6.959392 2.285125 -13.615442 -6.412184 3.514513 -13.642886 +6.412185 3.514513 -13.642886 8.145402 5.234732 5.0 7.96002 5.790916 3.52328 7.257147 6.590804 -3.947214 -4.893442 5.676856 -13.240472 -4.061444 5.551108 -14.517558 -2.425613 9.395024 -4.837322 +4.893442 5.676857 -13.240472 +4.061444 5.551107 -14.517558 +2.425613 9.395024 -4.837323 1.270042 9.512462 -5.621414 -1.377958 9.583905 5.0 +1.377957 9.583905 5.0 9.431439 0.0 -6.647692 -9.406783 1.601728 -5.982272 +9.406783 1.601729 -5.982272 3.603608 9.119057 -3.92775 -6.18982 7.802828 1.791097 -6.538408 7.56573 0.18913 +6.18982 7.802827 1.791097 +6.538408 7.565731 0.18913 0.0 9.945297 2.089081 -3.77384 7.05385 -12.000223 +3.773839 7.05385 -12.000223 3.929611 6.421026 -13.16489 5.109948 6.18885 -11.930897 9.147276 0.0 -8.081422 -8.855373 1.485544 -8.803527 -4.608474 8.8316 1.74908 -4.482355 8.219774 -7.026756 +8.855373 1.485543 -8.803527 +4.608473 8.8316 1.74908 +4.482355 8.219773 -7.026756 6.656469 0.0 -14.925337 -6.02081 1.187948 -15.790962 +6.020811 1.187948 -15.790962 2.36691 4.540552 -17.179188 1.3838 3.769026 -18.317156 4.888928 7.362989 -9.356234 -3.80417 7.795076 -9.952908 -3.945352 8.143208 -8.514075 +3.80417 7.795075 -9.952908 +3.945353 8.143208 -8.514075 9.162213 1.544635 -7.39404 -2.056504 9.603109 3.76886 +2.056504 9.603109 3.768861 3.033687 5.70446 -15.265108 -7.205864 6.82255 2.472528 -7.406436 6.693908 1.159845 +7.205864 6.822549 2.472528 +7.406435 6.693908 1.159845 4.592819 3.658445 -16.189106 4.290815 2.561371 -17.323774 3.63056 3.896829 -16.927345 @@ -407,41 +407,41 @@ POINTS: 4.928 8.473734 3.955074 5.170357 8.437559 2.880973 3.822908 1.76438 -18.14082 -2.874116 3.24604 -18.022507 -7.91231 5.985194 -2.508227 +2.874115 3.24604 -18.022507 +7.912311 5.985194 -2.508227 7.030446 6.98901 -2.627976 6.570754 5.663218 -9.95051 5.609637 6.397016 -10.509075 -6.402262 5.224398 -11.263517 +6.402262 5.224399 -11.263517 5.234732 8.145402 5.0 9.655634 0.0 -5.203358 1.217488 1.962768 -19.459215 1.643579 2.855159 -18.883509 0.0 2.779896 -19.211681 5.360192 4.642974 -14.101225 -5.225308 7.527028 -8.009992 +5.225308 7.527029 -8.009993 9.995065 0.0 0.62828 9.991315 0.0 -0.833365 -9.940412 1.084272 -0.224247 -2.249598 5.474352 -16.120892 -5.840074 8.036067 -2.293613 -2.934266 7.750526 -11.192752 +9.940412 1.084273 -0.224247 +2.249599 5.474352 -16.120892 +5.840075 8.036067 -2.293613 +2.934265 7.750526 -11.192752 2.247424 9.697873 -1.897723 -7.622814 6.471856 -0.176254 -7.035808 7.07383 -1.353989 +7.622815 6.471857 -0.176254 +7.035809 7.073831 -1.353989 1.471817 7.85539 -12.021082 -9.683717 2.49241 0.232647 +9.683717 2.492409 0.232647 9.788081 1.987103 -0.98972 -6.290584 2.421831 -14.773393 -5.295788 2.384052 -16.281391 -7.389736 4.362426 -10.2686 +6.290585 2.421831 -14.773393 +5.295787 2.384052 -16.281391 +7.389737 4.362426 -10.2686 4.993232 1.156251 -17.173319 3.965453 0.0 -18.360304 -7.48259 1.191537 -13.052368 -6.116088 6.530472 -8.932281 +7.482591 1.191537 -13.052368 +6.116087 6.530472 -8.932281 6.931408 3.93547 -12.077691 9.892489 1.290916 1.374308 -9.35935 3.0779 3.422922 +9.35935 3.0779 3.422923 9.161986 3.861816 2.139516 9.571613 2.76367 1.727832 8.521426 1.361148 -10.105954 @@ -449,17 +449,17 @@ POINTS: 5.521678 3.503721 -15.130764 8.625067 3.023535 -8.115776 7.923916 4.278562 -8.69608 -1.259699 7.222378 -13.601533 +1.259699 7.222377 -13.601533 0.0 7.89342 -12.279076 1.180725 9.274963 -7.093924 8.142663 4.43155 -7.498908 8.886463 3.091493 -6.774492 -1.015673 4.680434 -17.556988 +1.015673 4.680433 -17.556988 9.064702 3.145124 -5.635379 9.822524 0.0 -3.751277 8.291934 2.958298 -9.485211 2.740098 7.153814 -12.855319 -7.207772 5.426537 -8.625711 +7.207771 5.426537 -8.625711 6.84593 1.18465 -14.384693 5.886745 0.0 -16.167404 0.0 9.147276 -8.081422 @@ -467,26 +467,26 @@ POINTS: 1.322352 8.643559 -9.703661 0.0 8.799571 -9.501061 8.700674 4.638636 3.335458 -7.32106 0.0 -13.623814 -6.37181 6.680444 -7.686798 +7.321061 0.0 -13.623814 +6.371809 6.680444 -7.686799 9.786828 1.528015 2.744577 8.919439 3.861522 -4.704149 6.635108 6.779438 -6.329156 -1.6829 8.23486 -10.83604 -2.732696 8.272166 -9.819094 +1.6829 8.234859 -10.83604 +2.732697 8.272165 -9.819094 1.521274 6.279054 -15.265543 0.0 6.656469 -14.925337 5.967158 4.933297 -12.6579 8.141657 5.779852 -1.107662 7.444114 6.094829 -5.454624 7.436375 5.664592 -7.102878 -4.995854 0.0 -17.325293 +4.995853 0.0 -17.325293 9.682458 0.0 5.0 9.680141 1.4641 4.074932 -9.583905 1.377958 5.0 +9.583905 1.377957 5.0 9.841475 0.0 3.547035 -8.373136 4.61219 -5.871384 -1.21773 5.448249 -16.593218 +8.373137 4.61219 -5.871384 +1.217729 5.448249 -16.593218 0.0 8.383643 -10.902205 8.807474 4.022239 5.0 2.780235 6.476139 -14.188716 @@ -497,10 +497,10 @@ POINTS: 0.0 9.655634 -5.203358 7.89342 0.0 -12.279076 9.934009 0.0 -2.29389 -0.0 4.995854 -17.325293 +0.0 4.995853 -17.325293 9.290251 2.727864 5.0 4.400285 7.167487 -10.819357 -0.0 7.32106 -13.623814 +0.0 7.321061 -13.623814 8.383643 0.0 -10.902205 0.0 3.965453 -18.360304 CELLS: diff --git a/tools/geometries/vtu_to_mesh.py b/tools/geometries/vtu_to_mesh.py index f0554991e..f9c0f3c48 100644 --- a/tools/geometries/vtu_to_mesh.py +++ b/tools/geometries/vtu_to_mesh.py @@ -134,7 +134,7 @@ def full_ellipsoid_bnd(points): def convert_quarter_ellipsoid(): print("Start conversion of QuarterEllipsoid") - geo = VtuMesh("vtk/QuarterEllipsoid", "QuarterEllipsoid", 0.001) + geo = VtuMesh("vtk/QuarterEllipsoid", "QuarterEllipsoid", 1) geo.set_boundary_data(quarter_ellipsoid_bnd) geo.read_celldata([1, 2, 3]) geo.save() @@ -143,7 +143,7 @@ def convert_quarter_ellipsoid(): def convert_full_ellipsoid(): print("Start converion of FullEllipsoid") - geo = VtuMesh("vtk/ellipsoid2Fibers", "FullEllipsoid", 0.001) + geo = VtuMesh("vtk/ellipsoid2Fibers", "FullEllipsoid", 1) geo.set_boundary_data(full_ellipsoid_bnd) geo.read_celldata([1, 2, 3]) geo.save() -- GitLab