APDL
1 program
Added 2026-03-05T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Ansys Parametric Design Language, MAPDL
Provenance: commit 00e02c29f9 · authored 2026-03-05T14:55:22+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Cantilever Beam Static Analysis
Provenance: commit 00e02c29f9 · authored 2026-03-05T14:55:22+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
! Simple cantilever beam static analysis in APDL
/PREP7
! Define element type (2D beam element)
ET,1,BEAM3
! Define real constants: cross-section area, moment of inertia, height
R,1,0.01,8.333e-6,0.1
! Define material properties: Young's modulus and Poisson's ratio
MP,EX,1,2.1e11
MP,PRXY,1,0.3
! Define keypoints
K,1,0,0,0
K,2,1,0,0
! Create line between keypoints
L,1,2
! Mesh the line with 10 elements
LESIZE,ALL,,,10
LMESH,ALL
FINISH
/SOLU
! Apply boundary conditions: fix the left end (all DOFs)
D,1,ALL,0
! Apply a downward force at the free end
F,2,FY,-1000
SOLVE
FINISH
/POST1
SET,LAST
! Print nodal displacements
PRDISP
! Print reaction forces
PRRSOL
FINISH