Works with the AI Agents you already use
COMSOL Electrochemical Expert 64
by RVLM
Expert engineering guidance for building, solving, and debugging COMSOL Multiphysics 6.4 simulations.
$19
COMSOL Electrochemical Expert 64
Example session with this skill installed
I'm getting a 'Segregated solver steps did not converge' error in my electrochemical flow cell model with Nernst-Planck transport. How do I fix it?
- Read your context and instructions
- Compiled the comsol electrochemical expert
The 'Segregated solver steps did not converge' error in a Nernst-Planck model usually indicates a strong coupling between the electric potential and the ionic concentration gradients that the current segregated step order cannot resolve, or a sharp reaction zone that the mesh cannot resolve.
Error Diagnosis and Resolution
| Step | Action | Logic |
|---|---|---|
| 1. Identify | Check the Convergence Plot for the 'Concentration' vs 'Potential' residuals. | Determines which variable is oscillating or stalling. |
| 2. Isolate | Switch to a 'Fully Coupled' solver node in the Study settings. | Uses a damped Newton method for all variables simultaneously, which is more stable for high-gradient Nernst-Planck problems. |
| 3. Mesh Check | Add a 'Boundary Layer Mesh' to electrodes. | Nernst-Planck equations often fail if the Debye length or reaction layer isn't resolved by at least 3-5 elements. |
| 4. Physics | Verify the 'Electroneutrality' constraint in the Tertiary Current Distribution interface. | Ensure the initial values for all ions satisfy the charge balance equation. |
Proposed Solver Modification
Study 1 > Solver Configurations > Solution 1 > Stationary Solver 1
1. Right-click 'Stationary Solver 1' -> 'Fully Coupled'.
2. In 'Fully Coupled' settings:
- Method: Constant (Newton)
- Damping factor: 0.1 (Start low to aid initial convergence)
- Maximum number of iterations: 50
3. Disable the original 'Segregated' node.
Next steps
- Check the
Logwindow for the "Residual" value; if it stays flat at 10^-1, refine the mesh at the electrolyte-electrode interface. - Integrate the total current density over the anode and cathode to verify the global charge balance.
- Perform a Parametric Sweep on the inlet velocity to see if convergence fails as Peclet numbers increase.
Connects securely to your tools. The creator never sees your data.
About this skill
COMSOL Expert 6.4 — Senior Simulation Engineer for your AI Agent
Your agent becomes an expert multiphysics simulation engineer specialized in COMSOL Multiphysics 6.4. It guides you phase by phase — from the governing equations to a validated, mesh-independent result — with the discipline of a senior simulation engineer: units checked, sign conventions verified, uncertainty declared.
What your agent can do with this skill
- Build models from scratch — a 7-phase workflow from problem definition and mathematical formulation to geometry, physics setup, meshing, solver selection and validation, with checklists at every phase.
- Electrochemistry done right — Nernst equation, Butler-Volmer kinetics, Tafel analysis, Faraday's law, Nernst-Planck transport, primary/secondary/tertiary current distributions, HER/ORR/HOR, electrodeposition and corrosion. Includes the sign and reference conventions that most broken models get wrong, and the "currents must stay below transport limits" cross-check that catches them.
- Transport and flow with correct regimes — convection-diffusion-reaction, dimensionless numbers (Re, Sc, Pe, Da, Kn) with practical regime heuristics, stabilization guidance, laminar flow essentials, porous media and two-phase flow decisions, and coupling maps between physics.
- Solvers and meshing without guesswork — study type selection, fully coupled vs segregated strategy, damping and tolerance choices, boundary-layer meshing with justified first-cell heights, and mandatory mesh-independence practice.
- A real debugging playbook — the most common COMSOL failures (singular matrix, failed to find consistent initial values, NaN/Inf, nonlinear solver did not converge, negative concentrations, circular variable dependencies...) each with: what the solver is actually saying, ranked likely causes, an isolation test, and the fix. One change per test run — never four fixes at once.
Who it's for
- Graduate students and researchers running electrochemistry, corrosion, microfluidics or electrochemical reactor simulations
- Process and R&D engineers who need defensible simulation results, not just converged ones
- Anyone debugging a COMSOL model that converges but looks wrong
How it works
Install it, connect your agent (Claude, ChatGPT, Cursor, Codex, Gemini CLI and any agent that supports skills), and just describe your model or paste your error. The skill loads automatically whenever the conversation touches COMSOL. Your agent works step by step: one action at a time in the COMSOL GUI, with exact node paths, values, units, and expected outcomes — waiting for your confirmation before advancing.
What's inside
SKILL.md— the expert persona, non-negotiable scientific rigor rules, working method, and response formatsreference/electrochemistry.md— electrochemical kinetics and transport referencereference/transport-and-flow.md— transport physics and regime analysisreference/solvers-and-meshing.md— solver and meshing strategyreference/error-diagnostics.md— the error-by-error debugging playbookreference/model-building-workflow.md— the full model-building checklist
Honest scope
This skill provides engineering judgment, equations, and methodology. It does not reproduce COMSOL's copyrighted documentation. For exact node names, licensing requirements, and version-specific behavior, the skill directs the agent to cite the official COMSOL 6.4 documentation — and to say clearly when it is uncertain instead of inventing functionality.
Does not replace official documentation. Requires user-provided material properties. Focuses on version 6.4 logic. Guarantees physical consistency over blind convergence. Version 1.0.0. Authored as original engineering methodology by a simulation engineer. Knowledge-only skill: no code execution, no network calls, no data collection.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Knowledge skill: nothing to install, no file or network access needed. You need your own COMSOL Multiphysics installation (6.4 recommended) to run simulations. For exact node names it directs you to official COMSOL documentation.
Permissions
What's inside
Creator
RVLM
6 skills on Agensi
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.