|
MFC
Exascale flow solver
|
Assembles initial conditions by layering prioritized patches via constructive solid geometry. More...
Functions/Subroutines | |
| impure subroutine | s_initialize_initial_condition_module |
| Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module. | |
| impure subroutine | s_generate_initial_condition |
| Iterate over patches and, depending on the geometry type, call the related subroutine to setup the said geometry on the grid using the primitive variables included with the patch parameters. The subroutine is complete once the primitive variables are converted to conservative ones. | |
| impure subroutine | s_apply_ib_thermal_layers (q_prim_vf, q_t_sf) |
| Start the gas around each prescribed-temperature circle/sphere IB in the conduction solution for a wall impulsively brought to Twall a time t0 ago, T = T_inf + (Twall - T_inf)*(R/r)^((d-1)/2)*erfc((r - R)/delta), delta = 2*sqrt(alpha*t0). Exact for a sphere and the leading-order term for a cylinder (Carslaw & Jaeger). Pressure and composition are kept, so density scales as T_inf/T. Where layers overlap, the IB with the largest temperature change sets the cell. | |
| impure subroutine | s_finalize_initial_condition_module |
| Deallocation procedures for the module. | |
Variables | |
| type(ic_context) | ic |
| Initial-condition state (fields, bc types, patch ids). | |
Assembles initial conditions by layering prioritized patches via constructive solid geometry.
| impure subroutine m_initial_condition::s_apply_ib_thermal_layers | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| type(scalar_field), intent(inout) | q_t_sf ) |
Start the gas around each prescribed-temperature circle/sphere IB in the conduction solution for a wall impulsively brought to Twall a time t0 ago, T = T_inf + (Twall - T_inf)*(R/r)^((d-1)/2)*erfc((r - R)/delta), delta = 2*sqrt(alpha*t0). Exact for a sphere and the leading-order term for a cylinder (Carslaw & Jaeger). Pressure and composition are kept, so density scales as T_inf/T. Where layers overlap, the IB with the largest temperature change sets the cell.
Definition at line 161 of file m_initial_condition.fpp.f90.
| impure subroutine m_initial_condition::s_finalize_initial_condition_module |
Deallocation procedures for the module.
Definition at line 208 of file m_initial_condition.fpp.f90.
| impure subroutine m_initial_condition::s_generate_initial_condition |
Iterate over patches and, depending on the geometry type, call the related subroutine to setup the said geometry on the grid using the primitive variables included with the patch parameters. The subroutine is complete once the primitive variables are converted to conservative ones.
Definition at line 113 of file m_initial_condition.fpp.f90.
| impure subroutine m_initial_condition::s_initialize_initial_condition_module |
Computation of parameters, allocation procedures, and/or any other tasks needed to properly setup the module.
Definition at line 27 of file m_initial_condition.fpp.f90.
| type(ic_context) m_initial_condition::ic |
Initial-condition state (fields, bc types, patch ids).
Definition at line 22 of file m_initial_condition.fpp.f90.