orcaflex-environment-config
Configure OrcaFlex environmental conditions including wave spectra (JONSWAP, Dean Stream), current profiles, wind loading, and seabed properties for offshore analysis.
Best use case
orcaflex-environment-config is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Configure OrcaFlex environmental conditions including wave spectra (JONSWAP, Dean Stream), current profiles, wind loading, and seabed properties for offshore analysis.
Teams using orcaflex-environment-config should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/environment-config/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orcaflex-environment-config Compares
| Feature / Agent | orcaflex-environment-config | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Configure OrcaFlex environmental conditions including wave spectra (JONSWAP, Dean Stream), current profiles, wind loading, and seabed properties for offshore analysis.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Orcaflex Environment Config
## When to Use
- Setting up wave conditions for simulations
- Configuring depth-varying current profiles
- Adding wind loads to vessel/structure analysis
- Defining seabed properties for touchdown regions
- Creating consistent environmental load cases
- Multi-directional wave/current combinations
## Python API
### Basic Environment Setup
```python
from digitalmodel.solvers.fea_model.environment_components import Environment
def setup_environment(config: dict) -> dict:
"""
Configure OrcaFlex environment from config.
Args:
config: Environment configuration dictionary
*See sub-skills for full details.*
### Direct OrcFxAPI Configuration
```python
import OrcFxAPI
def configure_orcaflex_environment(
model: OrcFxAPI.Model,
config: dict
) -> OrcFxAPI.OrcaFlexObject:
"""
Configure environment directly in OrcFxAPI.
*See sub-skills for full details.*
### Current Profile Configuration
```python
import OrcFxAPI
def set_current_profile(
model: OrcFxAPI.Model,
surface_speed: float,
direction: float,
depth_factors: list
) -> None:
"""
*See sub-skills for full details.*
### Wind Configuration
```python
import OrcFxAPI
def configure_wind(
model: OrcFxAPI.Model,
speed: float,
direction: float,
reference_height: float = 10.0,
apply_to_vessels: bool = True,
apply_to_lines: bool = False,
*See sub-skills for full details.*
### JONSWAP Gamma Calculation
```python
import math
def calculate_jonswap_gamma(Hs: float, Tp: float) -> float:
"""
Calculate JONSWAP gamma from Hs and Tp.
Uses DNV-RP-C205 relationship.
Args:
*See sub-skills for full details.*
### Multi-Directional Waves
```python
import OrcFxAPI
def configure_multi_directional_waves(
model: OrcFxAPI.Model,
wave_components: list
) -> None:
"""
Configure multi-directional wave system.
*See sub-skills for full details.*
## Related Skills
- [orcaflex-modeling](../orcaflex-modeling/SKILL.md) - Run OrcaFlex simulations
- [orcaflex-operability](../orcaflex-operability/SKILL.md) - Multi-sea-state analysis
- [hydrodynamics](../hydrodynamics/SKILL.md) - Wave spectra management
- [mooring-design](../mooring-design/SKILL.md) - Environmental loading
## References
- DNV-RP-C205: Environmental Conditions and Loads
- API RP 2MET: Metocean
- OrcaFlex: Environment Data
- Source: `src/digitalmodel/modules/fea_model/environment_components.py`
## Sub-Skills
- [Complete Environment Configuration (+1)](complete-environment-configuration/SKILL.md)
- [Wave Configuration (+2)](wave-configuration/SKILL.md)
## Sub-Skills
- [Version Metadata](version-metadata/SKILL.md)
- [[1.0.0] - 2026-01-17](100-2026-01-17/SKILL.md)
- [Wave Types (+2)](wave-types/SKILL.md)
- [Environment YAML Output](environment-yaml-output/SKILL.md)
- [Common Errors and Fixes (+2)](common-errors-and-fixes/SKILL.md)
- [Environment Sanity Checks (+1)](environment-sanity-checks/SKILL.md)Related Skills
OrcaFlex Specialist Skill
```yaml
orcaflex-reporting-fixture-proof-pattern
Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
orcawave-orcaflex-readiness-audit
Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.
toml-section-scoping-config-debug
Diagnose TOML config errors caused by misplaced keys in table sections
portable-config-baseline-pattern
Extract machine-agnostic settings into portable template files while keeping machine-specific hooks and plugins separate
portable-baseline-configuration-pattern
Separate portable/universal config from machine-specific settings to enable safe template reuse across environments
portable-baseline-config-pattern
Separate machine-portable baseline config from environment-specific hooks and plugins
digitalmodel-orcawave-orcaflex-workflow
Current-state workflow for navigating and extending digitalmodel OrcaWave/OrcaFlex capabilities across code, tests, issues, queue tooling, and licensed-machine boundaries.
orcawave-orcaflex-semantic-proof-wave-closeout
Close out an OrcaWave/OrcaFlex semantic-proof wave after a PR merges, split unrelated CI blockers, and seed the next semantic-proof issue wave without duplicating existing issues.
large-parallel-planning-wave-environment-failure-handoff
Handle large pre-plan-review planning waves that succeed analytically but fail to persist artifacts due to quota exhaustion, sandbox write failures, or cancelled GitHub mutations.
orcawave-to-orcaflex
Integration specialist for converting OrcaWave diffraction results to OrcaFlex vessel types. Handles hydrodynamic database generation, RAO import, viscous damping addition, and coordinate system transformations.