Skip to content

Commit deacae2

Browse files
committed
Fix formatting in 1D heat transport example for clarity
1 parent 3f2fa55 commit deacae2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

_posts/2026-03-26-mpm-symbolic-mode.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ This approach combines the flexibility of symbolic definitions with the performa
2525
Let's start with a simple example of 1D stationary heat transport:
2626

2727
$$\lambda\frac{d^2T}{dx^2} + Q = 0$$
28+
2829
$$T=\bar{T}\ \rm{on}\ \Gamma_d$$
30+
2931
$$q\cdot n=\bar{q}\ \rm{on}\ \Gamma_q$$
3032

3133

3234
### Weak Form
3335

3436
The weak form can be written as
37+
3538
$$ \int_\Omega\underbrace{\frac{d\delta T}{dx}\lambda\frac{dT}{dx}}_{T_1}-\int_{\Gamma_q}\underbrace{\delta T\bar{q}}_{T2} + \int_\Omega \underbrace{\delta TQ}_{T3}=0$$
3639

3740
### Variable Definition

0 commit comments

Comments
 (0)