MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_ib_patches.fpp.f90 File Reference

Contains module m_ib_patches. More...

Go to the source code of this file.

Modules

module  m_ib_patches
 Allocate memory and read initial condition data for IC extrusion.

Functions/Subroutines

subroutine m_ib_patches::s_ib_circle (patch_id, ib_markers, xp, yp)
 Mark cells inside a circular immersed boundary.
subroutine m_ib_patches::s_ib_airfoil (patch_id, ib_markers, xp, yp)
 Mark cells inside a 2D NACA 4-digit airfoil immersed boundary.
subroutine m_ib_patches::s_ib_3d_airfoil (patch_id, ib_markers, xp, yp, zp)
 Mark cells inside a 3D extruded NACA 4-digit airfoil immersed boundary with finite span.
subroutine m_ib_patches::s_ib_rectangle (patch_id, ib_markers, xp, yp)
 Mark cells inside a rectangular immersed boundary.
subroutine m_ib_patches::s_ib_sphere (patch_id, ib_markers, xp, yp, zp)
 Mark cells inside a spherical immersed boundary.
subroutine m_ib_patches::s_ib_cuboid (patch_id, ib_markers, xp, yp, zp)
 Mark cells inside a cuboidal immersed boundary.
subroutine m_ib_patches::s_ib_cylinder (patch_id, ib_markers, xp, yp, zp)
 Mark cells inside a cylindrical immersed boundary.
subroutine m_ib_patches::s_ib_ellipse (patch_id, ib_markers, xp, yp)
 Mark cells inside a 2D elliptical immersed boundary.
subroutine m_ib_patches::s_ib_model (patch_id, ib_markers, xp, yp)
 The STL patch is a 2D geometry that is imported from an STL file.
subroutine m_ib_patches::s_ib_3d_model (patch_id, ib_markers, xp, yp, zp)
 The STL patch is a 3D geometry that is imported from an STL file.
subroutine, public m_ib_patches::s_update_ib_rotation_matrix (patch_id)
 Compute a rotation matrix for converting to the rotating frame of the boundary.
subroutine m_ib_patches::s_convert_cylindrical_to_cartesian_coord (cyl_y, cyl_z)
 Convert cylindrical (r, theta) coordinates to Cartesian (y, z).
pure real(wp) function, dimension(1:3), public m_ib_patches::f_convert_cyl_to_cart (cyl)
 Convert a 3D cylindrical coordinate vector (x, r, theta) to Cartesian (x, y, z).
subroutine m_ib_patches::s_convert_cylindrical_to_spherical_coord (cyl_x, cyl_y)
 Convert cylindrical coordinates (x, r) to the spherical azimuthal angle phi.
subroutine m_ib_patches::get_bounding_indices (left_bound, right_bound, cell_centers, left_index, right_index)
subroutine m_ib_patches::s_encode_patch_periodicity (patch_id, x_periodicity, y_periodicity, z_periodicity, encoded_patch_id)
 Encode the patch ID with a unique offset containing periodicity information.
subroutine, public m_ib_patches::s_decode_patch_periodicity (encoded_patch_id, patch_id, x_periodicity, y_periodicity, z_periodicity)
 Decode the encoded ID to recover the original patch ID and periodicity.
subroutine m_ib_patches::s_get_periodicities (xp_lower, xp_upper, yp_lower, yp_upper, zp_lower, zp_upper)
 Determine the periodic wrapping bounds in each direction.
pure elemental real(wp) function m_ib_patches::f_r (myth, offset, a)
 Archimedes spiral function.
impure subroutine, public m_ib_patches::s_apply_ib_patches (ib_markers)
 Apply all immersed boundary patch geometries to mark interior cells in the IB marker array.

Variables

real(wpm_ib_patches::x_centroid
real(wpm_ib_patches::y_centroid
real(wpm_ib_patches::z_centroid
real(wpm_ib_patches::length_x
real(wpm_ib_patches::length_y
real(wpm_ib_patches::length_z
integer m_ib_patches::smooth_patch_id
real(wpm_ib_patches::smooth_coeff
real(wpm_ib_patches::cart_x
real(wpm_ib_patches::cart_y
real(wpm_ib_patches::cart_z
real(wpm_ib_patches::sph_phi
type(bounds_infom_ib_patches::x_boundary
type(bounds_infom_ib_patches::y_boundary
type(bounds_infom_ib_patches::z_boundary
character(len=5) m_ib_patches::istr
 string to store int to string result for error checking

Detailed Description

Contains module m_ib_patches.

Definition in file m_ib_patches.fpp.f90.