Skip to content

Commit 01419fa

Browse files
committed
Rewrite the Simulation docs.
1 parent 3e49c4c commit 01419fa

File tree

80 files changed

+295
-2978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+295
-2978
lines changed

documentation/cfd_simulation.html

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,20 @@ <h4 class="skipTo introduction">Introduction</h4>
170170
<h4 class="skipTo simulation_input_data">Simulation Input Data</h4>
171171
</div>
172172
<div>
173-
<h4 class="skipTo bcphysics">Boundary Conditions</h4>
173+
<h4 class="skipTo boundary_conditions">Boundary Conditions</h4>
174174
</div>
175+
176+
<!-- ==================== CFD Simulation Tool ==================== -->
177+
<div>
178+
<h4 class="skipTo cfd_simulation_tool"> CFD Simulation Tool </h4>
179+
<div>
180+
<p class="skipTo basic_parameters_panel"> Basic Parameters panel </p>
181+
<p class="skipTo inlet_outlet_bcs_panel"> Inlet and Outlet BCs panel </p>
182+
<p class="skipTo solver_parameters_panel"> Solver parameters panel </p>
183+
<p class="skipTo create_files_and_run_simulation_panel"> Create Files and Run Simulation panel </p>
184+
<div>
185+
</div>
186+
175187
</section>
176188

177189
<!-- The following code defines the place where the markdown files are rendered -->
@@ -189,10 +201,31 @@ <h4 class="skipTo bcphysics">Boundary Conditions</h4>
189201
<span id="simulation_input_data">
190202
<zero-md src="cfd_simulation/simulation_input_data/readme.md" no-shadow></zero-md>
191203
</span>
192-
<span id="bcphysics">
204+
<span id="boundary_conditions">
193205
<zero-md src="cfd_simulation/boundary_conditions/readme.md" no-shadow></zero-md>
194206
</span>
195207

208+
<!-- ==================== CFD Simulation Tool ==================== -->
209+
<span id="cfd_simulation_tool">
210+
<zero-md src="cfd_simulation/cfd_simulation_tool/readme.md" no-shadow></zero-md>
211+
</span>
212+
213+
<span id="basic_parameters_panel">
214+
<zero-md src="cfd_simulation/cfd_simulation_tool/basic_parameters_panel/readme.md" no-shadow></zero-md>
215+
</span>
216+
217+
<span id="inlet_outlet_bcs_panel">
218+
<zero-md src="cfd_simulation/cfd_simulation_tool/inlet_outlet_bcs_panel/readme.md" no-shadow></zero-md>
219+
</span>
220+
221+
<span id="solver_parameters_panel">
222+
<zero-md src="cfd_simulation/cfd_simulation_tool/solver_parameters_panel/readme.md" no-shadow></zero-md>
223+
</span>
224+
225+
<span id="create_files_and_run_simulation_panel">
226+
<zero-md src="cfd_simulation/cfd_simulation_tool/create_files_and_run_simulation_panel/readme.md" no-shadow></zero-md>
227+
</span>
228+
196229
</section>
197230
</section>
198231
<section class="skipToTopSection">

documentation/cfd_simulation/appendix/readme.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

documentation/cfd_simulation/basic/readme.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

documentation/cfd_simulation/bct_file/readme.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

documentation/cfd_simulation/boundary_conditions/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ Boundary conditions are applied to the finite element mesh walls and inlet/outle
1717
The boundaries of a computational domain $\Omega$ are classified as (Fig. 1)
1818

1919
<ol>
20-
<li> <strong>inflow</strong> boundary $\Gamma_g$ - Surfaces where a volumetric flow rate of fluid entering the domain is prescribed. It is used to derive a Dirichlet velocity boundary condition applied in the direction normal to the surface.
20+
<li> <strong>inlet</strong> boundary $\Gamma_g$ - Surfaces where a volumetric flow rate of fluid entering the domain is prescribed. It is used to derive a Dirichlet velocity boundary condition applied in the direction normal to the surface.
2121
<li> <strong>wall</strong> boundary $\Gamma_s$ - This boundary represents the interface between the fluid domain and the vessel wall. Blood flow simulations typically assume a <strong>rigid wall assumption</strong> where a zero velocity condition is applied to vessel surfaces.
2222
</li>
2323
<li> <strong>outflow</strong> boundary $\Gamma_h$ - Surfaces where a uniform pressure value is prescribed.
2424
</ol>
2525

