Skip to content
ForCADDocumentation
Browse guide contents ↓

Isogeometric analysis

In isogeometric analysis (IGA), the same basis functions that define the geometry also approximate a solution field. For example, on a spline patch with parameter , write

The control points specify the shape. The scalar coefficients are the unknowns of the field problem. ForCAD supplies the active basis indices, physical derivatives, and weighted integration measures for each element. Your Fortran program uses them to assemble the equations and impose boundary conditions.

Run a bundled solver

Geometry What to check
Surface Compare the computed field with a known solution and inspect the VTK output.
Volume Inspect contours inside the unit cube and check the volume-integrated error.

Assemble your own system

Geometry What the example demonstrates
One interval Assemble one quadratic element and recover the exact midpoint value .
Two surfaces sharing an edge Number the degrees of freedom. The two bilinear patches share two coefficients, leaving six global unknowns.
Poisson on two connected surfaces Assemble with shared edge IDs, then compare the field and its normal derivative on both sides.
Poisson on two connected volumes Assemble with shared face IDs, then check the field and the balance of outward fluxes.

Element data

Each nonzero knot span contributes an analysis element along its parameter direction. A row of cmp_elem() identifies the basis functions active on an element. The sampled points and cells used for visualization have their own numbering. Increasing the display resolution leaves the analysis space unchanged. For small runnable examples of these two building blocks, see Find active controls on a knot span and Integrate a field over a surface.

To explore the same basis interactively, probe a volume in ForCAD Studio. The parameter cube and the basis plot follow the selected patch and direction.