+6 07 553 86 86 arazin@utm.my

2D N-RPIM Explorer

Interactive tool · Meshfree methods · NURBS

2D N-RPIM Explorer

About this tool

NURBS describe the geometry exactly; radial point interpolation, built in the NURBS parameter space, approximates the displacements. Follow a point from the parameter space to the physical domain, change the radial basis function and the support, and compare the accuracy with finite elements on the same nodes — including the cellular-beam unit cell from our paper.

Alatan interaktif · Meshfree methods · NURBS

2D N-RPIM Explorer

Tentang alatan ini

NURBS memerihalkan geometri secara exact; radial point interpolation, yang dibina dalam ruang parameter NURBS, menganggarkan sesaran. Jejaki satu titik dari ruang parameter ke domain fizikal, ubah radial basis function dan support, dan bandingkan ketepatannya dengan finite element pada nod yang sama — termasuk unit cell cellular beam daripada paper kami.

Loading the interactive tool…Memuatkan alatan interaktif…

How N-RPIM works

N-RPIM (Mokhtaram et al., 2022) keeps two jobs apart. NURBS describe the geometry, exactly as a CAD model does, and radial point interpolation approximates the displacements. The physical domain is the image of a unit square, the parameter space, under the NURBS map:

S(ξ, η) = Σi Σj Rij(ξ, η) Bij     Rij = Ni,p(ξ) Mj,q(η) wij / Σk Σl Nk,p(ξ) Ml,q(η) wkl

The B-spline functions Ni,p and Mj,q come from the knot vectors Ξ and H by the Cox–de Boor recursion. The weights wij make conics exact: a quarter circle needs a corner control point with weight cos 45° = 0.7071, so the hole edge is a true circle at every refinement. Turn on the control net and the knot lines to see the data behind each shape.

The nodes are laid out in the parameter space: every knot span is divided into equal cells and a node sits at each cell corner. RPIM builds the shape functions there, from the nodes inside a support of radius d = αh, where h is the node spacing:

u(x) = Σi Ri(r) ai + Σj pj(x) bj     [Rn  Pm; PmT  0] {a; b} = {us; 0}     Φ(x) = [RT(x)  pT(x)] G−1

As in the paper, the radial basis function is a multiquadric, R = (r² + (αcdc)²)q with q = 2.1 and αc = 0.1, or a thin plate spline, R = rη with η = 4.0001. The polynomial terms p (none, linear or quadratic) let the interpolation reproduce constant and linear fields. Because the interpolation passes through the nodal values, φI(xJ) = δIJ: the shape functions have the Kronecker delta property, so supports are applied straight to the nodal displacements, as in FEM.

  • Integration. The Galerkin weak form gives K = ∫ BT D B dΩ, integrated with Gauss points on the cells of the lattice. A Gauss point in the parent square [−1, 1]² maps to its cell in the parameter space by an affine map (J̃), then to the physical space through the NURBS (Ĵ): B = Ĵ−1 J̃−1 B̃ and dΩ = |Ĵ| |J̃| dξ̃ dη̃.
  • Knot lines. A repeated knot leaves the map only C⁰: the dash-dot lines drawn bold. Across such a line a smooth physical field has a kink in the parameter space, so the supports stop there, just as the knot spans of the paper are treated separately. In the plate with a hole the two spans meet at the corner (b, b), which keeps the map regular there.
  • Supports. This tool gives each integration cell one support: the nodes within d of the cell centre. The shape functions are then smooth inside a cell but jump slightly across cell edges (never at the nodes). That is why N-RPIM misses the patch test by a small amount that more Gauss points do not remove.

The comparison solves bilinear Q4 elements on the same nodes. Their edges are straight, so a curved boundary becomes a polygon: the finite element model has to refine the geometry and the field together, while N-RPIM only refines the field.

Things to try
  1. Hover the parameter space and follow the ring in the physical view. Near the hole, equal steps in ξ and η cover very different distances, and |J| in the readout tells you by how much.
  2. Choose the shape function field and tap a node: φ is exactly 1 at its own node and 0 at every other node. Compare with the EFG explorer, where an MLS shape function is about 0.3 at its own node.
  3. Open the cellular beam unit cell from the paper. At refinement 4, vA is already within about 0.6% of the paper’s COMSOL value, while Q4 on the same nodes is about 8% low. Run the comparison to see the gap widen.
  4. Set the polynomial terms to None. On the cantilever the energy-norm error jumps from about 2% to more than 80%: these radial functions cannot even represent a rigid-body translation on their own.
  5. Open the patch test and change the Gauss points per cell from 2 × 2 to 5 × 5. The error hardly moves (about 3.5% with the default irregular nodes), because it comes from the jumps between cells, not from the quadrature.
  6. On the plate with a hole, move the support radius from 2 to 4 and watch the nodes per support (about 11 to 32), the error and the time.
  7. Show the support and tap a node on the bold diagonal knot line of the plate, then one beside it. The first support spans both knot spans; the second stops at the line.
Bagaimana N-RPIM berfungsi

