38 lines
1.6 KiB
Markdown
38 lines
1.6 KiB
Markdown
# tension2D
|
|
|
|
FemLite shell tension examples for a rectangular plate.
|
|
|
|
- Geometry: length = 0.2 m, width = 0.1 m, thickness = 0.002 m.
|
|
- Shell midsurface: global x-z plane, with y = 0.
|
|
- Material: E = 70.0E9 Pa, nu = 0.3, density = 2700 kg/m3.
|
|
- Bottom long edge: z = 0, fully fixed in DOFs 1..6.
|
|
- Top long edge: z = 0.1 m.
|
|
- Top force case: total tensile force Fz = 1000 N, distributed over top-edge nodes.
|
|
- Top displacement case: uz(t) = 0.01 t m, so uz(0.1 s) = 1.0E-3 m.
|
|
- Analysis control: explicit transient, dt = 1.0E-6 s, total time = 0.1 s.
|
|
- Output: FemLite writes history CSV, nodal/element CSV, and legacy ASCII VTK files during `--run`.
|
|
|
|
Input decks:
|
|
|
|
- `tension1000tri.inp`: S3 triangular shell mesh, 1000 N top force.
|
|
- `tension1000quad.inp`: S4 quadrilateral shell mesh, 1000 N top force.
|
|
- `disp0_0001tri.inp`: S3 triangular shell mesh, ramped top displacement.
|
|
- `disp0_0001quad.inp`: S4 quadrilateral shell mesh, ramped top displacement.
|
|
|
|
Regenerate the decks:
|
|
|
|
```powershell
|
|
Python\.venv\Scripts\python.exe -m pip install -r examples\tension2D\requirements.txt
|
|
Python\.venv\Scripts\python.exe examples\tension2D\generate_tension2d.py --backend auto
|
|
```
|
|
|
|
Run one deck from the repository root:
|
|
|
|
```powershell
|
|
New-Item -ItemType Directory -Force examples\tension2D\results\tension1000tri | Out-Null
|
|
build-win-gcc-16\femlite.exe examples\tension2D\tension1000tri.inp --output-dir examples\tension2D\results\tension1000tri --output-interval 500 --run
|
|
```
|
|
|
|
Use separate result directories for each case so `history.csv`, `nodes_*.csv`,
|
|
`elements_*.csv`, and `result_*.vtk` do not overwrite each other.
|