What I do
- Perform finite element analysis (FEA) for structural analysis
- Conduct computational fluid dynamics (CFD) simulations
- Run thermal and heat transfer analyses
- Perform modal analysis and vibration studies
- Support optimization and topology optimization
When to use me
- When validating designs against physical loads
- When analyzing stress and deformation in structures
- When simulating fluid flow and heat transfer
- When optimizing designs for weight or performance
- When predicting product behavior before physical testing
Key Concepts
FEA Fundamentals
# Basic FEA workflow
class FEAAnalysis:
def __init__(self, geometry, mesh_params):
self.geometry = geometry
self.mesh_params = mesh_params
self.boundary_conditions = []
self.loads = []
def mesh(self):
"""Generate finite element mesh"""
return {
"nodes": self._generate_nodes(),
"elements": self._generate_elements(),
"element_type": self.mesh_params.get("type", "tetrahedral")
}
def apply_boundary_conditions(self, bcs):
"""Apply displacement constraints"""
self.boundary_conditions = bcs
def apply_loads(self, loads):
"""Apply forces, pressures, temperatures"""
self.loads = loads
def solve(self):
"""Solve system of equations"""
# K * u = F
stiffness_matrix = self._assemble_stiffness()
load_vector = self._assemble_loads()
displacement = self._solve(stiffness_matrix, load_vector)
return displacement
def postprocess(self, results):
"""Calculate stresses, strains"""
return {
"displacement": results,
"stress": self._compute_stress(results),
"strain": self._compute_strain(results)
}
Element Types
| Element |
DOFs |
Applications |
| Tetrahedron (3D) |
3/node |
Complex 3D solids |
| Hexahedron (3D) |
3/node |
Structured meshes |
| Triangle (2D) |
2/node |
2D plane stress/strain |
| Quadrilateral (2D) |
2/node |
2D with bending |
| Beam |
6/node |
Structural frames |
| Shell |
5-6/node |
Thin structures |
Analysis Types
# Static structural analysis
STATIC_ANALYSIS = {
"equation": "[K]{u} = {F}",
"assumptions": "Linear, time-independent",
"outputs": ["displacement", "stress", strain"]
}
# Modal analysis
MODAL_ANALYSIS = {
"equation": "[K]{phi} = omega^2 [M]{phi}",
"purpose": "Natural frequencies, mode shapes",
"outputs": ["frequencies", "mode_shapes"]
}
# Thermal analysis
THERMAL_ANALYSIS = {
"types": ["steady-state", "transient"],
"equation": "[K]{T} = {Q}",
"outputs": ["temperature", "heat_flux"]
}
Mesh Quality Metrics
| Metric |
Good |
Acceptable |
Poor |
| Aspect ratio |
< 3 |
< 5 |
> 10 |
| Jacobian |
> 0.5 |
> 0.3 |
< 0.1 |
| Skewness |
< 20° |
< 40° |
> 60° |
| Warpage |
< 5° |
< 15° |
> 30° |
Common CAE Software
| Software |
Analysis Types |
| ANSYS |
Structural, Thermal, CFD, Multi-physics |
| ABAQUS |
Structural, Nonlinear, Dynamic |
| COMSOL |
Multi-physics coupling |
| NASTRAN |
Structural, Aeroelasticity |
| STAR-CCM+ |
CFD, Multi-physics |
| Altair HyperWorks |
Optimization, Structural |
1---2name: cae3description: Computer-aided engineering analysis4license: MIT5compatibility: opencode6metadata:7 source: https://skillmd.com/skills/neuralblitz/cae8 audience: engineers, analysts, designers9 category: engineering10---1112## What I do1314- Perform finite element analysis (FEA) for structural analysis15- Conduct computational fluid dynamics (CFD) simulations16- Run thermal and heat transfer analyses17- Perform modal analysis and vibration studies18- Support optimization and topology optimization1920## When to use me2122- When validating designs against physical loads23- When analyzing stress and deformation in structures24- When simulating fluid flow and heat transfer25- When optimizing designs for weight or performance26- When predicting product behavior before physical testing2728## Key Concepts2930### FEA Fundamentals3132```python33# Basic FEA workflow34class FEAAnalysis:35 def __init__(self, geometry, mesh_params):36 self.geometry = geometry37 self.mesh_params = mesh_params38 self.boundary_conditions = []39 self.loads = []40 41 def mesh(self):42 """Generate finite element mesh"""43 return {44 "nodes": self._generate_nodes(),45 "elements": self._generate_elements(),46 "element_type": self.mesh_params.get("type", "tetrahedral")47 }48 49 def apply_boundary_conditions(self, bcs):50 """Apply displacement constraints"""51 self.boundary_conditions = bcs52 53 def apply_loads(self, loads):54 """Apply forces, pressures, temperatures"""55 self.loads = loads56 57 def solve(self):58 """Solve system of equations"""59 # K * u = F60 stiffness_matrix = self._assemble_stiffness()61 load_vector = self._assemble_loads()62 displacement = self._solve(stiffness_matrix, load_vector)63 return displacement64 65 def postprocess(self, results):66 """Calculate stresses, strains"""67 return {68 "displacement": results,69 "stress": self._compute_stress(results),70 "strain": self._compute_strain(results)71 }72```7374### Element Types7576| Element | DOFs | Applications |77|---------|------|--------------|78| Tetrahedron (3D) | 3/node | Complex 3D solids |79| Hexahedron (3D) | 3/node | Structured meshes |80| Triangle (2D) | 2/node | 2D plane stress/strain |81| Quadrilateral (2D) | 2/node | 2D with bending |82| Beam | 6/node | Structural frames |83| Shell | 5-6/node | Thin structures |8485### Analysis Types8687```python88# Static structural analysis89STATIC_ANALYSIS = {90 "equation": "[K]{u} = {F}",91 "assumptions": "Linear, time-independent",92 "outputs": ["displacement", "stress", strain"]93}9495# Modal analysis96MODAL_ANALYSIS = {97 "equation": "[K]{phi} = omega^2 [M]{phi}",98 "purpose": "Natural frequencies, mode shapes",99 "outputs": ["frequencies", "mode_shapes"]100}101102# Thermal analysis103THERMAL_ANALYSIS = {104 "types": ["steady-state", "transient"],105 "equation": "[K]{T} = {Q}",106 "outputs": ["temperature", "heat_flux"]107}108```109110### Mesh Quality Metrics111112| Metric | Good | Acceptable | Poor |113|--------|------|------------|------|114| Aspect ratio | < 3 | < 5 | > 10 |115| Jacobian | > 0.5 | > 0.3 | < 0.1 |116| Skewness | < 20° | < 40° | > 60° |117| Warpage | < 5° | < 15° | > 30° |118119### Common CAE Software120121| Software | Analysis Types |122|----------|----------------|123| ANSYS | Structural, Thermal, CFD, Multi-physics |124| ABAQUS | Structural, Nonlinear, Dynamic |125| COMSOL | Multi-physics coupling |126| NASTRAN | Structural, Aeroelasticity |127| STAR-CCM+ | CFD, Multi-physics |128| Altair HyperWorks | Optimization, Structural |