Home

Awesome

Taichi-BEM

----------Analytical(Left)----Solved(Middle)----Difference(Right)

Laplace Equation (2D)

cd demo
python demo_Laplace.py --dim 2 --boundary Dirichlet --object disk --GaussQR 5 --scope Interior
<img src="demo/Laplace_solved_Neumann_2d.png" height="270">

Laplace Equation (3D)

cd demo
python demo_Laplace.py --dim 3 --boundary Dirichlet --object sphere --GaussQR 5 --scope Interior
<img src="demo/Laplace_solved_Neumann.png" height="270">

Helmholtz Equation (3D)

cd demo
python demo_Helmholtz.py --dim 3 --boundary Dirichlet --object stanford_bunny --GaussQR 5 --scope Interior
<img src="demo/Helmholtz_solved_Neumann_stanford_bunny.png" height="270">

Helmholtz Transmission Equation

cd demo
python demo_Helmholtz_Transmission.py --dim 3 --boundary Full --object sphere --GaussQR 5
<img src="demo/HelmholtzTransmission_solved_Full.png" height="270">

Norm analysis (Still Working on! 👨‍💻)

The norm of A & Augmented A of sphere

<img src="demo/Physical_Augment_A1_plot_1_1_sphere_GaussQR4.png" height="192"> <img src="demo/Physical_Augment_A2_plot_1_1_sphere_GaussQR4.png" height="192">

<img src="demo/NonPhysical_Augment_A1_plot_1_1_sphere_GaussQR4.png" height="192"> <img src="demo/NonPhysical_Augment_A2_plot_1_1_sphere_GaussQR4.png" height="192">

As well as the norm of A & Augmented A of stanford bunny

<img src="demo/Physical_Augment_A1_plot_1_1_stanford_bunny_GaussQR4.png" height="192"> <img src="demo/Physical_Augment_A2_plot_1_1_stanford_bunny_GaussQR4.png" height="192">

<img src="demo/NonPhysical_Augment_A1_plot_1_1_stanford_bunny_GaussQR4.png" height="192"> <img src="demo/NonPhysical_Augment_A2_plot_1_1_stanford_bunny_GaussQR4.png" height="192">

How to run the code

cd taichi-BEM
conda create -n ti-BEM python=3.8
conda activate ti-BEM
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia
pip install -r requirements.txt

cd demo
python demo_Laplace.py --boundary Dirichlet --dim 3
python demo_Helmholtz.py --boundary Neumann --k 3 --dim 3 --object stanford_bunny
python demo_Helmholtz_Transmission.py --boundary Full --k 5 --dim 3

Parameters

Trouble Shooting