Skip to content

Commit 211bc5e

Browse files
committed
Refactor content for clarity by merging related sentences and improving readability in AdvectionDiffusion1D.html
1 parent 23cd6ae commit 211bc5e

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

tutorials/AdvectionDiffusion1D.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,9 @@ <h2 id="mathematicalformulation"><a name="Mathematical formulation"></a>Mathemat
105105
<p>
106106
We apply Dirichlet boundary condition at the left end: \(u(0) = 1\) and Neumann boundary condition (zero
107107
gradient) at the right end: \(\frac{du}{dx}(1) = 0\). These conditions represent a fixed concentration
108-
at the inlet and free outflow at the outlet of our domain.
109-
</p>
110-
<p>
111-
The Gaussian source term acts as a localized input at the center of the domain. The balance between
112-
diffusion (spreading) and advection (directed transport) will determine how the solution behaves. With
113-
the given advection coefficient of 10, we expect to see the solution skewed in the direction opposite to
114-
the advection (toward the left) since the advection term has a positive coefficient.
108+
at the inlet and free outflow at the outlet of our domain. The Gaussian source term acts as a localized
109+
input at the center of the domain. The balance between diffusion (spreading) and advection (directed
110+
transport) will determine how the solution behaves.
115111
</p>
116112

117113
<h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with FEAScript</h2>
@@ -233,11 +229,11 @@ <h2 id="results"><a name="Results"></a>Results</h2>
233229

234230
<script type="module">
235231
// Import FEAScript library from GitHub
236-
import {
237-
FEAScriptModel,
238-
plotSolution,
239-
printVersion,
240-
} from "https://core.feascript.com/dist/feascript.esm.js";
232+
import {
233+
FEAScriptModel,
234+
plotSolution,
235+
printVersion,
236+
} from "https://core.feascript.com/dist/feascript.esm.js";
241237
// Import FEAScript library from a local directory
242238
// import { FEAScriptModel, plotSolution, printVersion } from "../../FEAScript-core/src/index.js";
243239

0 commit comments

Comments
 (0)