Skip to content

Commit f507e5f

Browse files
committed
Refactor tutorial HTML files to enhance image presentation and update text for clarity and consistency across multiple pages.
1 parent 3159dda commit f507e5f

File tree

5 files changed

+24
-15
lines changed

5 files changed

+24
-15
lines changed

tutorials/HeatConduction1DWall.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
111111
<p>
112112
Below is a demonstration of how to use the FEAScript library to solve this stationary heat transfer
113113
problem in your web browser. You only need a simple HTML page to run this example where the following
114-
code snippets should be included. First, we should load the required external libraries:
114+
code snippets should be included. First, load the required external libraries:
115115
</p>
116116
<pre class="prettyprint">
117117
&lt;head&gt;
@@ -165,7 +165,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
165165

166166
});
167167
&lt;/script&gt;
168-
&lt;!-- ...continue of body region... --&gt;
168+
&lt;!-- ...rest of body region... --&gt;
169169
&lt;/body&gt;</pre
170170
>
171171

@@ -177,7 +177,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
177177
&lt;body&gt;
178178
&lt;!-- ...body region... --&gt;
179179
&lt;div id="resultsCanvas">&lt;/div&gt;
180-
&lt;!-- ...continue of body region... --&gt;
180+
&lt;!-- ...rest of body region... --&gt;
181181
&lt;/body&gt;</pre
182182
>
183183
<p>

tutorials/HeatConduction2DFin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
169169

170170
});
171171
&lt;/script&gt;
172-
&lt;!-- ...continue of body region... --&gt;
172+
&lt;!-- ...rest of body region... --&gt;
173173
&lt;/body&gt;</pre
174174
>
175175
<p>
@@ -190,7 +190,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
190190
&lt;body&gt;
191191
&lt;!-- ...body region... --&gt;
192192
&lt;div id="resultsCanvas">&lt;/div&gt;
193-
&lt;!-- ...continue of body region... --&gt;
193+
&lt;!-- ...rest of body region... --&gt;
194194
&lt;/body&gt;</pre
195195
>
196196
<p>

tutorials/HeatConduction2DFinGmsh.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ <h2 id="gmshfileimport"><a name="gmshfileimport"></a>Gmsh File Import</h2>
162162
);
163163
});
164164
&lt;/script&gt;
165-
&lt;!-- ... continue of body region... --&gt;
165+
&lt;!-- ... rest of body region... --&gt;
166166
&lt;/body&gt;</pre
167167
>
168168

tutorials/HeatConduction2DFinWorker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ <h2 id="webworkerimplementation"><a name="Web Worker Implementation"></a>Web Wor
150150
model.terminate();
151151
});
152152
&lt;/script&gt;
153-
&lt;!-- ...continue of body region... --&gt;
153+
&lt;!-- ...rest of body region... --&gt;
154154
&lt;/body&gt;</pre
155155
>
156156

tutorials/SolidificationFront2D.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,20 @@ <h2 id="mathematicalformulation"><a name="Mathematical formulation"></a>Mathemat
9595
equation and its mathematical properties, please see our
9696
<a href="https://blog.feascript.com/tutorial/2025/06/15/eikonal-equation.html">blog post</a>.
9797
</p>
98-
<img
99-
src="../assets/SolidificationFront2D.png"
100-
width="300"
101-
alt="Schematic of 2D solidification front domain"
102-
/>
98+
99+
<div class="center-image">
100+
<img
101+
src="../assets/SolidificationFront2D.png"
102+
alt="Schematic of 2D solidification front domain"
103+
width="300"
104+
/>
105+
<p class="image-caption">
106+
Schematic of the 2D solidification front propagation domain: constant value (0) at bottom, left, and
107+
right edges indicating initial solidification fronts, and zero gradient at the top edge allowing free
108+
propagation
109+
</p>
110+
</div>
111+
103112
<p>
104113
The above schematic illustrates the problem domain and outlines the associated boundary conditions. In
105114
this model, we consider a square domain where solidification begins simultaneously from three sides
@@ -122,7 +131,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
122131
<p>
123132
Below is a demonstration of how to use the FEAScript library to solve this front propagation problem in
124133
your web browser. You only need a simple HTML page to run this example where the following code snippets
125-
should be included. First, we should load the required external libraries:
134+
should be included. First, load the required external libraries:
126135
</p>
127136
<pre class="prettyprint">
128137
&lt;head&gt;
@@ -181,7 +190,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
181190

182191
});
183192
&lt;/script&gt;
184-
&lt;!-- ...continue of body region... --&gt;
193+
&lt;!-- ...rest of body region... --&gt;
185194
&lt;/body&gt;</pre
186195
>
187196
<p>
@@ -192,7 +201,7 @@ <h2 id="solvingwithfeascript"><a name="Solving with FEAScript"></a>Solving with
192201
&lt;body&gt;
193202
&lt;!-- ...body region... --&gt;
194203
&lt;div id="resultsCanvas">&lt;/div&gt;
195-
&lt;!-- ...continue of body region... --&gt;
204+
&lt;!-- ...rest of body region... --&gt;
196205
&lt;/body&gt;</pre
197206
>
198207
<p>

0 commit comments

Comments
 (0)