cbcflow.bcs.utils module

Functions

cbcflow.bcs.utils.compute_transient_scale_value(bc, period, mesh, facet_domains, ind, scale_value)
cbcflow.bcs.utils.compute_boundary_geometry_acrn(mesh, ind, facet_domains)
cbcflow.bcs.utils.x_to_r2(x, c, n)

Compute r**2 from a coordinate x, center point c, and normal vector n.

r is defined as the distance from c to x’, where x’ is the projection of x onto the plane defined by c and n.

cbcflow.bcs.utils.compute_radius(mesh, facet_domains, ind, center)
cbcflow.bcs.utils.compute_area(mesh, ind, facet_domains)