2D Pendulum
1. Description
In this example, we simulate the oscillating motion of a highly flexible 2D pendulum.
2. 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}
3. Data files
The case data files are available in Github here
4. Geometry
The pendulum is an isosceles triangle-shaped mesh as shown below.
The mesh can be retrieved from Girder (see the girder documentation).
5. Input parameters
5.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 |
5.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}]
},
6. 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":
{
"Exports":
{
"fields":["displacement","pid","von-mises-criterion"]
},
"Measures":
{
"VolumeVariation":""
}
}