Skip to content

Commit

Permalink
update suspension #138 (#143)
Browse files Browse the repository at this point in the history
* update suspension #138

* add report from solid toolbox #136

* add imagesprefix support as described in #144

* add authors to metadata #145

* add imagesprefix support for #138 as described in #144

* add link to the simulation report and rename file
  • Loading branch information
jobinhio authored Oct 14, 2022
1 parent a572a05 commit 1b4ce37
Show file tree
Hide file tree
Showing 4 changed files with 705 additions and 21 deletions.
3 changes: 0 additions & 3 deletions examples/modules/csm/examples/suspension/suspension.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ case.discretization=P2 #P1,P2
[solid]
filename=$cfgdir/suspension.json

mesh.filename=girder:{file:5b1fd954b0e9570499f66bf1}
gmsh.partition=1

material_law=StVenantKirchhoff# StVenantKirchhoff, NeoHookean

# use density and material coeff cst in appli
Expand Down
56 changes: 43 additions & 13 deletions examples/modules/csm/examples/suspension/suspension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,68 @@
{
"Name": "Solid Mechanics ",
"ShortName":"Solid",
"Metadata":
{
"version": "1",
"author": ["vincentchabannes","prudhomm","lberti","jobinhio"],
"date": "23/09/2022",
"references":[""]
},
"Models":
{
"equations":"Elasticity"
"solid":
{
"setup":
{
"equations":"Hyper-Elasticity",
"material-model":"StVenantKirchhoff"
}

}
},
"Parameters":
{
"amplitudo":
{
"value":"5e1"
},
"omega":
{
"value":"2"
}
"omega":
{
"value":"2"
}
},
"Meshes":
{
"solid":
{
"Import":
{
"filename":"girder:{file:5b1fd954b0e9570499f66bf1}",
"partition":"1"
}
}
},
"Materials":
{
"omega":{
"omega":
{
"E":"200e3",
"nu":"0.3",
"rho":"7870e-9"
}
},
"BoundaryConditions":
{
"displacement":
"solid":
{
"Dirichlet":
"displacement":
{
"fixed":
{
"expr":"{0,0,0}"
}
},
"Neumann_vectorial":
"normal_stress":
{
"load":
{
Expand All @@ -47,10 +74,13 @@
},
"PostProcess":
{
"Exports":
{
"fields":["displacement"]
}
"solid":
{
"Exports":
{
"fields":["displacement"]
}
}
}

}
14 changes: 9 additions & 5 deletions examples/modules/csm/pages/suspension/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
:page-vtkjs: true
:uri-data: https://github.com/feelpp/toolbox/blob/master/examples/modules/csm/examples
:uri-data-edit: https://github.com/feelpp/toolbox/edit/master/examples/modules/csm/examples
:imagesprefix:
ifdef::env-github,env-browser,env-vscode[:imagesprefix: ../../assets/images/]

== Introduction

Expand All @@ -11,7 +13,7 @@ Nowadays they are manufactured in many design, but the effect of the main loads

[cols="40%,60%"]
|====
a| image:suspension/image1.jpeg[width=100%] a| image:suspension/image2.jpeg[]
a| image:{imagesprefix}suspension/image1.jpeg[width=100%] a| image:{imagesprefix}suspension/image2.jpeg[]
|====

== Running the case
Expand All @@ -33,6 +35,8 @@ Copy case option to clipboard
</button>
++++

NOTE: The report of the execution of the command above is available xref:suspension/solid-informations.adoc[here].

== Data files

The case data files are available in Github link:{uri-data}/suspension/[here]
Expand Down Expand Up @@ -63,8 +67,8 @@ The beam is made of steel, so we need to use the following data:

IMPORTANT: The object is fixed at the ends of the holes. The holes in the middle have the force.

image:suspension/image5.png[width=357,height=188]
image:suspension/image6.png[1.png,width=209,height=188]
image:{imagesprefix}suspension/image5.png[width=357,height=188]
image:{imagesprefix}suspension/image6.png[1.png,width=209,height=188]

== Results

Expand All @@ -77,8 +81,8 @@ We display the displacement in the figures below. A 20x scale factor is used to
The maximum displacement is 1.778 mm. The design of the wishbones is very good because there is only little displacement due to the force.

|====
a| image:suspension/image7.png[] a| image:suspension/image8.png[] a| image:suspension/image9.png[]
a| image:suspension/image10.png[] a| image:suspension/image11.png[] |
a| image:{imagesprefix}suspension/image7.png[] a| image:{imagesprefix}suspension/image8.png[] a| image:{imagesprefix}suspension/image9.png[]
a| image:{imagesprefix}suspension/image10.png[] a| image:{imagesprefix}suspension/image11.png[] |
|====

.3D interactive model
Expand Down
Loading

0 comments on commit 1b4ce37

Please sign in to comment.