2626
<br> <br>
2727
<figure>
28-
<img class="svImg svImgMd" src="/documentation/cfd_simulation/imgs/Fig_15.png">
29-
<figcaption class="svCaption" >Fig. 1 &nbsp Boundaries of a fluid domain: inflow ($\Gamma_g$), wall ($\Gamma_s$), and outlet ($\Gamma_h$). </figcaption>
28+
<img class="svImg svImgMd" src="/documentation/cfd_simulation/images/Fig_1.png">
29+
<figcaption class="svCaption" >Fig. 1 &nbsp Boundaries of a fluid domain: inlet ($\Gamma_g$), wall ($\Gamma_s$), and outlet ($\Gamma_h$). </figcaption>
3030
</figure>
3131

3232

@@ -46,7 +46,7 @@ There are several boundary conditions that can be used to represent the pressure
4646

4747
<br><br>
4848
<figure>
49-
<img class="svImg svImgMd" src="/documentation/cfd_simulation/imgs/Fig_18.png">
49+
<img class="svImg svImgMd" src="/documentation/cfd_simulation/images/Fig_2.png">
5050
<figcaption class="svCaption" >Fig. 2 &nbsp An RCR 3-element lumped parameter network </figcaption>
5151
</figure>
5252

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<br>
2+
3+
<h2 id="basic_parameters_panel" style="text-align:center;"> Basic Parameters Panel </h2>
4+
5+
The <strong>Basic Parameters Panel</strong> is used to set the physical properties of the fluid used in the simulation
6+
7+
<figure>
8+
<img class="svImg svImgSm" src="/documentation/cfd_simulation/cfd_simulation_tool/images/basic_params_panel.png">
9+
<figcaption class="svCaption"> The <strong>Basic Parameters </strong> panel.
10+
</figcaption>
11+
</figure>
12+
13+
The panel contains two <i>TextBox</i>s used to set property values
14+
15+
<ul style="list-style-type:disc;">
16+
<li> <strong>Fluid Density</strong> The fluid density. Default value 1.0 g/cm³ </li>
17+
<li> <strong>Fluid Viscosity</strong> The fluid viscosity. Default value 0.04 poise [g · cm<sup>-1</sup> · s<sup>-1</sup>] </li>
18+
</ul>
19+
20+
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<br>
2+
3+
<h2 id="create_files_and_run_simulation_panel" style="text-align:center;"> Create Files and Run Simulation Panel </h2>
4+
5+
The <strong>Create Files and Run Simulation Panel</strong> is used to execute the svMultiPhysics solver for the fluid simulation.
6+
7+
<figure>
8+
<img class="svImg svImgSm" src="/documentation/cfd_simulation/cfd_simulation_tool/images/create_and_run_panel.png">
9+
<figcaption class="svCaption"> The <strong>Files and Run Simulation</strong> panel.
10+
</figcaption>
11+
</figure>
12+
13+
<ul style="list-style-type:disc;">
14+
<li> <strong>Choose Mesh</strong> - A <i>ComboBox</> used to select the mesh for the simulation. </li>
15+
<li> <strong>Create Data Files for Simulation</strong> When selected the mesh files and solver XML files are created. </li>
16+
<li> <strong>Number of Processors</strong> The number of processors (cores) used by MPI to run the simulation. </li>
17+
<li> <strong>Run Simualtion</strong> When selected the simulation will be run. </li>
18+
</ul>
19+
20+
45.5 KB
Loading
154 KB
Loading
53.7 KB
Loading

0 commit comments

Comments
 (0)