Skip to content

Commit de3bdc4

Browse files
Merge pull request #30 from aabrown100-git/solid_viscosity_update
Update solid viscosity documentation
2 parents 63082fc + fa0cfe4 commit de3bdc4

File tree

4 files changed

+42
-11
lines changed

4 files changed

+42
-11
lines changed

documentation/svfsiplus/developer-guide/commod_class/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The <a href="https://github.com/SimVascular/svFSIplus/blob/main/Code/Source/svFS
1010
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L296"> bfType </a> - Body force </li>
1111
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L326"> fibStrsType </a> - Fiber stress </li>
1212
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L342"> stModelType </a> - Structural model </li>
13-
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L389"> viscModelType </a> - Fluid viscosity model </li>
13+
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f754c50ee0c8fbea28556d61b35da1f24a2df72a/Code/Source/svFSI/ComMod.h#L389"> fluidViscModelType </a> - Fluid viscosity model </li>
14+
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f754c50ee0c8fbea28556d61b35da1f24a2df72a/Code/Source/svFSI/ComMod.h#L414"> solidViscModelType </a> - Solid viscosity model </li>
1415
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L415"> dmnType </a> - Domain </li>
1516
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L447"> adjType </a> - Mesh adjacency (neighboring element for each element) </li>
1617
<li> <a href="https://github.com/SimVascular/svFSIplus/blob/f424b7c9d1e575bc5804293bb4c4181a725561cd/Code/Source/svFSI/ComMod.h#L501> faceType </a> - Surface boundary </li>

documentation/svfsiplus/developer-guide/implementation/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ Distribute domain properties
507507
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #0000e6; border-left: 6px solid #0000e6">
508508
Distribute material properties [ <a href="https://github.com/SimVascular/svFSIplus/blob/main/Code/Source/svFSI/distribute.cpp#L1063"> dist_mat_consts</a> ]
509509

510-
Distribute viscosity model properties [ <a href="https://github.com/SimVascular/svFSIplus/blob/main/Code/Source/svFSI/distribute.cpp#L1069"> dist_visc_model </a> ]
510+
Distribute fluid viscosity model properties [ <a href="https://github.com/SimVascular/svFSIplus/blob/f754c50ee0c8fbea28556d61b35da1f24a2df72a/Code/Source/svFSI/distribute.cpp#L1070"> dist_fluid_visc_model </a> ]
511+
512+
Distribute solid viscosity model properties [ <a href="https://github.com/SimVascular/svFSIplus/blob/f754c50ee0c8fbea28556d61b35da1f24a2df72a/Code/Source/svFSI/distribute.cpp#L1064"> dist_solid_visc_model </a> ]
511513
</div>
512514

513515
Distribute cardiac electromechanics parameters<br>

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ linear elasticity, structural or structural velocity pressure parameters.
150150
<a href="#domain_Force_y"> Force_y <a>
151151
<a href="#domain_Force_z"> Force_z <a>
152152
<a href="#domain_Poisson_ratio"> Poisson_ratio <a>
153-
<a href="#viscosity_parameters"> Viscosity <a>
154153
</pre>
155154

156155
<!-- ---------- structural_velocity_pressure domain Parameters ---------- -->
@@ -164,7 +163,6 @@ linear elasticity, structural or structural velocity pressure parameters.
164163
<a href="#domain_Force_z"> Force_z <a>
165164
<a href="#domain_Momentum_stabilization_coefficient"> Momentum_stabilization_coefficient <a>
166165
<a href="#domain_Poisson_ratio"> Poisson_ratio <a>
167-
<a href="#viscosity_parameters"> Viscosity <a>
168166
</pre>
169167
</pre>
170168

@@ -361,11 +359,6 @@ with the first error estimate calculated.
361359
</nobr><br>
362360
The density property for a solid.
363361
<br>
364-
<strong>&lt;Solid_viscosity&gt;</strong> <i>real</i> [0.0] <nobr>
365-
<strong>&lt;/Solid_viscosity&gt;</strong>
366-
</nobr><br>
367-
The viscosity property for a solid.
368-
<br>
369362
<strong>&lt;Source_term&gt;</strong> <i>real</i> [0.0] <nobr>
370363
<strong>&lt;/Source_term&gt;</strong>
371364
</nobr><br>

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

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ If <i>true</i> then use a Taylor-Hood element pair for increased stability.
119119

120120
<h4 id="viscosity_parameters"> Viscosity Subsection </h4>
121121
The <i>Viscosity Subsection</i> of the <i>Equation Section</i> or <i>Domain Subsection</i> defines
122-
the parameters for the viscosity model used by fluid and stokes equations.
122+
the parameters for the fluid viscosity model used by fluid, CMM, and stokes equations, or the solid viscosity model used by struct and ustruct.
123123

124124
The <i>Viscosity Subsection</i> is organized as follows
125125
<div style="background-color: #F0F0F0; padding: 10px; border: 1px solid #d0d0d0; border-left: 1px solid #d0d0d0">
@@ -132,7 +132,7 @@ The <i>Viscosity Subsection</i> is organized as follows
132132

133133
The <strong>Viscosity</strong> keyword defines a subsection for viscosity parameters.
134134

135-
The value of <i>viscosity_model</i> can be
135+
For fluid, CMM, and stokes equations, the value of <i>viscosity_model</i> can be
136136

137137
<ul style="list-style-type:disc;">
138138
<li> "newtonian" - Newtonian viscosity model </li>
@@ -212,3 +212,38 @@ The value of the yield stress parameter.
212212
&lt;<strong>/Viscosity</strong>&gt;
213213
</div>
214214

215+
For struct and ustruct equations, the value of <i>viscosity_model</i> can be
216+
217+
<ul style="list-style-type:disc;">
218+
<li> "Newtonian" - Newtonian viscosity model </li>
219+
<li> "Potential" - Pseudo-potential viscosity model </li>
220+
</ul>
221+
222+
<!-- ---------- Newtonian ---------- -->
223+
224+
<h5> Newtonian </h5>
225+
<div class="bc_param_div">
226+
&lt;<strong>Viscosity</strong> model="Newtonian"&gt;
227+
<br>
228+
<strong>&lt;Value&gt;</strong> <i>real</i> <nobr>
229+
<strong>&lt;/Value&gt;</strong>
230+
</nobr><br>
231+
The value of the viscosity constant.
232+
<br>
233+
&lt;<strong>/Viscosity</strong>&gt;
234+
</div>
235+
236+
<!-- ---------- Potential ---------- -->
237+
238+
<h5> Potential </h5>
239+
<div class="bc_param_div">
240+
&lt;<strong>Viscosity</strong> model="Potential"&gt;
241+
<br>
242+
<strong>&lt;Value&gt;</strong> <i>real</i> <nobr>
243+
<strong>&lt;/Value&gt;</strong>
244+
</nobr><br>
245+
The value of the viscosity constant.
246+
<br>
247+
&lt;<strong>/Viscosity</strong>&gt;
248+
</div>
249+

0 commit comments

Comments
 (0)