Agent skill
gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh
Sub-skill of gmsh-openfoam-orcaflex: Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/workflows/gmsh-openfoam-orcaflex/converter-1-gmsh-msh-openfoam-polymesh
SKILL.md
Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1)
Converter 1: Gmsh .msh → OpenFOAM polyMesh
from convert_gmsh_to_openfoam import convert
result = convert(
msh_path="mesh.msh",
case_dir="/path/to/of_case",
patch_map={
"inlet": "patch",
"outlet": "patch",
"cylinder": "wall",
"top": "symmetryPlane",
}
)
# result["passed"] == True when polyMesh files are written
Priority: gmshToFoam CLI (OpenFOAM) → meshio Python → stub bypass.
Converter 2: OpenFOAM forces → OrcaFlex load CSV
from convert_openfoam_to_orcaflex import convert
result = convert(
forces_path="postProcessing/forces/0/force.dat",
output_csv="loads.csv",
scale_factor=1.0, # model→full scale if needed
time_step=0.1, # re-sample to uniform dt
)
# result["row_count"] = number of time steps written
Reads bracketed-tuple OpenFOAM forces format (pressure + viscous components).
Writes six-column CSV: Time, Fx, Fy, Fz, Mx, My, Mz.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?