|
636 | 636 | "n_plot_pts = n_felem + 1\n", |
637 | 637 | "n_plot_pts = 20\n", |
638 | 638 | "\n", |
639 | | - "from engy_5310.toolkit import write_engy5310_p1_1d_input_file\n", |
| 639 | + "try: \n", |
| 640 | + " from engy_5310.toolkit import write_engy5310_p1_1d_input_file \n", |
| 641 | + "except ModuleNotFoundError:\n", |
| 642 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
640 | 643 | "\n", |
641 | 644 | "write_engy5310_p1_1d_input_file(x_left, x_right, u_left=u_left, u_right=u_right, \n", |
642 | 645 | " diff_coeff=diff_coeff, source_s=source_s, n_felem=n_felem, order=order, \n", |
|
657 | 660 | "# Engy-5310 Problem 1: Poisson 1D FEM\r\n", |
658 | 661 | "# UMass Lowell Nuclear Chemical Engineering\r\n", |
659 | 662 | "# Prof. Valmor F. de Almeida\r\n", |
660 | | - "# 13Apr21 15:07:57\r\n", |
| 663 | + "# 17Apr21 22:16:33\r\n", |
661 | 664 | "\r\n", |
662 | 665 | "# Parameters\r\n", |
663 | 666 | "xmin = 0.00000e+00\r\n", |
|
770 | 773 | "LibMesh Version: 27141d18f3137f77e33cdb3d565fd38ebfbfc46f\n", |
771 | 774 | "PETSc Version: 3.15.0\n", |
772 | 775 | "SLEPc Version: 3.14.2\n", |
773 | | - "Current Time: Tue Apr 13 15:07:57 2021\n", |
774 | | - "Executable Timestamp: Tue Apr 13 13:37:48 2021\n", |
| 776 | + "Current Time: Sat Apr 17 22:16:33 2021\n", |
| 777 | + "Executable Timestamp: Sat Apr 17 21:27:24 2021\n", |
775 | 778 | "\n", |
776 | 779 | "Parallelism:\n", |
777 | 780 | " Num Processors: 1\n", |
|
970 | 973 | "#n_plot_pts = 2*n_felem + 1\n", |
971 | 974 | "n_plot_pts = 20\n", |
972 | 975 | "\n", |
973 | | - "from engy_5310.toolkit import write_engy5310_p1_1d_input_file\n", |
| 976 | + "try: \n", |
| 977 | + " from engy_5310.toolkit import write_engy5310_p1_1d_input_file \n", |
| 978 | + "except ModuleNotFoundError:\n", |
| 979 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
974 | 980 | "\n", |
975 | 981 | "write_engy5310_p1_1d_input_file(x_left, x_right, u_left=u_left, u_right=u_right, \n", |
976 | 982 | " diff_coeff=diff_coeff, source_s=source_s, n_felem=n_felem, order=order, \n", |
|
991 | 997 | "# Engy-5310 Problem 1: Poisson 1D FEM\r\n", |
992 | 998 | "# UMass Lowell Nuclear Chemical Engineering\r\n", |
993 | 999 | "# Prof. Valmor F. de Almeida\r\n", |
994 | | - "# 13Apr21 15:07:59\r\n", |
| 1000 | + "# 17Apr21 22:16:35\r\n", |
995 | 1001 | "\r\n", |
996 | 1002 | "# Parameters\r\n", |
997 | 1003 | "xmin = 0.00000e+00\r\n", |
|
1103 | 1109 | "LibMesh Version: 27141d18f3137f77e33cdb3d565fd38ebfbfc46f\n", |
1104 | 1110 | "PETSc Version: 3.15.0\n", |
1105 | 1111 | "SLEPc Version: 3.14.2\n", |
1106 | | - "Current Time: Tue Apr 13 15:07:59 2021\n", |
1107 | | - "Executable Timestamp: Tue Apr 13 13:37:48 2021\n", |
| 1112 | + "Current Time: Sat Apr 17 22:16:35 2021\n", |
| 1113 | + "Executable Timestamp: Sat Apr 17 21:27:24 2021\n", |
1108 | 1114 | "\n", |
1109 | 1115 | "Parallelism:\n", |
1110 | 1116 | " Num Processors: 1\n", |
|
1314 | 1320 | "#n_plot_pts = 2*n_felem + 1\n", |
1315 | 1321 | "n_plot_pts = 20\n", |
1316 | 1322 | "\n", |
1317 | | - "from engy_5310.toolkit import write_engy5310_p1_1d_input_file\n", |
| 1323 | + "try: \n", |
| 1324 | + " from engy_5310.toolkit import write_engy5310_p1_1d_input_file \n", |
| 1325 | + "except ModuleNotFoundError:\n", |
| 1326 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
1318 | 1327 | "\n", |
1319 | 1328 | "write_engy5310_p1_1d_input_file(x_left, x_right, u_left=u_left, u_right=u_right, \n", |
1320 | 1329 | " diff_coeff=diff_coeff, source_s=source_s, n_felem=n_felem, order=order, \n", |
|
1335 | 1344 | "# Engy-5310 Problem 1: Poisson 1D FEM\r\n", |
1336 | 1345 | "# UMass Lowell Nuclear Chemical Engineering\r\n", |
1337 | 1346 | "# Prof. Valmor F. de Almeida\r\n", |
1338 | | - "# 13Apr21 15:08:00\r\n", |
| 1347 | + "# 17Apr21 22:16:36\r\n", |
1339 | 1348 | "\r\n", |
1340 | 1349 | "# Parameters\r\n", |
1341 | 1350 | "xmin = 0.00000e+00\r\n", |
|
1469 | 1478 | "LibMesh Version: 27141d18f3137f77e33cdb3d565fd38ebfbfc46f\n", |
1470 | 1479 | "PETSc Version: 3.15.0\n", |
1471 | 1480 | "SLEPc Version: 3.14.2\n", |
1472 | | - "Current Time: Tue Apr 13 15:08:00 2021\n", |
1473 | | - "Executable Timestamp: Tue Apr 13 13:37:48 2021\n", |
| 1481 | + "Current Time: Sat Apr 17 22:16:36 2021\n", |
| 1482 | + "Executable Timestamp: Sat Apr 17 21:27:24 2021\n", |
1474 | 1483 | "\n", |
1475 | 1484 | "Parallelism:\n", |
1476 | 1485 | " Num Processors: 1\n", |
|
1755 | 1764 | "#n_plot_pts = 2*n_felem + 1\n", |
1756 | 1765 | "n_plot_pts = 20\n", |
1757 | 1766 | "\n", |
1758 | | - "from engy_5310.toolkit import write_engy5310_p1_1d_input_file\n", |
| 1767 | + "try: \n", |
| 1768 | + " from engy_5310.toolkit import write_engy5310_p1_1d_input_file \n", |
| 1769 | + "except ModuleNotFoundError:\n", |
| 1770 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
1759 | 1771 | "\n", |
1760 | 1772 | "write_engy5310_p1_1d_input_file(x_left, x_right, u_left=u_left, u_right=u_right, \n", |
1761 | 1773 | " diff_coeff=diff_coeff, source_s=source_s, n_felem=n_felem, order=order, \n", |
|
1776 | 1788 | "# Engy-5310 Problem 1: Poisson 1D FEM\r\n", |
1777 | 1789 | "# UMass Lowell Nuclear Chemical Engineering\r\n", |
1778 | 1790 | "# Prof. Valmor F. de Almeida\r\n", |
1779 | | - "# 13Apr21 15:08:01\r\n", |
| 1791 | + "# 17Apr21 22:16:37\r\n", |
1780 | 1792 | "\r\n", |
1781 | 1793 | "# Parameters\r\n", |
1782 | 1794 | "xmin = 0.00000e+00\r\n", |
|
1916 | 1928 | "LibMesh Version: 27141d18f3137f77e33cdb3d565fd38ebfbfc46f\n", |
1917 | 1929 | "PETSc Version: 3.15.0\n", |
1918 | 1930 | "SLEPc Version: 3.14.2\n", |
1919 | | - "Current Time: Tue Apr 13 15:08:01 2021\n", |
1920 | | - "Executable Timestamp: Tue Apr 13 13:37:48 2021\n", |
| 1931 | + "Current Time: Sat Apr 17 22:16:37 2021\n", |
| 1932 | + "Executable Timestamp: Sat Apr 17 21:27:24 2021\n", |
1921 | 1933 | "\n", |
1922 | 1934 | "Parallelism:\n", |
1923 | 1935 | " Num Processors: 1\n", |
|
2164 | 2176 | "#n_plot_pts = 2*n_felem + 1\n", |
2165 | 2177 | "n_plot_pts = 20\n", |
2166 | 2178 | "\n", |
2167 | | - "from engy_5310.toolkit import write_engy5310_p1_1d_input_file\n", |
| 2179 | + "try: \n", |
| 2180 | + " from engy_5310.toolkit import write_engy5310_p1_1d_input_file \n", |
| 2181 | + "except ModuleNotFoundError:\n", |
| 2182 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
2168 | 2183 | "\n", |
2169 | 2184 | "write_engy5310_p1_1d_input_file(x_left, x_right, u_left=u_left, u_right=u_right, \n", |
2170 | 2185 | " diff_coeff=diff_coeff, source_s=source_s, n_felem=n_felem, order=order, \n", |
|
2185 | 2200 | "# Engy-5310 Problem 1: Poisson 1D FEM\r\n", |
2186 | 2201 | "# UMass Lowell Nuclear Chemical Engineering\r\n", |
2187 | 2202 | "# Prof. Valmor F. de Almeida\r\n", |
2188 | | - "# 13Apr21 15:08:02\r\n", |
| 2203 | + "# 17Apr21 22:16:38\r\n", |
2189 | 2204 | "\r\n", |
2190 | 2205 | "# Parameters\r\n", |
2191 | 2206 | "xmin = 0.00000e+00\r\n", |
|
2320 | 2335 | "LibMesh Version: 27141d18f3137f77e33cdb3d565fd38ebfbfc46f\n", |
2321 | 2336 | "PETSc Version: 3.15.0\n", |
2322 | 2337 | "SLEPc Version: 3.14.2\n", |
2323 | | - "Current Time: Tue Apr 13 15:08:02 2021\n", |
2324 | | - "Executable Timestamp: Tue Apr 13 13:37:48 2021\n", |
| 2338 | + "Current Time: Sat Apr 17 22:16:38 2021\n", |
| 2339 | + "Executable Timestamp: Sat Apr 17 21:27:24 2021\n", |
2325 | 2340 | "\n", |
2326 | 2341 | "Parallelism:\n", |
2327 | 2342 | " Num Processors: 1\n", |
|
2435 | 2450 | "fem_energy_hat = fem_energy/source_s**2/L**3\n", |
2436 | 2451 | "print('FEM energy [] = %10.6e'%(fem_energy_hat))\n", |
2437 | 2452 | "\n", |
2438 | | - "from engy_5310.toolkit import engy5310_p1_exact_solution\n", |
| 2453 | + "try: \n", |
| 2454 | + " from engy_5310.toolkit import engy5310_p1_exact_solution \n", |
| 2455 | + "except ModuleNotFoundError:\n", |
| 2456 | + " assert False, 'You need to provide your own code here. Bailing out.'\n", |
2439 | 2457 | "\n", |
2440 | 2458 | "(_, _, energy_hat) = engy5310_p1_exact_solution(x_left, x_right, u_left, u_right, diff_coeff, source_s)\n", |
2441 | 2459 | "\n", |
|
2510 | 2528 | "│ ├── BoundaryEnergy.h\r\n", |
2511 | 2529 | "│ └── BulkEnergy.h\r\n", |
2512 | 2530 | "├── input.hit\r\n", |
2513 | | - "├── input.hit~\r\n", |
2514 | | - "├── input_in.e\r\n", |
2515 | 2531 | "├── \u001b[01;34mlib\u001b[00m\r\n", |
2516 | 2532 | "│ ├── \u001b[01;32mlibengy5310p1-opt.la\u001b[00m\r\n", |
2517 | 2533 | "│ ├── \u001b[01;36mlibengy5310p1-opt.so\u001b[00m -> \u001b[01;32mlibengy5310p1-opt.so.0.0.0\u001b[00m\r\n", |
2518 | 2534 | "│ ├── \u001b[01;36mlibengy5310p1-opt.so.0\u001b[00m -> \u001b[01;32mlibengy5310p1-opt.so.0.0.0\u001b[00m\r\n", |
2519 | 2535 | "│ └── \u001b[01;32mlibengy5310p1-opt.so.0.0.0\u001b[00m\r\n", |
2520 | | - "├── out-x_x-line_0002.csv\r\n", |
2521 | | - "├── out-y_y-line_0002.csv\r\n", |
2522 | 2536 | "├── out_000.vtk\r\n", |
2523 | 2537 | "├── out_000_0.vtu\r\n", |
2524 | | - "├── out_energy.csv\r\n", |
2525 | | - "├── output_energy.csv\r\n", |
2526 | | - "├── output_x-data_0002.csv\r\n", |
2527 | 2538 | "├── \u001b[01;34msrc\u001b[00m\r\n", |
2528 | 2539 | "│ ├── \u001b[01;34mauxkernels\u001b[00m\r\n", |
2529 | 2540 | "│ │ ├── DiffusionFlux.C\r\n", |
|
2533 | 2544 | "│ │ ├── Engy5310P1App.x86_64-pc-linux-gnu.opt.lo\r\n", |
2534 | 2545 | "│ │ └── Engy5310P1App.x86_64-pc-linux-gnu.opt.lo.d\r\n", |
2535 | 2546 | "│ ├── \u001b[01;34mbcs\u001b[00m\r\n", |
2536 | | - "│ │ └── NormalFluxBC.C\r\n", |
| 2547 | + "│ │ ├── NormalFluxBC.C\r\n", |
| 2548 | + "│ │ └── NormalFluxBC.C~\r\n", |
2537 | 2549 | "│ ├── \u001b[01;34mkernels\u001b[00m\r\n", |
2538 | 2550 | "│ │ ├── ConvectionTerm.C\r\n", |
2539 | 2551 | "│ │ ├── ConvectionTerm.C~\r\n", |
|
2552 | 2564 | "│ ├── \u001b[01;36mlibengy5310p1_test-opt.so\u001b[00m -> \u001b[01;32mlibengy5310p1_test-opt.so.0.0.0\u001b[00m\r\n", |
2553 | 2565 | "│ ├── \u001b[01;36mlibengy5310p1_test-opt.so.0\u001b[00m -> \u001b[01;32mlibengy5310p1_test-opt.so.0.0.0\u001b[00m\r\n", |
2554 | 2566 | "│ └── \u001b[01;32mlibengy5310p1_test-opt.so.0.0.0\u001b[00m\r\n", |
| 2567 | + "├── test.e\r\n", |
| 2568 | + "├── test.i\r\n", |
2555 | 2569 | "└── vtkviz.py\r\n", |
2556 | 2570 | "\r\n", |
2557 | | - "19 directories, 71 files\r\n" |
| 2571 | + "19 directories, 67 files\r\n" |
2558 | 2572 | ] |
2559 | 2573 | } |
2560 | 2574 | ], |
|
0 commit comments