Agent skill
openfoam-15-fvsolution
Sub-skill of openfoam: 1.5 fvSolution (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/cfd/openfoam/15-fvsolution
SKILL.md
1.5 fvSolution (+3)
1.5 fvSolution
SIMPLE (steady-state):
solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.1;
smoother GaussSeidel;
}
"(U|k|epsilon|omega|f|v2)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
relTol 0.1;
}
}
SIMPLE
{
nNonOrthogonalCorrectors 0;
consistent yes;
residualControl
{
p 1e-2;
U 1e-3;
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
{
equations
{
U 0.9;
".*" 0.9;
}
}
PIMPLE (transient):
solvers
{
p { solver GAMG; tolerance 1e-7; relTol 0.01; smoother DICGaussSeidel; }
pFinal { $p; relTol 0; }
"(U|k|epsilon)" { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-05; relTol 0.1; }
"(U|k|epsilon)Final" { $U; relTol 0; }
}
PIMPLE
{
nNonOrthogonalCorrectors 0;
nCorrectors 2;
}
PISO (laminar transient):
solvers
{
p { solver PCG; preconditioner DIC; tolerance 1e-06; relTol 0.05; }
pFinal { $p; relTol 0; }
U { solver smoothSolver; smoother symGaussSeidel; tolerance 1e-05; relTol 0; }
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
}
Available linear solvers: GAMG, PCG, PBiCGStab, smoothSolver. Available smoothers: GaussSeidel, symGaussSeidel, DIC, DILU, DICGaussSeidel.
1.6 transportProperties and turbulenceProperties
Single-phase incompressible:
// constant/transportProperties
transportModel Newtonian;
nu 1e-05; // kinematic viscosity [m^2/s]
Turbulence model selection:
// constant/turbulenceProperties
simulationType RAS; // or laminar, LES
RAS
{
RASModel kEpsilon; // kOmegaSST, realizableKE, SpalartAllmaras
turbulence on;
printCoeffs on;
}
Required 0/ fields by turbulence model:
| Model | Fields needed in 0/ |
|---|---|
| laminar | U, p |
| kEpsilon | U, p, k, epsilon, nut |
| kOmegaSST | U, p, k, omega, nut |
| SpalartAllmaras | U, p, nuTilda, nut |
| interFoam (add) | alpha.water, p_rgh |
1.7 Boundary Conditions
Velocity (U) — dimensions [0 1 -1 0 0 0 0]:
| Patch | BC type | Value |
|---|---|---|
| Inlet (fixed) | fixedValue |
uniform (10 0 0) |
| Outlet | zeroGradient |
— |
| Wall (no-slip) | noSlip |
— |
| 2D front/back | empty |
— |
| Symmetry | symmetry |
— |
Pressure (p) — dimensions [0 2 -2 0 0 0 0] (kinematic):
| Patch | BC type | Value |
|---|---|---|
| Inlet | zeroGradient |
— |
| Outlet (fixed) | fixedValue |
uniform 0 |
| Wall | zeroGradient |
— |
| 2D front/back | empty |
— |
Turbulence fields — wall functions:
| Field | Wall BC | Inlet BC | Outlet BC |
|---|---|---|---|
| k | kqRWallFunction |
fixedValue |
zeroGradient |
| epsilon | epsilonWallFunction |
fixedValue |
zeroGradient |
| omega | omegaWallFunction |
fixedValue |
zeroGradient |
| nut | nutkWallFunction |
calculated |
calculated |
1.8 Dimension Vectors Reference
Format: [kg m s K mol A cd]
| Field | Dimensions |
|---|---|
| U (velocity) | [0 1 -1 0 0 0 0] |
| p (kinematic) | [0 2 -2 0 0 0 0] |
| k | [0 2 -2 0 0 0 0] |
| epsilon | [0 2 -3 0 0 0 0] |
| omega | [0 0 -1 0 0 0 0] |
| nut, nu | [0 2 -1 0 0 0 0] |
| alpha.water | [0 0 0 0 0 0 0] |
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?