MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_compute_levelset Module Reference

Computes signed-distance level-set fields and surface normals for immersed-boundary patch geometries. More...

Functions/Subroutines

impure subroutine, public s_apply_levelset (gps, num_gps)
 Dispatches level-set distance and normal computations for all ghost points based on their patch geometry type.
subroutine s_circle_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to a circular immersed boundary.
subroutine s_airfoil_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to a 2D NACA airfoil surface.
subroutine s_3d_airfoil_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to a 3D extruded airfoil surface including spanwise end caps.
subroutine s_rectangle_levelset (gp)
 Subroutine for computing the levelset values at a ghost point belonging to the rectangle IB.
subroutine s_ellipse_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to an elliptical immersed boundary via a quadratic projection.
subroutine s_cuboid_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to the nearest face of a cuboid immersed boundary.
subroutine s_sphere_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to a spherical immersed boundary.
subroutine s_cylinder_levelset (gp)
 Computes the signed distance and outward normal from a ghost point to a cylindrical immersed boundary surface and end caps.
subroutine s_model_levelset (gp)
 The STL patch is a 2/3D geometry that is imported from an STL file.

Detailed Description

Computes signed-distance level-set fields and surface normals for immersed-boundary patch geometries.

Function/Subroutine Documentation

◆ s_3d_airfoil_levelset()

subroutine m_compute_levelset::s_3d_airfoil_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to a 3D extruded airfoil surface including spanwise end caps.

Definition at line 593 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_airfoil_levelset()

subroutine m_compute_levelset::s_airfoil_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to a 2D NACA airfoil surface.

Definition at line 496 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_apply_levelset()

impure subroutine, public m_compute_levelset::s_apply_levelset ( type(ghost_point), dimension(:), intent(inout) gps,
integer, intent(in) num_gps )

Dispatches level-set distance and normal computations for all ghost points based on their patch geometry type.

Definition at line 315 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:

◆ s_circle_levelset()

subroutine m_compute_levelset::s_circle_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to a circular immersed boundary.

Definition at line 449 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_cuboid_levelset()

subroutine m_compute_levelset::s_cuboid_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to the nearest face of a cuboid immersed boundary.

Definition at line 861 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_cylinder_levelset()

subroutine m_compute_levelset::s_cylinder_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to a cylindrical immersed boundary surface and end caps.

Definition at line 1020 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_ellipse_levelset()

subroutine m_compute_levelset::s_ellipse_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to an elliptical immersed boundary via a quadratic projection.

Definition at line 796 of file m_compute_levelset.fpp.f90.

Here is the caller graph for this function:

◆ s_model_levelset()

subroutine m_compute_levelset::s_model_levelset ( type(ghost_point), intent(inout) gp)

The STL patch is a 2/3D geometry that is imported from an STL file.

Parameters
gpGhost point to compute levelset for

Definition at line 1113 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_rectangle_levelset()

subroutine m_compute_levelset::s_rectangle_levelset ( type(ghost_point), intent(inout) gp)

Subroutine for computing the levelset values at a ghost point belonging to the rectangle IB.

Definition at line 710 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_sphere_levelset()

subroutine m_compute_levelset::s_sphere_levelset ( type(ghost_point), intent(inout) gp)

Computes the signed distance and outward normal from a ghost point to a spherical immersed boundary.

Definition at line 967 of file m_compute_levelset.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function: