Logo
test_branch

General

  • API docs

Tools

  • BoundaryConditions
    • Usage
      • Import
  • SpatialTools
    • Usage
      • Import
      • Choosing the domain
      • Assembling the domain
      • BoundaryConditions with SpatialTools
        • Usage
        • Linking it to _p.py files
    • Complete Examples
      • 2D
      • 3D
      • 3D with STL
      • 3D with STL and Relaxation Zones
    • Classes
      • Base classes
        • CustomShape
        • Rectangle
        • Circle
        • Cuboid
        • Cylinder
        • Sphere
        • ShapeSTL
      • mprans specific
        • Tank2D
        • Tank3D
        • TankWithObstacle2D
  • TwoPhaseFlow
  • WaveTools
    • Usage
      • Import in command line
      • List of wave theories
      • How to use in Proteus
      • How to use as stand-alone tool

Models

  • Body Dynamics
    • Implementation
    • Classes
      • ProtChSystem
      • ProtChBody
      • ProtChMesh
      • ProtChMoorings
      • ProtChAddedMass
    • Postprocessing Tools
      • ProtChBody
      • ProtChMoorings
  • Free Surface
    • VOF - NCLS
    • CLSVOF
  • Mesh Adaptivity
  • Mesh Motion
  • Navier-Stokes
    • Description
    • Two-Phase
    • Three-Phase
    • Dealing with Moving Domains
      • Moving (ALE) Mesh
      • Immersed Boundaries
  • Shallow Water Flows
    • Description
    • Shallow Water equations
    • Modified Green-Naghdi equations
    • Running the tests
Proteus
  • Docs »
  • Navier-Stokes
  • Edit on GitHub

Navier-Stokes¶

Description¶

There are currently 3 implementations of Navier-Stokes equations in proteus:

  • Two-phase flow (e.g. air/water)
  • Three-phase flow (e.g. air/water/sediment)
  • Two-phase flow with immersed boundaries (solid)

Two-Phase¶

The two-phase implementation of Navier-Stokes, with source documentation available here: proteus.mprans.RANS2P.

Three-Phase¶

The three-phase implementation of Navier-Stokes, with source documentation available here: proteus.mprans.RANS3P.

Dealing with Moving Domains¶

When dealing with moving domains, the option movingDomain must be set to True. This is necessary to signal to the model that mesh nodes velocity is to be expected from an external model.

Moving (ALE) Mesh¶

In the current implementation, if a model for moving the mesh is used such as proteus.mprans.MoveMesh, it should be the first model to be solved, as the mesh velocity is calculated from the previous time step.

Immersed Boundaries¶

The immersed boundary (three-phase) implementation of Navier-Stokes, with source documentation available here: proteus.mprans.RANS2P_IB.

Next Previous

© Copyright 2020, The Proteus Team Revision 0bfcabbd.

Built with Sphinx using a theme provided by Read the Docs.