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

Kernel functions (Gaussian, delta) that smear Lagrangian bubble effects onto the Eulerian grid. More...

Functions/Subroutines

subroutine s_smoothfunction (nbubs, lbk_rad, lbk_vel, lbk_s, lbk_pos, updatedvar)
 Smear the Lagrangian bubble effects onto the Eulerian grid using the selected kernel.
subroutine s_deltafunc (nbubs, lbk_rad, lbk_vel, lbk_s, updatedvar)
 Apply the delta kernel function to map bubble effects onto the containing cell.
subroutine s_gaussian (nbubs, lbk_rad, lbk_vel, lbk_s, lbk_pos, updatedvar)
 Apply the Gaussian kernel function to smear bubble effects onto surrounding cells.
subroutine s_applygaussian (center, cellaux, nodecoord, stddsv, strength_idx, func)
 Evaluate the Gaussian kernel at a grid node for a given bubble center.
subroutine s_check_celloutside (cellaux, celloutside)
 Check if the current cell is outside the computational domain including ghost cells.
subroutine s_shift_cell_symmetric_bc (cellaux, cell)
 Relocate cells that intersect a symmetric boundary.
subroutine s_compute_stddsv (cell, volpart, stddsv)
 Calculates the standard deviation of the bubble being smeared in the Eulerian framework.
subroutine s_get_char_vol (cellx, celly, cellz, charvol)
 Compute the characteristic cell volume.
subroutine s_get_cell (s_cell, get_cell)
 Convert bubble computational coordinates from real to integer cell indices.

Detailed Description

Kernel functions (Gaussian, delta) that smear Lagrangian bubble effects onto the Eulerian grid.

Function/Subroutine Documentation

◆ s_applygaussian()

subroutine m_bubbles_el_kernels::s_applygaussian ( real(wp), dimension(3), intent(in) center,
integer, dimension(3), intent(in) cellaux,
real(wp), dimension(3), intent(in) nodecoord,
real(wp), intent(in) stddsv,
real(wp), intent(in) strength_idx,
real(wp), intent(out) func )

Evaluate the Gaussian kernel at a grid node for a given bubble center.

3D gaussian function

2D cylindrical function:

2D cartesian function:

Definition at line 622 of file m_bubbles_EL_kernels.fpp.f90.

Here is the caller graph for this function:

◆ s_check_celloutside()

subroutine m_bubbles_el_kernels::s_check_celloutside ( integer, dimension(3), intent(inout) cellaux,
logical, intent(out) celloutside )

Check if the current cell is outside the computational domain including ghost cells.

Definition at line 720 of file m_bubbles_EL_kernels.fpp.f90.

Here is the caller graph for this function:

◆ s_compute_stddsv()

subroutine m_bubbles_el_kernels::s_compute_stddsv ( integer, dimension(3), intent(in) cell,
real(wp), intent(in) volpart,
real(wp), intent(out) stddsv )

Calculates the standard deviation of the bubble being smeared in the Eulerian framework.

Compute characteristic distance

Compute characteristic volume

Compute Standard deviaton

Definition at line 856 of file m_bubbles_EL_kernels.fpp.f90.

Here is the caller graph for this function:

◆ s_deltafunc()

subroutine m_bubbles_el_kernels::s_deltafunc ( integer, intent(in) nbubs,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_rad,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_vel,
real(wp), dimension(1:lag_params%nbubs_glb,1:3,1:2), intent(in) lbk_s,
type(scalar_field), dimension(:), intent(inout) updatedvar )

Apply the delta kernel function to map bubble effects onto the containing cell.

Definition at line 343 of file m_bubbles_EL_kernels.fpp.f90.

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

◆ s_gaussian()

subroutine m_bubbles_el_kernels::s_gaussian ( integer, intent(in) nbubs,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_rad,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_vel,
real(wp), dimension(1:lag_params%nbubs_glb,1:3,1:2), intent(in) lbk_s,
real(wp), dimension(1:lag_params%nbubs_glb,1:3,1:2), intent(in) lbk_pos,
type(scalar_field), dimension(:), intent(inout) updatedvar )

Apply the Gaussian kernel function to smear bubble effects onto surrounding cells.

Definition at line 454 of file m_bubbles_EL_kernels.fpp.f90.

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

◆ s_get_cell()

subroutine m_bubbles_el_kernels::s_get_cell ( real(wp), dimension(3), intent(in) s_cell,
integer, dimension(3), intent(out) get_cell )

Convert bubble computational coordinates from real to integer cell indices.

Definition at line 980 of file m_bubbles_EL_kernels.fpp.f90.

Here is the caller graph for this function:

◆ s_get_char_vol()

subroutine m_bubbles_el_kernels::s_get_char_vol ( integer, intent(in) cellx,
integer, intent(in) celly,
integer, intent(in) cellz,
real(wp), intent(out) charvol )

Compute the characteristic cell volume.

Definition at line 926 of file m_bubbles_EL_kernels.fpp.f90.

◆ s_shift_cell_symmetric_bc()

subroutine m_bubbles_el_kernels::s_shift_cell_symmetric_bc ( integer, dimension(3), intent(inout) cellaux,
integer, dimension(3), intent(in) cell )

Relocate cells that intersect a symmetric boundary.

Definition at line 786 of file m_bubbles_EL_kernels.fpp.f90.

Here is the caller graph for this function:

◆ s_smoothfunction()

subroutine m_bubbles_el_kernels::s_smoothfunction ( integer, intent(in) nbubs,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_rad,
real(wp), dimension(1:lag_params%nbubs_glb,1:2), intent(in) lbk_vel,
real(wp), dimension(1:lag_params%nbubs_glb,1:3,1:2), intent(in) lbk_s,
real(wp), dimension(1:lag_params%nbubs_glb,1:3,1:2), intent(in) lbk_pos,
type(scalar_field), dimension(:), intent(inout) updatedvar )

Smear the Lagrangian bubble effects onto the Eulerian grid using the selected kernel.

Definition at line 326 of file m_bubbles_EL_kernels.fpp.f90.

Here is the call graph for this function: