Skip to content

Commit 35f32b1

Browse files
committed
Add missing parameters and a couple of new sections.
1 parent daca3dd commit 35f32b1

File tree

9 files changed

+235
-6
lines changed

9 files changed

+235
-6
lines changed

documentation/multi_physics.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ <h4 class="skipTo solver-input-file"> Solver Input File </h4>
189189
<div>
190190
<p class="skipTo general_parameters "> General Simulation Parameters </p>
191191
<p class="skipTo mesh_parameters "> Mesh Section </p>
192+
<p class="skipTo contact_section"> Contact Section </p>
193+
<p class="skipTo precomputed_solution_section"> Precomputed Solution Section </p>
192194
<p class="skipTo projection_section"> Projection Section </p>
193195
<p class="skipTo equation_section"> Equation Section </p>
194196
<div>
@@ -357,6 +359,14 @@ <h4 class="skipTo appendix"> Appendix </h4>
357359
<zero-md src="multi_physics/solver-input-file/mesh_parameters/readme.md" no-shadow></zero-md>
358360
</span>
359361

362+
<span id="contact_section">
363+
<zero-md src="multi_physics/solver-input-file/contact_parameters/readme.md" no-shadow></zero-md>
364+
</span>
365+
366+
<span id="precomputed_solution_section">
367+
<zero-md src="multi_physics/solver-input-file/precomputed_solution_parameters/readme.md" no-shadow></zero-md>
368+
</span>
369+
360370
<span id="projection_section">
361371
<zero-md src="multi_physics/solver-input-file/projection_parameters/readme.md" no-shadow></zero-md>
362372
</span>

documentation/multi_physics/solver-input-file/boundary_condition_parameters/readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ in a text file.
7878
</nobr><br>
7979
Load a file used to set the spatial and temporal values for a boundary condition. The file can be a VTK VTP-format file or a text file.
8080
<br>
81+
<strong>&lt;CST_shell_bc_type&gt;</strong> <i>string</i> [<i>none</i>] <nobr>
82+
<strong>&lt;/CST_shell_bc_type&gt;</strong>
83+
</nobr><br>
84+
Constrain the degrees of freedom of a Constant Strain Triangle (CST) of a triangular shell element.
85+
condition. Permissible values are:
86+
<ul style="list-style-type:disc;">
87+
<li> fixed - Fix the edge </li>
88+
<li> hinged - Allow rotation about an edge </li>
89+
<li> free - Allow free motion about an edge </li>
90+
</ul>
91+
<strong>&lt;Impose_on_state_variable_integral&gt;</strong> <i>boolean</i> [<i>false</i>] <nobr>
8192
<strong>&lt;Impose_flux&gt;</strong> <i>boolean</i> [<i>false</i>] <nobr>
8293
<strong>&lt;/Impose_flux&gt;</strong>
8394
</nobr><br>
@@ -279,5 +290,10 @@ If <i>true</i> then when the Robin BC is applied along the normal direction the
279290
<strong>&lt;/Damping&gt;</strong>
280291
</nobr><br>
281292
The damping constant for the spring-mass-damper force used to implement a Robin boundary condition.
293+
<br>
294+
<strong>&lt;Stiffness>&gt;</strong> <i>real [1.0]</i> <nobr>
295+
<strong>&lt;/Stiffness&gt;</strong>
296+
</nobr><br>
297+
The stiffness constant for the spring-mass-damper force used to implement a Robin boundary condition.
282298
</div>
283299

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!-- =============================================================== -->
2+
<!-- ========================= Contact Section ===================== -->
3+
<!-- =============================================================== -->
4+
5+
<h2 id="contact_section"> Contact Section </h2>
6+
The <i>Contact Section</i> of the solver parameters input file is used to define the parameters controlling the contact computations
7+
that prevents the geometric interpenetration of element domains.
8+
9+
A <i>Contact Section</i> is organized as follows
10+
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
11+
&lt;<strong>Contact</strong> model=<i>contact_model</i>&gt;
12+
<br>
13+
[ <a href="#contact_parameters"> Contact Parameters </a> ]
14+
<br>
15+
&lt;<strong>/Contact</strong>&gt;
16+
</div>
17+
18+
The <strong>Contact</strong> keyword is used to define the parameters used in a contact computation. The <strong>model</strong> attribute
19+
<i>contact_model</i> is the name of a method used for the contact computation. The <strong>"penalty"</strong> model is currently the
20+
only model supported.
21+
22+
<h3 id= "contact_parameters"> Contact Parameters </h3>
23+
<div class="bc_param_div">
24+
<strong>&lt;Closest_gap_to_activate_penalty></strong> <i>real</i> [1.0] <nobr>
25+
<strong>&lt;/Closest_gap_to_activate_penalty&gt;</strong>
26+
</nobr><br>
27+
The maximum depth of penetration between elements in contact.
28+
<br>
29+
<strong>&lt;Desired_separation></strong> <i>real</i> [0.05] <nobr>
30+
<strong>&lt;/Desired_separation&gt;</strong>
31+
</nobr><br>
32+
The minimum depth of penetration between elements in contact.
33+
<br>
34+
<strong>&lt;Min_norm_of_face_normals></strong> <i>real</i> [0.05] <nobr>
35+
<strong>&lt;/Min_norm_of_face_normals&gt;</strong>
36+
</nobr><br>
37+
The minimum norm of face normals in contact.
38+
<br>
39+
<strong>&lt;Penalty_constant></strong> <i>real</i> [1e5] <nobr>
40+
<strong>&lt;/Penalty_constant&gt;</strong>
41+
</nobr><br>
42+
The penalty constant used to prevent element interpenetration.
43+
<br>
44+
</div>
45+

documentation/multi_physics/solver-input-file/domain_parameters/readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ The following sections list the parameters associated with a domain for a specif
8181
<a href="#domain_Force_x"> Force_x <a>
8282
<a href="#domain_Force_y"> Force_y <a>
8383
<a href="#domain_Force_z"> Force_z <a>
84+
<a href="#domain_Inverse_darcy_permeability"> Inverse_darcy_permeability <a>
8485
</pre>
8586

8687
<!-- ---------- fluid-solid-interactio domain Parameters ---------- -->
@@ -108,7 +109,7 @@ linear elasticity, structural or structural velocity pressure parameters.
108109
<a href="#domain_Poisson_ratio"> Poisson_ratio <a>
109110
</pre>
110111

111-
<!-- ---------- shel domain Parameters ---------- -->
112+
<!-- ---------- shell domain Parameters ---------- -->
112113

113114
<h5 id="shell_domain_parameters"> Shell Domain Parameters </h5>
114115
<pre>
@@ -291,6 +292,12 @@ The maximal rapid delayed rectifier sodium current used in the TenTusscher-Panfi
291292
</nobr><br>
292293
The maximal transient outward current conductance used in the TenTusscher-Panfilov Ventricular Myocyte Model.
293294
<br>
295+
<section id="domain_Inverse_darcy_permeability">
296+
<strong>&lt;Inverse_darcy_permeability&gt;</strong> <i>real</i> [0.0] <nobr>
297+
<strong>&lt;/Inverse_darcy_permeability&gt;</strong>
298+
</nobr><br>
299+
Sets the inverse darcy permeability constant.
300+
<br>
294301
<strong>&lt;Isotropic_conductivity&gt;</strong> <i>real</i> [0.0] <nobr>
295302
<strong>&lt;/Isotropic_conductivity&gt;</strong>
296303
</nobr><br>

documentation/multi_physics/solver-input-file/equation_parameters/readme.md

Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The <i>Equation Section</i> is organized as follows
1313
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
1414
&lt;<strong>Add_equation</strong> type=<i>equation_type</i>&gt;
1515
<br><br>
16-
[<a href="#equation_parameters"> Equation Parameters </a> ]
16+
[<a href="#equation_parameters_section"> Equation Parameters </a> ]
1717
<br> <br>
1818

1919
&lt;<strong>Domain</strong> id=<i>domain_id</i>&gt;
@@ -22,6 +22,17 @@ The <i>Equation Section</i> is organized as follows
2222
<br>
2323
&lt;<strong>/Domain</strong>&gt;
2424

25+
&lt;<strong>ECGLeads</strong>&gt;
26+
<br>
27+
[<a href="#ECGLeads_subsection"> ECG Leads Subsection </a> ]
28+
<br>
29+
&lt;<strong>/ECGLeads</strong>&gt;
30+
31+
&lt;<strong>Variable_wall_properties</strong> mesh_name=<i>mesh_name</i>&gt;<br>
32+
[<a href="#Variable_wall_properties_subsection"> Variable wall properties Subsection </a> ]
33+
<br>
34+
&lt;<strong>Viscosity</strong>&gt;
35+
2536
&lt;<strong>Viscosity</strong> model=<i>viscosity_model</i>&gt;<br>
2637
[<a href="#viscosity_parameters"> Viscosity Subsection </a> ]
2738
<br>
@@ -66,7 +77,7 @@ The value of <i>equation_type</i> is a <i>string</i> identifying the equation ty
6677
<!-- ---------- Equation Parameters ---------- -->
6778
<!-- ----------------------------------------- -->
6879

69-
<h3 id="equation_parameters"> Equation Parameters </h3>
80+
<h3 id="equation_parameters_section"> Equation Parameters </h3>
7081
<div class="bc_param_div">
7182
<strong>&lt;Coupled&gt;</strong> <i>boolean [true]</i> <nobr>
7283
<strong>&lt;/Coupled&gt;</strong>
@@ -114,6 +125,73 @@ If <i>true</i> then use a Taylor-Hood element pair for increased stability.
114125
<br>
115126
</div>
116127

128+
<!-- ============================================================== -->
129+
<!-- ====================== ECGLeads Subsection =================== -->
130+
<!-- ============================================================== -->
131+
<h4 id="ECGLeads_subsection"> ECG Leads Subsection </h4>
132+
The <i>ECG Leads Subsection</i> of the <i>Equation Section</i> or <i>Domain Subsection</i> contains
133+
the parameters used to define ECG leads.
134+
135+
The <i>ECG Leads Subsection</i> is organized as follows
136+
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
137+
&lt;<strong>ECGLeads</strong>&gt;
138+
<br><br>
139+
[ <a href="#ECGLeads_parameters"> ECG Leads Parameters </a> ]
140+
<br> <br>
141+
&lt;<strong>/ECGLeads</strong>&gt;
142+
</div>
143+
144+
The <strong>ECGLeads</strong> keyword defines a subsection for ECG Leads parameters.
145+
146+
<h5 id="ECGLeads_parameters"> ECG Leads Parameters</h5>
147+
<div class="bc_param_div">
148+
<strong>&lt;X_coords_file_path&gt;</strong> <i>string</i> [none] <nobr>
149+
<strong>&lt;/X_coords_file_path&gt;</strong>
150+
</nobr><br>
151+
The path to the text file containing the x-coordinates for the ECG leads.
152+
<br>
153+
<strong>&lt;Y_coords_file_path&gt;</strong> <i>string</i> [none] <nobr>
154+
<strong>&lt;/Y_coords_file_path&gt;</strong>
155+
</nobr><br>
156+
The path to the text file containing the y-coordinates for the ECG leads.
157+
<br>
158+
<strong>&lt;Z_coords_file_path&gt;</strong> <i>string</i> [none] <nobr>
159+
<strong>&lt;/Z_coords_file_path&gt;</strong>
160+
</nobr><br>
161+
The path to the text file containing the z-coordinates for the ECG leads.
162+
<br>
163+
</div>
164+
165+
166+
<!-- ============================================================== -->
167+
<!-- =============== Variable wall properties Subsection ========= -->
168+
<!-- ============================================================== -->
169+
<h4 id="Variable_wall_properties_subsection"> Variable wall properties Subsection </h4>
170+
The <i>Variable wall properties Subsection</i> of the <i>Equation Section</i> or <i>Domain Subsection</i> defines
171+
the parameters used to define the node-based material properties used in a CMM equation.
172+
173+
The <i>Variable wall properties Subsection</i> is organized as follows
174+
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
175+
&lt;<strong>Variable_wall_properties</strong> mesh_name=<i>mesh_name</i>&gt;
176+
<br><br>
177+
[ <a href="#Variable_wall_properties_parameters"> Variable wall properties Parameters </a> ]
178+
<br> <br>
179+
&lt;<strong>/Variable_wall_properties</strong>&gt;
180+
</div>
181+
182+
The <strong>Variable_wall_properties</strong> keyword defines a subsection for variable wall properties parameters.
183+
The <i>mesh_name</i> attribute is the mesh name to assign the variable wall properties.
184+
185+
<h5 id="Variable_wall_properties_parameters"> Variable wall properties Parameters</h5>
186+
<div class="bc_param_div">
187+
<strong>&lt;Wall_properties_file_path&gt;</strong> <i>string</i> [none] <nobr>
188+
<strong>&lt;/Wall_properties_file_path&gt;</strong>
189+
</nobr><br>
190+
The path to the VTK VTP-format file used to set the node-wise elasticity modulus and shell thickness properties.
191+
<br>
192+
</div>
193+
194+
117195
<!-- ============================================================== -->
118196
<!-- ==================== Viscosity Subsection ==================== -->
119197
<!-- ============================================================== -->

