Best Practices

Guidelines for getting accurate, reliable results from Gradient Dynamics Studio.

Geometry Preparation

Start with a Clean Geometry

  • Always run geometry analysis before meshing — catch problems early

  • Use STEP format for CAD files — it preserves topology that helps meshing and surface identification

  • Simplify complex assemblies — remove small features (screws, bolts, labels) that don’t affect flow

  • Close gaps and holes — the geometry must be watertight for volume meshing

  • Remove internal surfaces — overlapping or duplicate faces can cause meshing errors

Geometry Scale

  • Verify your geometry is in the correct units (meters)

  • A car should be ~4.5 m long, not 4500 (millimeters) or 0.0045 (micrometers)

  • Incorrect scale leads to wrong mesh sizes, Reynolds numbers, and results

Meshing

Start Coarse, Then Refine

  1. Coarse mesh first — Run a quick mesh to verify the setup

  2. Check quality — Review flagged quality metrics and problem regions

  3. Refine — Increase local or surface resolution and regenerate

  4. Compare — Check that key quantities (Cd, pressure drop) change by < 5% between meshes

This “mesh independence study” ensures your results are not artifacts of the mesh resolution.

Near-Wall Resolution

  • Use the y+ calculator to determine the appropriate near-wall resolution for your flow speed and turbulence model

  • y+ ≈ 30 (wall-function RANS, medium surface refinement) works well for most external aerodynamics

  • y+ ≈ 1 (wall-resolved, fine or very fine surface refinement) is needed for LES, detailed heat transfer, or sensitive separation

  • Do not over-refine walls unnecessarily; near-wall resolution can add cells quickly

Refinement Zones

  • Focus refinement where it matters — wakes, separation zones, stagnation regions

  • Don’t over-refine far-field regions — cells far from the geometry contribute little to accuracy

  • Avoid extreme level jumps — 2-3 refinement levels between adjacent regions is a practical limit

  • Cover the full wake — for bluff bodies, the wake zone should extend at least 3× body length downstream

Domain Sizing

  • Too small is worse than too large — boundary effects contaminate the solution

  • External flow: Minimum 1.5× upstream, 3× downstream, 1.5× sides

  • Internal flow: Ensure adequate inlet development length (10× hydraulic diameter)

  • When in doubt, go larger — the extra cells are cheap compared to a wrong solution

Simulation

Solver Family

Use Automatic solver selection for first runs. Choose a specific solver family only when your physics, validation target, or workflow requires it.

Turbulence Model Selection

Situation

Recommended Model

First analysis / general purpose

k-ω SST

Industrial pipe/duct flow

k-ε

Quick preliminary study

Spalart-Allmaras

Strong swirl or rotation

RSM

Unsteady/acoustic analysis

LES

Convergence

  • Monitor residuals — residuals should decrease and then stabilize at an acceptable level

  • Check integrated quantities — Cd, Cl, pressure drop should plateau before you declare convergence

  • Residuals alone are not sufficient — a simulation can have low residuals but wrong results if the setup is incorrect

  • Run enough iterations — 500 minimum for RANS, 1000+ for complex geometries

  • Use conservative startup settings for difficult initial conditions

Common Pitfalls

Pitfall

Consequence

Prevention

Forgetting moving ground for vehicle aero

Unrealistic ground boundary layer

Set ground as moving wall at freestream speed

Wrong turbulence intensity at inlet

Incorrect turbulence levels in domain

Use 1% for external, 5% for internal

Startup controls too aggressive

Immediate divergence

Start conservatively and ramp settings after the flow stabilizes

Coarse mesh near features of interest

Inaccurate local flow

Add refinement zones at the right resolution

Ignoring mesh quality warnings

Poor convergence or wrong results

Inspect flagged regions before simulating

Solver family mismatched to physics

Slow or unstable convergence

Use Automatic first, then select a specific family only when needed

Post-Processing

Validate Your Results

  • Compare with known data — use published Cd values, analytical solutions, or experimental data where available

  • Check mass conservation — inlet and outlet mass flow rates should match within 0.1%

  • Look for non-physical artifacts — negative pressures in unexpected places, symmetric flow that should be asymmetric, etc.

  • Verify force coefficients — are they in the expected range for your geometry type?

Effective Visualization

  • Start with surface coloring — pressure on the body shows the overall flow structure

  • Use slice planes — mid-span/centerline cuts reveal internal flow patterns

  • Add streamlines sparingly — too many streamlines create visual clutter

  • Set color ranges manually — auto-scaling can hide important features

Workflow Efficiency

Use the AI Assistant

The AI Assistant saves time by:

  • Automating geometry analysis and repair recommendations

  • Suggesting appropriate mesh settings and refinement levels for your application

  • Auto-detecting boundary conditions from surface names

  • Interpreting quality reports and results

Save Time with Symmetry

If your geometry and flow are symmetric:

  • Use a symmetry plane to mesh only half the domain

  • This halves cell count and compute cost

  • Results are mirrored automatically in visualization

Iterate Systematically

For design optimization:

  1. Establish a baseline configuration

  2. Change one parameter at a time

  3. Use the same mesh settings for fair comparison

  4. Record all results in a structured format