Skip to content

Commit

Permalink
Solid viscosity default value bug (#270)
Browse files Browse the repository at this point in the history
* Change solid_viscosity default value to 0.0

* Update test case reference results, remove Viscosity in some xml files (which sets the fluid viscosity parameter and therefore has no effect)
  • Loading branch information
aabrown100-git authored Sep 26, 2024
1 parent 825872a commit aca9a10
Show file tree
Hide file tree
Showing 24 changed files with 35 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Code/Source/svFSI/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ DomainParameters::DomainParameters()
set_parameter("Relative_tolerance", 1e-4, !required, relative_tolerance);
set_parameter("Shell_thickness", 0.0, !required, shell_thickness);
set_parameter("Solid_density", 0.5, !required, solid_density);
set_parameter("Solid_viscosity", 0.9, !required, solid_viscosity);
set_parameter("Solid_viscosity", 0.0, !required, solid_viscosity);
set_parameter("Source_term", 0.0, !required, source_term);
set_parameter("Time_step_for_integration", 0.0, !required, time_step_for_integration);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/fsi/pipe_3d/result_005.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/fsi/pipe_3d_petsc/result_005.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/fsi/pipe_3d_trilinos_bj/result_005.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/fsi/pipe_3d_trilinos_ml/result_005.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_Guccione_passive/result_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_Holzapfel_passive/result_001.vtu
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/struct/LV_Holzapfel_passive/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@
<Density> 1.0 </Density> <!-- g/cm^3 -->
<Elasticity_modulus> 1.0e6 </Elasticity_modulus> <!-- dyne/cm^2 -->
<Poisson_ratio> 0.483333 </Poisson_ratio>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>

<Constitutive_model type="Holzapfel">
<a> 590.0 </a> <!-- dyne/cm^2 -->
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_NeoHookean_passive/result_005.vtu
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/struct/LV_NeoHookean_passive/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Constitutive_model type="neoHookean">
</Constitutive_model>
<Dilational_penalty_model> ST91 </Dilational_penalty_model>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>


<Output type="Spatial" >
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_NeoHookean_passive_genBC/result_003.vtu
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/struct/LV_NeoHookean_passive_genBC/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Constitutive_model type="neoHookean">
</Constitutive_model>
<Dilational_penalty_model> ST91 </Dilational_penalty_model>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>


<Output type="Spatial" >
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/struct/LV_NeoHookean_passive_sv0D/result_003.vtu
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/struct/LV_NeoHookean_passive_sv0D/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Constitutive_model type="neoHookean">
</Constitutive_model>
<Dilational_penalty_model> ST91 </Dilational_penalty_model>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>


<Output type="Spatial" >
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/struct/block_compression/result_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/struct/robin/result_001.vtu
Git LFS file not shown
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/ustruct/LV_Guccione_active/result_001.vtu
Git LFS file not shown
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/ustruct/LV_NeoHookean_passive_genBC/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Constitutive_model type="neoHookean">
</Constitutive_model>
<Dilational_penalty_model> ST91 </Dilational_penalty_model>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>


<Output type="Spatial" >
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/ustruct/LV_NeoHookean_passive_sv0D/result_003.vtu
Git LFS file not shown
3 changes: 0 additions & 3 deletions tests/cases/ustruct/LV_NeoHookean_passive_sv0D/svFSIplus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Constitutive_model type="neoHookean">
</Constitutive_model>
<Dilational_penalty_model> ST91 </Dilational_penalty_model>
<Viscosity model="Constant" >
<Value> 0.0 </Value>
</Viscosity>


<Output type="Spatial" >
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/ustruct/block_compression/P1P1_VMS/result_001.vtu
Git LFS file not shown
4 changes: 2 additions & 2 deletions tests/cases/ustruct/tensile_adventitia_HGO/result_001.vtu
Git LFS file not shown

0 comments on commit aca9a10

Please sign in to comment.