documentation/multi_physics/solver-input-file/general_parameters/readme.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ The number of time steps to run the simulation.
3737
</nobr><br>
3838
The value use to increment the simulation time.
3939
<br>
40+
<strong>&lt;Starting_time_step&gt;</strong> <i>int</i> [0] <nobr>
41+
<strong>&lt;/Starting_time_step&gt;</strong>
42+
</nobr><br>
43+
The starting time step used for the simulation.
44+
<br>
4045
<strong>&lt;Spectral_radius_of_infinite_time_step&gt;</strong> <i>real</i> [0.5] <nobr>
4146
<strong>&lt;/Spectral_radius_of_infinite_time_step&gt;</strong>
4247
</nobr><br>
@@ -83,6 +88,11 @@ Save simulation results after the given time step.
8388
If <i>true</i> then compute time-averaged results from the entire simulation. The averaging is
8489
performed after the last time step of the simulation using VTU files written during the simulation.
8590
<br>
91+
<strong>&lt;Start_averaging_from_zero&gt;</strong> <i>boolean [false]</i> <nobr>
92+
<strong>&lt;/Start_averaging_from_zero&gt;</strong>
93+
</nobr><br>
94+
If <i>true</i> then start everging results from time zero.
95+
<br>
8696
<section id="gen_Increment_in_saving_restart_files">
8797
<strong>&lt;Increment_in_saving_restart_files&gt;</strong> <i>integer</i> [10] <nobr>
8898
<strong>&lt;/Increment_in_saving_restart_files&gt;</strong>
@@ -95,6 +105,12 @@ Indicates how often to save restart files.
95105
</nobr><br>
96106
Name of the file used to store simulation state data. This file is used for restarting simulations.
97107
<br>
108+
<section id="gen_Overwrite_restart_file">
109+
<strong>&lt;Overwrite_restart_file&gt;</strong> <i>bool</i> [<i>false</i>] <nobr>
110+
<strong>&lt;/Overwrite_restart_file&gt;</strong>
111+
</nobr><br>
112+
If <i>true</i> then the simulation results restart file is overwritten.
113+
<br>
98114
<section id="general_params_Simulation_initialization_file_path">
99115
<strong>&lt;Simulation_initialization_file_path&gt;</strong> <i>string [none] </i> <nobr>
100116
<strong>&lt;/Simulation_initialization_file_path&gt;</strong>

documentation/multi_physics/solver-input-file/mesh_parameters/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ The mesh typically defines a network of Purkinje fibers used in cardiac electrop
112112
</nobr><br>
113113
If <i>true</i> then the mesh given in the <strong>Mesh_file_path</strong> keywork is treated as a mesh of shell elements. The mesh can then be used for solving the <strong>shell</strong> equation type. A shell mesh is also needed for initializing a <strong>CMM</strong> equation using a prestress or displacements.
114114
<br>
115+
<strong>&lt;quadrature_modifier_TET4&gt;</strong> <i>real</i> [0.5854] <nobr>
116+
<strong>&lt;/quadrature_modifier_TET4&gt;</strong>
117+
</nobr><br>
118+
The quadrature used for tetrahedral elements.
119+
<br>
115120
</div>
116121

