The template modules: Examples
The templates module provides a collection of examples to :
build arangments of obstacles
set curvilinear transformations for
fdgrid.mesh.CurvilinearMesh
- fdgrid.templates.helmholtz(nx, nz, cavity=(0.2, 0.2), neck=(0.1, 0.1))[source]
Geometry: Helmholtz resonator.
- fdgrid.templates.helmholtz_double(nx, nz, cavity=(0.2, 0.2), neck=(0.1, 0.1))[source]
Geometry: Double Helmholtz resonator.
- fdgrid.templates.section(xn, zn, variation=25, zmin=5, zmax=- 5)[source]
Curvilinear coordinates: test case 4. The section change.
- fdgrid.templates.square(nx, nz, size_percent=20)[source]
Geometry: Square at the center of the domain.