|
Mushy Layer
1.0
|
Robin temperature bcs, for applying to the enthalpy field. More...
#include <NonlinearBC.H>
Public Member Functions | |
| NonlinearTemperatureBCRobin (const MushyLayerParams a_params, const Real a_dx, const Real a, const Real b, const Real F, const Real T_ref) | |
| virtual void | computeResidual (Real &a_residual, const Real a_ghost_enthalpy, const Real a_ghost_bulk_concentration, const Real a_interior_temperature) |
| Compute the residual given the current estimate of the enthalpy on the boundary. | |
Public Member Functions inherited from NonlinearTemperatureBC | |
| NonlinearTemperatureBC (const MushyLayerParams a_params, const Real a_dx) | |
Protected Attributes | |
| Real | m_a |
| Real | m_b |
| Real | m_F |
| Real | m_T_ref |
Protected Attributes inherited from NonlinearTemperatureBC | |
| MushyLayerParams | m_params |
| Real | m_dx |
Robin temperature bcs, for applying to the enthalpy field.
Compute the residual of 
Specifically, the residual
is
![$ r = \left[F_0 - b( T_b - T_{ref}) \right] - \frac{T_g - T_i)}{\Delta x} $](form_2.png)
where
is the temperature on the boundary,
is the temperature in the ghost cell and
is the temperature on the interior cell.
1.8.13