39 lines
1.6 KiB
Markdown
39 lines
1.6 KiB
Markdown
# uniaxialTension3D
|
|
|
|
FemLite 3D uniaxial tension examples for a solid cylinder.
|
|
|
|
- Geometry: cylinder diameter 0.1 m, height 0.2 m.
|
|
- Material: E = 70.0E9 Pa, nu = 0.3, density = 2700 kg/m3.
|
|
- Bottom boundary: fixed in translational DOFs 1..3.
|
|
- Top force case: total tensile force Fz = 1000 N, distributed over top nodes.
|
|
- Top displacement case: uz(t) = 0.01 t m, so uz(0.1 s) = 1.0E-3 m.
|
|
- Analysis control: explicit transient, total time = 0.1 s.
|
|
- C3D4 decks use a conservative user time step of 1.0E-6 s; C3D8 decks use FemLite's automatic stable time step estimate.
|
|
- Output: FemLite writes history CSV, nodal/element CSV, and legacy ASCII VTK files during `--run`.
|
|
|
|
Input decks:
|
|
|
|
- `tension1000tet.inp`: C3D4 tetrahedral mesh, 1000 N top force.
|
|
- `tension1000hex.inp`: C3D8 hexahedral mesh, 1000 N top force.
|
|
- `disp0_0001tet.inp`: C3D4 tetrahedral mesh, ramped top displacement.
|
|
- `disp0_0001hex.inp`: C3D8 hexahedral mesh, ramped top displacement.
|
|
|
|
Regenerate the decks:
|
|
|
|
```powershell
|
|
Python\.venv\Scripts\python.exe -m pip install -r examples\uniaxialTension3D\requirements.txt
|
|
Python\.venv\Scripts\python.exe examples\uniaxialTension3D\generate_uniaxial_tension3d.py --backend auto
|
|
```
|
|
|
|
The generator prefers the Gmsh Python API. If `gmsh` is not installed, `--backend auto`
|
|
uses the built-in low-order O-grid fallback so the example remains reproducible.
|
|
|
|
Run one deck from the repository root:
|
|
|
|
```powershell
|
|
build-win-gcc-16\femlite.exe examples\uniaxialTension3D\tension1000tet.inp --run
|
|
```
|
|
|
|
For full runs, use a clean working directory or remove old `history.csv`, `nodes_*.csv`,
|
|
`elements_*.csv`, and `result_*.vtk` files first.
|