fluidsim
Skill by K-Dense-AI
Guides planning, configuration, inspection, restarts and analysis of bounded FluidSim CFD simulations. Built for researchers using FluidSim 0.9.0 with numerical-validity and HPC safety checks.
Install fluidsim
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/fluidsim ~/.claude/skills/fluidsimRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/fluidsim ~/.gemini/antigravity-cli/skills/fluidsimAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant a structured workflow for FluidSim, a Python framework for numerical solvers, mainly periodic Cartesian pseudospectral CFD. It asks the user to state equations, units, boundaries, forcing and acceptance criteria before running anything. It then guides solver selection, strict JSON run plans, parameter review and FFT/MPI setup. Bundled standard-library Python scripts validate configs, estimate resources, generate dry-run scripts, and inspect outputs, budgets and restart compatibility. The source states that these tools never launch a simulation. The skill is aimed at scientists and engineers who run FluidSim and need to check numerical validity and restart lineage before trusting results.
Written from the project's SKILL.md and checked against it.
What it can do
- solver_config_validator.pyValidates a run configuration file against the solver plan rules.
- grid_resource_estimator.pyEstimates resource needs for a planned FluidSim run. The source notes the estimate is approximate.
- simulation_dry_run.pyGenerates a dry-run script that does nothing unless executed with an explicit config-ID acknowledgement.
- output_inventory.pyInventories the output files of a simulation run directory.
- budget_summary.pySummarizes conservation and budget data from a run directory.
- restart_compatibility.pyChecks whether a source state file is compatible with a target configuration for restart.
What you need
- Python 3.11 or newer for the bundled CLIs
- uv for the recommended project lock workflow
- FluidSim 0.9.0 with the fft extra, FluidFFT 0.4.5 and pyFFTW 0.15.1
- Optional h5py for HDF5 and netCDF metadata tools
- A site-compatible MPI implementation and FFTW libraries for MPI use
Try asking
- Validate my FluidSim config.json and estimate its resource needs.
- Review the default ns2d parameters before I change the time step.
- Check whether my state.nc can restart with this new config file.
Good to know
- The source states no GPU backend is assumed and GPU use is unvalidated.
- The skill does not validate other solvers physically or verify MPI or GPU use.
- MPI and cluster examples are described as illustrative.
- The tools never launch simulations, and MPI jobs must be prepared by the user.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/fluidsim/SKILL.md, skills/fluidsim/scripts/__init__.py, skills/fluidsim/scripts/_common.py, skills/fluidsim/scripts/_profiles.py, skills/fluidsim/scripts/_schema.py, skills/fluidsim/scripts/budget_summary.py, skills/fluidsim/scripts/grid_resource_estimator.py, skills/fluidsim/scripts/output_inventory.py, skills/fluidsim/scripts/restart_compatibility.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Bash Glob Python
-
SKILL.md14 KB -
references/advanced_features.md12 KB -
references/installation.md10 KB -
references/output_analysis.md11 KB -
references/parameters.md10 KB
Show all 17 files
-
references/simulation_workflow.md12 KB -
references/solvers.md8 KB -
scripts/__init__.py74 B -
scripts/_common.py15 KB -
scripts/_profiles.py12 KB -
scripts/_schema.py31 KB -
scripts/budget_summary.py14 KB -
scripts/grid_resource_estimator.py9 KB -
scripts/output_inventory.py11 KB -
scripts/restart_compatibility.py19 KB -
scripts/simulation_dry_run.py10 KB -
scripts/solver_config_validator.py2 KB
Alternatives to fluidsim
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
fluidsim: common questions
Does FluidSim with this skill guarantee converged results?
No. The source says a completed run, a stable time step or a smooth plot is not evidence of numerical convergence or physical validity. The skill requires grid and time refinement checks before results are interpreted.
Can the skill start a simulation on my cluster?
No. The source says the bundled tools never launch a simulation, and MPI jobs are never submitted or launched automatically. A site-specific MPI job must be prepared and run by the user.
Which solvers does the skill cover?
The source lists six primary Cartesian solvers, including ns2d, ns2d.bouss, ns2d.strat, ns3d, ns3d.bouss and ns3d.strat. It states that registry availability does not make a solver suitable for a given scientific question.
How do I install fluidsim?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fluidsim free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is fluidsim safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to fluidsim?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
