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

Contains module m_ib_wall_column. More...

Go to the source code of this file.

Modules

module  m_ib_wall_column
 Sub-grid wall conduction column of an isothermal immersed wall (patch_ibwall_column): state and 1D numerics.

Functions/Subroutines

real(wp) function, public m_ib_wall_column::f_wc_node (k, sm)
 Wall distance of column node k: 0 the wall, 1..wc_n the cell centres, wc_n + 1 the top s_m. Faces are geometric from the wall, f_k = s_m (r^k - 1)/(r^N - 1).
real(wp) function m_ib_wall_column::f_wc_face (k, sm)
real(wp) function m_ib_wall_column::f_wc_area (kap, s)
 Area of the surface at wall distance s per unit wall area, (1 + kappa s)^(d - 1).
real(wp) function, public m_ib_wall_column::f_wc_ell (kap, s)
 Steady radial conduction coordinate, int ds/A: ln(1 + kappa s)/kappa (2D), s/(1 + kappa s) (3D).
real(wp) function m_ib_wall_column::f_wc_interp (tc, tw, sm, s)
 Column temperature at wall distance s >= 0 (linear between nodes, the last cell's value beyond it).
real(wp) function, public m_ib_wall_column::f_wc_target (tc, tw, sm, s)
 Guard target at a point of signed wall distance s: the column value, and behind the wall its mirror-odd extension 2 T_w - T(-s), exact for a linear profile, so a smooth steady cell's average is its centre value.
real(wp) function m_ib_wall_column::f_wc_tab (tab, t, tlo, dts)
 Linear interpolation in a table on wc_ntab uniform temperatures from Tlo, constant beyond its ends.
real(wp) function m_ib_wall_column::f_wc_phi (t, tlo, dts, lam_t, phi_t)
 Phi = int lambda dT of the piecewise-linear table, lambda constant beyond its ends.
real(wp) function m_ib_wall_column::f_wc_kbar (ta, tb, tlo, dts, lam_t, phi_t)
 Kirchhoff mean conductivity (Phi(Tb) - Phi(Ta))/(Tb - Ta).
subroutine m_ib_wall_column::s_wc_solve (lo, up, rcv, c, d)
 Solve (rcv - c L) x = d in place, L tridiagonal with sub lo, diagonal -(lo + up) and super up (Thomas).
subroutine, public m_ib_wall_column::s_wc_step (tc, tw, tm, rcoef, kap, sm, dt, tlo, dts, lam_t, cp_t, q)
 Advance one column over dt and return its step-mean wall heat flux into the body q, per unit wall area. Low-Mach energy equation of gas at rest at an isothermal wall, frozen composition, rho = rcoef/T (rcoef = p W/R_u):

Variables

integer, parameter, public m_ib_wall_column::wc_n = 96
 Column cells.
integer, parameter m_ib_wall_column::wc_nsub = 16
 SDIRK2 substeps per flow step.
integer, parameter, public m_ib_wall_column::wc_ntab = 8
 Temperatures of the per-step property tables.
real(wp), parameter m_ib_wall_column::wc_ratio = 1.08_wp
 Cell stretching from the wall.
real(wp), parameter, public m_ib_wall_column::wc_guard = 4._wp
 Strength of the one-sided guard.
real(wp), parameter, public m_ib_wall_column::wc_len_frac = 0.15_wp
 Default column length / radius.
real(wp), dimension(:,:), allocatable, public m_ib_wall_column::wc_t
 Per column ghost (the first-layer ghosts of wall_column bodies, n_wc of them; wc_gp(c) is the ghost's index in ghost_points, wc_slot its inverse during setup): column temperatures at the cell centres (wc_T), step-mean wall heat flux into the body per unit wall area (wc_q), guard heat booked to the body (wc_cut) and state (wc_on: -1 none, 0 the mirror this step, 1 active). Per face (2 per direction): area times l-coordinate weight (wc_w), area/spacing (wc_g, 0 off a gas face) and the column temperature averaged over the gas cell (wc_ext).
real(wp), dimension(:,:), allocatable, public m_ib_wall_column::wc_w
real(wp), dimension(:,:), allocatable, public m_ib_wall_column::wc_g
real(wp), dimension(:,:), allocatable, public m_ib_wall_column::wc_ext
real(wp), dimension(:), allocatable, public m_ib_wall_column::wc_q
real(wp), dimension(:), allocatable, public m_ib_wall_column::wc_cut
integer, dimension(:), allocatable, public m_ib_wall_column::wc_on
integer, dimension(:), allocatable, public m_ib_wall_column::wc_gp
integer, dimension(:), allocatable, public m_ib_wall_column::wc_slot
integer, public m_ib_wall_column::n_wc = 0

Detailed Description

Contains module m_ib_wall_column.

Definition in file m_ib_wall_column.fpp.f90.