Skip to content

Commit 5fccdad

Browse files
committed
after some corrections
1 parent 0deda5b commit 5fccdad

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

bc.tex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
\usepackage{amsmath}
66
\usepackage{graphicx}
77
\usepackage{bm}
8+
\usepackage{color}
89
%\usepackage{cite}
910

1011
\newcommand{\gcc}{\mathrm{g~cm^{-3} }}
@@ -21,7 +22,7 @@
2122

2223
The terms on the left (Hyperbolic subsystem) are solved with the hydro solver, while the terms on the right (parabolic system) are solved with the implicit solver. \\
2324

24-
The inputs file specifies the incoming radiation flux to the boundary, which is used to fill the ghost cells for the implicit solver. The hydro solver does not know about this, so the ghost cells for the radiation energy are just filled in the way the hydro BC where specified. \\
25+
The inputs file specifies the incoming radiation flux $F_{in}$ to the boundary (radiation.hi\_bcval), which is used to fill the ghost cells for the implicit solver. The hydro solver does not know about this, so the ghost cells for the radiation energy are just filled in the way the hydro BC were specified. \\
2526

2627
In order to fill the hydro BC for radiation energy, taking into account the radiation flux comming from the boundary, we can use Eq. (2.19) from the SANDIA report \cite{advinrad} :
2728

@@ -47,18 +48,23 @@
4748
Then at the boundary, for let's say coordinate x this leads to
4849

4950
\begin{align*}
50-
\frac{E_{r,ghost} - E_{r}}{\Delta x} = \frac{-1}{cD} \left[ -2 F_{in} + \frac{c}{2} E_{r,ghost}\right]
51+
\frac{E_{r,ghost} - E_{r}}{\Delta x} = \frac{-1}{cD} \left[ -2 F_{in} + \frac{c}{2} E_{r,ghost?}\right]
5152
\qquad ,
5253
\qquad
5354
D = \frac{\lambda}{\chi_R}
5455
\end{align*}
56+
\textcolor{blue}{ Question: What value of $E_r$ should we be using on the right side of the equation?}\\
5557

5658
Note that $D$ is different by a factor of $c$ from Castro paper equation (8) because of the difference in Flux definition from the SANDIA report. (Equations (2.1.5) and (7) respectively) \\
5759

60+
% E_{r,ghost} = \frac{2D}{2D+ \Delta x} \left[ \frac{2 \Delta x}{cD} F_{in} + E_r\right]
5861
\begin{align*}
59-
E_{r,ghost} = \frac{2}{2+ c\Delta x} \left[ \frac{2 \Delta x}{cD} F_{in} + E_r\right]
62+
E_{r,ghost} = E_r - \frac{\Delta x}{c D} \left[ -2 F_{in} + \frac{c}{2} E_{r,ghost?}\right]
6063
\end{align*}
6164

65+
This will be implemented in a bc\_fill\_nd.F90 file in the problem setup with a ca\_radfill() routine\\
66+
67+
\textcolor{blue}{Question: What should we use for D? We were thinking on having D as a constant from the initialization parameters}
6268

6369
\bibliography{references}{}
6470
\bibliographystyle{plain}

0 commit comments

Comments
 (0)