Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ribs #157 #159

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/modules/csm/examples/ribs/disk.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

directory=toolboxes/solid/ribs/disk2/P2
directory=toolboxes/solid/ribs/disk2/P1

case.discretization=P2 #P1,P2
case.discretization=P1 #P1,P2

[solid]
filename=$cfgdir/disk.json
json.filename=$cfgdir/disk.json

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

on.type=elimination_symmetric

Expand Down
64 changes: 45 additions & 19 deletions examples/modules/csm/examples/ribs/disk.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
{
"Name": "Solid Mechanics ",
"ShortName":"Solid",
"Metadata":
{
"version": "1",
"author": ["vincentchabannes","prudhomm","lberti","jobinhio"],
"date": "23/09/2022",
"references":[""]
},
"Models":
{
"equations":"Elasticity"
"solid":
{
"setup":
{
"equations":"Elasticity"
}
}
},
"Meshes":
{
"solid":
{
"Import":
{
"filename":"girder:{file:5b1fd71cb0e9570499f66be5}",
"partition":"1"
}
}
},
// tag::materials[]
"Materials":
Expand All @@ -19,16 +43,16 @@
// tag::boundaryconditions[]
"BoundaryConditions":
{
"displacement":
"solid":
{
"Dirichlet":
"displacement":
{
"fixed":
{
"expr":"{0,0,0}"
}
},
"Neumann_scalar":
"normal_stress": // Neumann_scalar
{
"load":
{
Expand All @@ -40,22 +64,24 @@
// end::boundaryconditions[]
"PostProcess":
{
"Exports":
{
"fields":["displacement","von-mises-criterion","tresca-criterion", "principal-stresses"]
},
"Measures":
"solid":
{
"VolumeVariation":"omega",
"Maximum":
{
"load":
{
"markers":"load",
"fields":["displacement"]
}
}
"Exports":
{
"fields":["displacement","von-mises-criterion","tresca-criterion", "principal-stresses"]
},
"Measures":
{
"VolumeVariation":"omega",
"Maximum":
{
"load":
{
"markers":"load",
"fields":["displacement"]
}
}
}
}
}

}
16 changes: 12 additions & 4 deletions examples/modules/csm/pages/ribs/index.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
= Bracing with ribs
:page-vtkjs: true
:page-viewer: true
:page-jupyter: 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/]
:jupyter-language-name: python
:jupyter-language-version: 3.8
:url-ipywidgets: https://ipywidgets.readthedocs.io/en/stable/
== Introduction

The ribs have stiffening effect. So the plates are supplied with different ribs.
Expand All @@ -26,6 +32,8 @@ Copy case option to clipboard
</button>
++++

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

== Data files

The case data files are available in Github link:{uri-data}/ribs/[here]
Expand All @@ -40,7 +48,7 @@ The first step is to create the model of the plate, which we can simply do in th
The finished geometry (Creo) and the meshed model (Gmsh):

|====
a| image:ribs/image2.png[] a| image:ribs/image4.png[]
a| image:{imagesprefix}ribs/image2.png[] a| image:{imagesprefix}ribs/image4.png[]
|====

== Materials and boundary conditions
Expand Down Expand Up @@ -74,7 +82,7 @@ include::{examplesdir}/ribs/disk.json[tags=boundaryconditions]
Maximum displacement: 0.6501 mm Maximum stress: 512.4 MPa

|====
a| image:ribs/image5.png[] a| image:ribs/image6.png[]
a| image:{imagesprefix}ribs/image5.png[] a| image:{imagesprefix}ribs/image6.png[]
|====

.3D Model without ribs.
Expand All @@ -97,7 +105,7 @@ feelppVtkJs.createSceneImporter( vtkVisuSection1, {
Maximum displacement: 0.528 mm Maximum stress: 599.1 MPa

|====
a| image:ribs/image7.png[] a| image:ribs/image8.png[]
a| image:{imagesprefix}ribs/image7.png[] a| image:{imagesprefix}ribs/image8.png[]
|====

.3D Model with ribs.
Expand Down
Loading