117122
<!-- ------------------------------------- -->
@@ -125,6 +130,12 @@ If <i>true</i> then the mesh given in the <strong>Mesh_file_path</strong> keywor
125130
<strong>&lt;/Face_file_path&gt;</strong>
126131
</nobr><br>
127132
The path to a VTK VTP file defining a finite element surface mesh for a face in the simulation.
133+
<br>
134+
<strong>&lt;Quadrature_modifier_TRI3&gt;</strong> <i>real</i> [0.6666] <nobr>
135+
<strong>&lt;/Quadrature_modifier_TRI3&gt;</strong>
136+
</nobr><br>
137+
The quadrature used for triangle elements.
138+
<br>
128139
<strong>&lt;/Add_face&gt;</strong>
129140
</div>
130141

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!-- =============================================================== -->
2+
<!-- ============== Precomputed Solution Section =================== -->
3+
<!-- =============================================================== -->
4+
5+
<h2 id="precomputed_solution_section"> Precomputed Solution Section </h2>
6+
The <i>Precomputed Solution Section</i> of the solver parameters input file is used to define the parameters
7+
used to read in the data from a precomputed solution for the simulation state.
8+
9+
A <i>Precomputed Solution Section</i> is organized as follows
10+
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
11+
&lt;<strong>Precomputed_solution</strong>&gt;
12+
<br>
13+
[ <a href="#precomputed_solution_parameters"> Precomputed Solution Parameters </a> ]
14+
<br>
15+
&lt;<strong>/Precomputed_solution</strong>&gt;
16+
</div>
17+
18+
The <strong>Precomputed_solution</strong> keyword is used to define the parameters to for reading in a precomputed solution data and using it in a simulation.
19+
20+
<h3 id= "precomputed_solution_parameters"> Precomputed Solution Parameters </h3>
21+
<div class="bc_param_div">
22+
<strong>&lt;Use_precomputed_solution></strong> <i>bool</i> [<i>false</i>] <nobr>
23+
<strong>&lt;/Use_precomputed_solution&gt;</strong>
24+
</nobr><br>
25+
If <i>true</i> then use a precomputed solution for a simulation.
26+
<br>
27+
<strong>&lt;Precomputed_solution_field_name></strong> <i>string</i> [none] <nobr>
28+
<strong>&lt;/Precomputed_solution_field_name&gt;</strong>
29+
</nobr><br>
30+
The name of the precomputed solution data field in the VTK VTU file.
31+
<br>
32+
<strong>&lt;Precomputed_solution_file_path></strong> <i>string</i> [none] <nobr>
33+
<strong>&lt;/Precomputed_solution_file_path&gt;</strong>
34+
</nobr><br>
35+
The path to the VTK VTU file containing the precomputed solution data.
36+
<br>
37+
<strong>&lt;Precomputed_time_step_size></strong> <i>real</i> [0.05] <nobr>
38+
<strong>&lt;/Precomputed_time_step_size&gt;</strong>
39+
</nobr><br>
40+
The time step used to compute the precomputed solution data.
41+
<br>
42+
</div>
43+

documentation/multi_physics/solver-input-file/projection_parameters/readme.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,25 @@ A <i>Projection Section</i> is organized as follows
99
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
1010
&lt;<strong>Projection</strong> name=<i>project_to_face_name</i>&gt;
1111
<br>
12-
&lt;<strong>Project_from_face</strong>&gt; <i>string</i>
13-
&lt;<strong>/Project_from_face</strong>&gt;
12+
[ <a href="#projection_parameters"> Projection Parameters </a> ]
1413
<br>
1514
&lt;<strong>/Projection</strong>&gt;
1615
</div>
1716

1817
The <strong>Projection</strong> keyword is used to create a projection. The <strong>name</strong> attribute
1918
<i>project_from_face_name</i> is the name of a face defined in the <i>Mesh Section</i>.
2019

21-
<h3> Projection Parameters </h3>
20+
<h3 id="projection_parameters"> Projection Parameters </h3>
2221
<div class="bc_param_div">
2322
<strong>&lt;Project_from_face></strong> <i>string</i><nobr>
2423
<strong>&lt;/Project_from_face&gt;</strong>
2524
</nobr><br>
2625
The name of a face defined in the <i>Mesh Section</i> that is to be coupled to the <i>project_from_face_name</i> face.
2726
<br>
27+
<strong>&lt;Projection_tolerance></strong> <i>real</i> [0.0] <nobr>
28+
<strong>&lt;/Projection_tolerance&gt;</strong>
29+
</nobr><br>
30+
Face node distances within this tolerance will be treated as equal.
2831
</div>
2932

3033

0 commit comments

Comments
 (0)