From 1e6a330ed571cfafbb2cb380b208125270714f15 Mon Sep 17 00:00:00 2001 From: MiladHB Date: Tue, 23 Sep 2025 11:39:00 -0400 Subject: [PATCH 1/3] docs: update motivation comments in heatconduction2d/3d --- .DS_Store | Bin 0 -> 6148 bytes engibench/.DS_Store | Bin 0 -> 6148 bytes engibench/problems/.DS_Store | Bin 0 -> 8196 bytes engibench/problems/heatconduction2d/v0.py | 9 ++++++++- engibench/problems/heatconduction3d/v0.py | 10 +++++++++- 5 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .DS_Store create mode 100644 engibench/.DS_Store create mode 100644 engibench/problems/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5665060562ab26bfbc135354c61d51579f9b5979 GIT binary patch literal 6148 zcmeHK%}xR_5N-jri!pLAkz+63I4oc!9!xff2X7{8^q>ZIg}^4bOJH%Mh}qZBH}VO5 z9cS7?B;dt^F=Qs0e$)AB)32L$%NXPJal6b|fiWgP5i=GvD+J@HOOi1jM6Sm0S%-z} zp7s1>DVrSskpbL0OYK^h1?=1YjRt-{@*(=+5Bk9ugTw}i-x{7(MP?L~d$S@zY01@v#@s>g|QceouMiY+8s!_y$-^5l+>ef*dD2I zTpbX?5>~TNoJ^{Att2aUZCa9(hyh|?O&Ku9o!DN}_0h730b=0y4B+`7K@lB;sYZ2l zK!d-J7|$W1fQ@enL}}15m}-Ow2-l^6x|EwI2G`}_mnP3Km}=DJjH{Vp95XXFFBGn3 z2ftM5j5`{sB?gFrMFz6ETfqDO?C1CYViEO-0b*dS7~r{v+o;2m%-y=QIJ|2mXbTht o^HPoT5-`+N47qp}7eSSPU!no%7)&*S2ZVkE6b;l61AofE7ZRUSQ~&?~ literal 0 HcmV?d00001 diff --git a/engibench/.DS_Store b/engibench/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..11e297e8598ddb64948a8906b38cde3273afa765 GIT binary patch literal 6148 zcmeHK%}N6?5T4YkX+`Wo&|@y%dRVO}9)zXVgEwJC4=TD#i(ObZrMtCgt?X;)8~Fsj zjx$LrO7-GFq|CtNo6Ju_zFqPI0HQf)ZvxZ+K%x?sD%gA@6epdMlJgJ>Ge!a(xP>el zX1%FwcKk;M=-Wx?K_4_k@ag+SiH*T`@qtm!EysE7p=rj-Gw9_}mal3;l7iV$W*2AVAr0vX%6WD;1 z6wZwz0W?bbWjOFnSz6JzI7K{)k3a98TZ` zjj4s+1^qP9=?%svb(4HXW`G%B249H_X7FGVl(R?^9?1 literal 0 HcmV?d00001 diff --git a/engibench/problems/.DS_Store b/engibench/problems/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..79bc182cdd6c26391c04786904c92978232f8087 GIT binary patch literal 8196 zcmeI1L2uJA6vv;pLfs-n4@m3L7j8XdEuwHhipn@}LkfZepe-SVM#|!;NmoHvl&=Bb zh)=-R;XOZVf`$np#8$zxWd9vMzqtO%j`LCgP?JTv56}kyjhVD}1B;&|vQuuP9p6Gm zh5i5*GRTuMBa`d3QtMVa+Vt2F~>W&(Ety$R}6uX1+BP$=F zC^tI#8P^?D$SS1}5CTmCv~AiDW86N6x8KL_HbKjm8>us&Ox_h(x zI-1#KRK?YzoW%2&boDf@W{Iyqvo=4k$I0_-x;*UNeq@U(&Wh>WIcMnnyh96lwIP8if;ff}hLG|{jDHcr57XR$(1V$SP{A8q3k9UG zz*>c?gRZs@%P1J*+6cyfyf%J0@!tY9+Pd{~NuY4z8=!D&g}A$Di`A^WMdkb_8j^&- z)e+d`q5Bm7Kfd_;|JD6K8CeJjfxk{bwGN_#2@b Date: Fri, 26 Sep 2025 11:15:20 -0400 Subject: [PATCH 2/3] fix: remove trailing whitespace and ignore .DS_Store files --- engibench/.gitignore | 1 + engibench/problems/heatconduction2d/v0.py | 12 ++++++------ engibench/problems/heatconduction3d/v0.py | 10 +++++----- 3 files changed, 12 insertions(+), 11 deletions(-) create mode 100644 engibench/.gitignore diff --git a/engibench/.gitignore b/engibench/.gitignore new file mode 100644 index 00000000..e43b0f98 --- /dev/null +++ b/engibench/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/engibench/problems/heatconduction2d/v0.py b/engibench/problems/heatconduction2d/v0.py index 3fdf4a76..686dbb60 100644 --- a/engibench/problems/heatconduction2d/v0.py +++ b/engibench/problems/heatconduction2d/v0.py @@ -41,15 +41,15 @@ class HeatConduction2D(Problem[npt.NDArray]): ## Problem Description This problem simulates the performance of a Topology optimisation of heat conduction problems governed by the Poisson equation (https://www.dolfin-adjoint.org/en/stable/documentation/poisson-topology/poisson-topology.html) ## Motivation - Heat conduction problems serve as fundamental benchmarks for the development and evaluation of design optimization methods, with applications ranging from thermal management in electronic devices to insulation systems and - heat exchangers in industrial applications. As thermal management has become critical in fields such as aerospace, automotive, and consumer electronics, both industry and academia have shown growing interest in advanced thermal - design systems. In response to this demand, topology optimization has become popular as a powerful approach for improving heat dissipation while minimizing material usage. In addition, the development of additive manufacturing + Heat conduction problems serve as fundamental benchmarks for the development and evaluation of design optimization methods, with applications ranging from thermal management in electronic devices to insulation systems and + heat exchangers in industrial applications. As thermal management has become critical in fields such as aerospace, automotive, and consumer electronics, both industry and academia have shown growing interest in advanced thermal + design systems. In response to this demand, topology optimization has become popular as a powerful approach for improving heat dissipation while minimizing material usage. In addition, the development of additive manufacturing technologies has made the complex geometries produced by topology optimization more feasible to fabricate in real-world applications. ## Design space - These problems are a specific subset of topology optimization problems aimed at minimizing thermal compliance within a unit square (2D) subject to: a constraint on the volume of highly conductive material used, and given boundary conditions, - particularly the location of the adiabatic region. The adiabatic region refers to a symmetric length on the bottom side of the 2D problem space . The design space for the 2D problem consists of a 2D array representing solid densities, - which is parametrized by resolution, that is, 'DesignSpace = [0,1] By default, a $101 \times 101$ space is used for the 2D problem. + These problems are a specific subset of topology optimization problems aimed at minimizing thermal compliance within a unit square (2D) subject to: a constraint on the volume of highly conductive material used, and given boundary conditions, + particularly the location of the adiabatic region. The adiabatic region refers to a symmetric length on the bottom side of the 2D problem space . The design space for the 2D problem consists of a 2D array representing solid densities, + which is parametrized by resolution, that is, 'DesignSpace = [0,1] By default, a $101 \times 101$ space is used for the 2D problem. ## Objectives The objective is defined and indexed as follows: diff --git a/engibench/problems/heatconduction3d/v0.py b/engibench/problems/heatconduction3d/v0.py index a92c0f82..74f88cff 100644 --- a/engibench/problems/heatconduction3d/v0.py +++ b/engibench/problems/heatconduction3d/v0.py @@ -42,15 +42,15 @@ class HeatConduction3D(Problem[npt.NDArray]): This problem simulates the performance of a Topology optimisation of heat conduction problems governed by the Poisson equation (https://github.com/dolfin-adjoint/pyadjoint/blob/master/examples/poisson-topology/poisson-topology.py) ## Motivation - Heat conduction problems serve as fundamental benchmarks for the development and evaluation of design optimization methods, with applications ranging from thermal management in electronic devices to insulation systems and - heat exchangers in industrial applications. As thermal management has become critical in fields such as aerospace, automotive, and consumer electronics, both industry and academia have shown growing interest in advanced thermal - design systems. In response to this demand, topology optimization has become popular as a powerful approach for improving heat dissipation while minimizing material usage. In addition, the development of additive manufacturing + Heat conduction problems serve as fundamental benchmarks for the development and evaluation of design optimization methods, with applications ranging from thermal management in electronic devices to insulation systems and + heat exchangers in industrial applications. As thermal management has become critical in fields such as aerospace, automotive, and consumer electronics, both industry and academia have shown growing interest in advanced thermal + design systems. In response to this demand, topology optimization has become popular as a powerful approach for improving heat dissipation while minimizing material usage. In addition, the development of additive manufacturing technologies has made the complex geometries produced by topology optimization more feasible to fabricate in real-world applications. ## Design space These problems are a specific subset of topology optimization problems aimed at minimizing thermal compliance within a unit cube (3D), subject to: a constraint on the volume of highly conductive material used, and given boundary conditions, - particularly the location of the adiabatic region. The adiabatic region refers to a prescribed symmetric area on the bottom surface of the 3D problem space. The 3D design space is represented as a 3D tensor of densities. By default, - a $51 \times 51 \times 51$ space is used for the 3D problem. + particularly the location of the adiabatic region. The adiabatic region refers to a prescribed symmetric area on the bottom surface of the 3D problem space. The 3D design space is represented as a 3D tensor of densities. By default, + a $51 \times 51 \times 51$ space is used for the 3D problem. ## Objectives The objective is defined and indexed as follows: From 1f2681145633ff75b6aef0b8ac73c4e436cfa710 Mon Sep 17 00:00:00 2001 From: Florian Felten Date: Mon, 29 Sep 2025 08:57:27 +0200 Subject: [PATCH 3/3] remove .DS_Store --- .DS_Store | Bin 6148 -> 0 bytes engibench/.DS_Store | Bin 6148 -> 0 bytes engibench/problems/.DS_Store | Bin 8196 -> 0 bytes 3 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .DS_Store delete mode 100644 engibench/.DS_Store delete mode 100644 engibench/problems/.DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 5665060562ab26bfbc135354c61d51579f9b5979..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}xR_5N-jri!pLAkz+63I4oc!9!xff2X7{8^q>ZIg}^4bOJH%Mh}qZBH}VO5 z9cS7?B;dt^F=Qs0e$)AB)32L$%NXPJal6b|fiWgP5i=GvD+J@HOOi1jM6Sm0S%-z} zp7s1>DVrSskpbL0OYK^h1?=1YjRt-{@*(=+5Bk9ugTw}i-x{7(MP?L~d$S@zY01@v#@s>g|QceouMiY+8s!_y$-^5l+>ef*dD2I zTpbX?5>~TNoJ^{Att2aUZCa9(hyh|?O&Ku9o!DN}_0h730b=0y4B+`7K@lB;sYZ2l zK!d-J7|$W1fQ@enL}}15m}-Ow2-l^6x|EwI2G`}_mnP3Km}=DJjH{Vp95XXFFBGn3 z2ftM5j5`{sB?gFrMFz6ETfqDO?C1CYViEO-0b*dS7~r{v+o;2m%-y=QIJ|2mXbTht o^HPoT5-`+N47qp}7eSSPU!no%7)&*S2ZVkE6b;l61AofE7ZRUSQ~&?~ diff --git a/engibench/.DS_Store b/engibench/.DS_Store deleted file mode 100644 index 11e297e8598ddb64948a8906b38cde3273afa765..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK%}N6?5T4YkX+`Wo&|@y%dRVO}9)zXVgEwJC4=TD#i(ObZrMtCgt?X;)8~Fsj zjx$LrO7-GFq|CtNo6Ju_zFqPI0HQf)ZvxZ+K%x?sD%gA@6epdMlJgJ>Ge!a(xP>el zX1%FwcKk;M=-Wx?K_4_k@ag+SiH*T`@qtm!EysE7p=rj-Gw9_}mal3;l7iV$W*2AVAr0vX%6WD;1 z6wZwz0W?bbWjOFnSz6JzI7K{)k3a98TZ` zjj4s+1^qP9=?%svb(4HXW`G%B249H_X7FGVl(R?^9?1 diff --git a/engibench/problems/.DS_Store b/engibench/problems/.DS_Store deleted file mode 100644 index 79bc182cdd6c26391c04786904c92978232f8087..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8196 zcmeI1L2uJA6vv;pLfs-n4@m3L7j8XdEuwHhipn@}LkfZepe-SVM#|!;NmoHvl&=Bb zh)=-R;XOZVf`$np#8$zxWd9vMzqtO%j`LCgP?JTv56}kyjhVD}1B;&|vQuuP9p6Gm zh5i5*GRTuMBa`d3QtMVa+Vt2F~>W&(Ety$R}6uX1+BP$=F zC^tI#8P^?D$SS1}5CTmCv~AiDW86N6x8KL_HbKjm8>us&Ox_h(x zI-1#KRK?YzoW%2&boDf@W{Iyqvo=4k$I0_-x;*UNeq@U(&Wh>WIcMnnyh96lwIP8if;ff}hLG|{jDHcr57XR$(1V$SP{A8q3k9UG zz*>c?gRZs@%P1J*+6cyfyf%J0@!tY9+Pd{~NuY4z8=!D&g}A$Di`A^WMdkb_8j^&- z)e+d`q5Bm7Kfd_;|JD6K8CeJjfxk{bwGN_#2@b