-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimg_fig_eq.py
44 lines (41 loc) · 1.24 KB
/
img_fig_eq.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ---
# jupyter:
# jupytext:
# cell_metadata_filter: all
# formats: ''
# notebook_metadata_filter: all
# text_representation:
# extension: .py
# format_name: percent
# format_version: '1.2'
# jupytext_version: 1.0.0-rc3
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---
# %% [markdown]
# # html image plus equation and align
# %% [markdown]
# \begin{equation}
# A\left[i \right]\left[i-1 \right] = + \frac{D\theta}{\Delta x}\Delta y \Delta z
# \end{equation}
# %% [markdown]
# In 2-D the general stencils for an interior gridblock C in terms of total flux, specific flux and concentrations are:
#
# \begin{equation}
# \left(J_{EC}+J_{WC} + J_{NC}+J_{SC}\right) = 0
# \end{equation}
#
# \begin{align}
# &\left(j_{EC}+j_{WC}\right) (\Delta y) (\Delta z) +\left(j_{NC}+j_{SC}\right) (\Delta x) (\Delta z) = 0 \label{eq7610}
# \end{align}
#
#
# \begin{align}
# &\left(D\theta {c_E - c_C \over \Delta x} + D\theta {c_W - c_C \over \Delta x} \right) (\Delta y) (\Delta z)
# +\left(D\theta {c_N - c_C \over \Delta y} + D\theta {c_S - c_C \over \Delta y} \right) (\Delta x) (\Delta z)= 0 \label{eq7611}
# \end{align}
#
# <img src="figures/2d_flux.png" alt="pic05" width="20%" >
#