N-RPIM (Mokhtaram et al., 2022) mengasingkan dua tugas. NURBS memerihalkan geometri, tepat seperti model CAD, dan radial point interpolation menganggarkan sesaran. Domain fizikal ialah imej segi empat unit, iaitu ruang parameter, di bawah pemetaan NURBS:

S(ξ, η) = Σi Σj Rij(ξ, η) Bij     Rij = Ni,p(ξ) Mj,q(η) wij / Σk Σl Nk,p(ξ) Ml,q(η) wkl

Fungsi B-spline Ni,p dan Mj,q diperoleh daripada knot vectors Ξ dan H melalui rekursi Cox–de Boor. Weights wij menjadikan bentuk konik exact: suku bulatan memerlukan control point sudut dengan weight cos 45° = 0.7071, jadi sisi lubang ialah bulatan sebenar pada setiap tahap refinement. Hidupkan control net dan knot lines untuk melihat data di sebalik setiap bentuk.

Nod disusun dalam ruang parameter: setiap knot span dibahagi kepada cell yang sama saiz dan satu nod diletakkan pada setiap bucu cell. RPIM membina shape functions di situ, daripada nod di dalam support berjejari d = αh, dengan h ialah jarak antara nod:

u(x) = Σi Ri(r) ai + Σj pj(x) bj     [Rn  Pm; PmT  0] {a; b} = {us; 0}     Φ(x) = [RT(x)  pT(x)] G−1

Seperti dalam paper, radial basis function ialah multiquadric, R = (r² + (αcdc)²)q dengan q = 2.1 dan αc = 0.1, atau thin plate spline, R = rη dengan η = 4.0001. Sebutan polinomial p (tiada, linear atau kuadratik) membolehkan interpolasi menghasilkan semula medan malar dan linear. Oleh kerana interpolasi melalui nilai nodal, φI(xJ) = δIJ: shape functions mempunyai sifat Kronecker delta, jadi support dikenakan terus pada sesaran nodal, sama seperti FEM.

  • Kamiran. Weak form Galerkin memberi K = ∫ BT D B dΩ, dikamir dengan Gauss points pada cell kekisi. Satu Gauss point dalam segi empat parent [−1, 1]² dipetakan ke cell-nya dalam ruang parameter melalui pemetaan affine (J̃), kemudian ke ruang fizikal melalui NURBS (Ĵ): B = Ĵ−1 J̃−1 B̃ dan dΩ = |Ĵ| |J̃| dξ̃ dη̃.
  • Knot lines. Knot berulang menjadikan pemetaan hanya C⁰: garis titik-sempang yang dilukis tebal. Merentas garis ini, medan fizikal yang licin mempunyai kink dalam ruang parameter, jadi support berhenti di situ, sama seperti knot spans dalam paper dirawat secara berasingan. Dalam plat berlubang, dua span bertemu di sudut (b, b), dan ini mengekalkan pemetaan yang regular di situ.
  • Support. Tool ini memberi setiap integration cell satu support: nod dalam jarak d dari pusat cell. Shape functions kemudiannya licin di dalam cell tetapi melompat sedikit merentas sisi cell (tidak sekali-kali pada nod). Sebab itu N-RPIM terlepas patch test dengan jumlah kecil yang tidak hilang walaupun Gauss points ditambah.

Perbandingan menyelesaikan element bilinear Q4 pada nod yang sama. Sisinya lurus, jadi sempadan melengkung menjadi poligon: model finite element perlu memperhalus geometri dan medan serentak, manakala N-RPIM hanya memperhalus medan.

Cubaan untuk anda
  1. Halakan tetikus pada ruang parameter dan ikuti cincin dalam paparan fizikal. Berhampiran lubang, langkah yang sama dalam ξ dan η meliputi jarak yang sangat berbeza, dan |J| dalam bacaan menunjukkan sebanyak mana.
  2. Pilih medan shape function dan ketik satu nod: φ tepat 1 pada nodnya sendiri dan 0 pada setiap nod lain. Bandingkan dengan EFG Explorer, di mana shape function MLS bernilai kira-kira 0.3 pada nodnya sendiri.
  3. Buka unit cell cellular beam daripada paper. Pada refinement 4, vA sudah berada dalam lingkungan 0.6% daripada nilai COMSOL paper, manakala Q4 pada nod yang sama kira-kira 8% lebih rendah. Jalankan perbandingan untuk melihat jurang ini melebar.
  4. Tetapkan sebutan polinomial kepada Tiada. Pada cantilever, ralat energy norm melonjak daripada kira-kira 2% kepada lebih 80%: radial functions ini sendiri tidak dapat mewakili translasi rigid body pun.
  5. Buka patch test dan ubah Gauss points setiap cell dari 2 × 2 ke 5 × 5. Ralat hampir tidak berubah (kira-kira 3.5% dengan nod tidak sekata lalai), kerana puncanya ialah lompatan antara cell, bukan quadrature.
  6. Pada plat berlubang, gerakkan jejari support dari 2 ke 4 dan perhatikan nod setiap support (kira-kira 11 hingga 32), ralat dan masa.
  7. Paparkan support dan ketik satu nod pada knot line pepenjuru yang tebal pada plat, kemudian satu nod di sebelahnya. Support yang pertama merentasi kedua-dua knot span; yang kedua berhenti pada garis itu.