2D Pendulum
In this example, we simulate the oscillating motion of a highly flexible 2D pendulum.
1. Running the case
The command line to run this case is
mpirun -np 4 feelpp_toolbox_solid --case "github:{repo:toolbox,path:examples/modules/csm/examples/pendulum2D}
The report of the execution of the command above is available here. |
2. Data files
The case data files are available in Github here
3. Geometry
The pendulum is an isosceles triangle-shaped mesh as shown below.
The mesh can be retrieved from Girder (see the girder documentation).
4. Input parameters
4.1. Model & Toolbox
We use the Saint-Venant-Kirchhoff hyperelasticity model. We solve for the displacement using a discretization of order 2.
The model is described in the CSM toolbox documentation, see Computational Solid Mechanics |
4.2. Materials
We consider a flexible material with the following properties:
Name | Description | Value | Unit | |
---|---|---|---|---|
\(E_s\) |
Young’s modulus |
\(128 \times 10^6\) |
\(kg.m^{-1}.s^{-2}\) |
|
\(\nu_s\) |
Poisson’s ration |
\(0.33\) |
\(dimensionless\) |
|
\(\rho_s\) |
density |
\(8920\) |
\(kg/m^3\) |
"Materials":
{
"Solid":
{
"E":"128e6", // [kg.m^{-1}.s^{-2}]
"nu":"0.33", // [dimensionless]
"rho":"8920" // [kg/m^3]
}
},
We also need gravity:
"Parameters":
{
"gravity":"9.80665" // [m.s^{-2}]
},
5. Results
The fields of interest are the displacement (in m), the pressure (in Pa), the von Mises yield criterion (dimensionless) and the parallel process id (pid). The pid helps to see how the mesh was partitioned for parallel processing.
"PostProcess":
{
"solid":
{
"Exports":
{
"fields":["displacement","pid","von-mises-criterion"]
},
"Measures":
{
"VolumeVariation":""
}
}
}