Skip to content

matlab/matlab-agentic-toolkit / skills-catalog/math-and-optimization/matlab-solve-pde

matlab-solve-pde

Verified

End-to-end finite element analysis in MATLAB PDE Toolbox — geometry creation, model setup, solve, and post-processing in one skill. Use when building geometry from primitives or file import, setting up femodel with BCs/loads/materials, solving thermal/structural/EM problems, and extracting or visualizing results. Covers fegeometry, multicuboid, multicylinder, multisphere, decsg, boolean ops, mesh generation, femodel, all AnalysisTypes (thermalSteady, thermalTransient, structuralStatic, structuralTransient, structuralModal, structuralFrequency, electrostatic, magnetostatic, dcConduction, harmonic EM), materialProperties, faceBC, faceLoad, cellLoad, vertexLoad, solve, interpolation, von Mises stress, principal stress, reaction forces, heat flux, pdeplot3D visualization. Triggers on: PDE Toolbox, finite element, FEA, thermal analysis, structural analysis, electromagnetic analysis, femodel, mesh, boundary conditions, stress, displacement, heat transfer, post-processing.

references/damping-reference.md

View on GitHub
# Structural Damping Reference

Three damping forms are available, each for different analysis types.

## Hysteretic Damping

Material-level loss factor. Reduces resonance peaks. Only for `structuralFrequency` (direct solve).

```matlab
model.MaterialProperties = materialProperties(YoungsModulus=210e9, ...
    PoissonsRatio=0.3, MassDensity=7800, HystereticDamping=0.05);
```

## Rayleigh Damping (Proportional)

C = alpha*M + beta*K. Set on femodel (defaults 0). Works with `structuralTransient` and `structuralFrequency`.

```matlab
model.DampingAlpha = 10;   % Mass-proportional (damps low frequencies)
model.DampingBeta = 0.002; % Stiffness-proportional (damps high frequencies)
```

## Modal Damping (DampingZeta)

Damping ratio passed at solve time with modal superposition. Scalar (uniform) or function handle (frequency-dependent). Works for transient or frequency response via modal results.

```matlab
% First compute modes
Rm = solve(model, FrequencyRange=[-Inf, 2*pi*500]);

% Transient with uniform 2% damping ratio
model.AnalysisType = "structuralTransient";
R = solve(model, tlist, ModalResults=Rm, DampingZeta=0.02);

% Frequency-dependent damping
zetaFcn = @(omega) 0.01 + 0.001*(omega/2/pi/100);
R = solve(model, flist, ModalResults=Rm, DampingZeta=zetaFcn);
```

## Summary Table

| Form | Where set | Applies to |
|------|-----------|------------|
| Hysteretic | `materialProperties(..., HystereticDamping=eta)` | `structuralFrequency` (direct solve) |
| Rayleigh | `model.DampingAlpha=a; model.DampingBeta=b;` | `structuralTransient`, `structuralFrequency` |
| Modal | `solve(model, tlist, ModalResults=Rm, DampingZeta=zeta)` | Transient/frequency via modal superposition |

## When to Use Each

- **Hysteretic:** Simplest for frequency sweeps. One material parameter. Does not apply to transient.
- **Rayleigh:** Two coefficients. Approximate real damping over a limited frequency band. Choose alpha and beta to match measured damping at two target frequencies.
- **Modal:** Most flexible. Requires prior modal solve. Can assign different damping per mode if needed (function handle form).

----
Copyright 2026 The MathWorks, Inc.
----
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall