|
MFC
Exascale flow solver
|
Contains module m_initial_condition. More...
Go to the source code of this file.
Modules | |
| module | m_initial_condition |
| Assembles initial conditions by layering prioritized patches via constructive solid geometry. | |
Functions/Subroutines | |
| 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. | |
| 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. | |
| impure subroutine | m_initial_condition::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 | m_initial_condition::s_finalize_initial_condition_module |
| Deallocation procedures for the module. | |
Variables | |
| type(ic_context) | m_initial_condition::ic |
| Initial-condition state (fields, bc types, patch ids). | |
Contains module m_initial_condition.
Definition in file m_initial_condition.fpp.f90.