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)
 Dispatch level-set distance and normal computations for all ghost points based on patch geometry type.
subroutine s_circle_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a circular immersed boundary.
subroutine s_airfoil_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a 2D NACA airfoil surface.
subroutine s_3d_airfoil_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a 3D extruded airfoil surface.
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)
 Compute the signed distance and outward normal from a ghost point to an elliptical immersed boundary.
subroutine s_cuboid_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a cuboid immersed boundary.
subroutine s_sphere_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a spherical immersed boundary.
subroutine s_cylinder_levelset (gp)
 Compute the signed distance and outward normal from a ghost point to a cylindrical immersed boundary.
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)

Compute the signed distance and outward normal from a ghost point to a 3D extruded airfoil surface.

Definition at line 583 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)

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

Definition at line 490 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 )

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

Definition at line 333 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)

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

Definition at line 446 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)

Compute the signed distance and outward normal from a ghost point to a cuboid immersed boundary.

Definition at line 841 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)

Compute the signed distance and outward normal from a ghost point to a cylindrical immersed boundary.

Definition at line 992 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)

Compute the signed distance and outward normal from a ghost point to an elliptical immersed boundary.

Definition at line 777 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.

Definition at line 1080 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 695 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)

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

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

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