1

Previous: Boundary conditions in OpenFOAM Up: Boundary conditions in OpenFOAM Next: Boundary conditions

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Boundary types

  • Boundary types are set in constant/polyMesh/boundary

  • Basic types of boundaries in OpenFOAM are shown in following table:

     

    Boundary typeDescription
    patchgeneral boundary (e.g. inlet, outlet)
    symmetryPlanesymmetry
    emptyempty, only for 2D computations
    wedgeaxis symmetry
    cyclicperiodic (cyclic) boundary condition
    cyclicAMIgeneralized cyclic
    wallrigid wall
    processorinter-processor boundary (parallel computations)
  • Boundary types are set in constant/polyMesh/boundary
  • patch
    Patch condition contains no geometric or topological information about mesh. Typically patch is used for an inlet or an outlet.
  • symmetryPlane
    Symmetry plane (mirroring quantity)
  • empty
    Empty boundary condition is used for simplified cases (quasi 3D fluid flow)
  • wedge
    Axis symmetric computations, see figure [*].
  • cyclic
    Periodic boundary condition for regularly repeating solution (translation, rotation).
  • cyclicAMI
    Generalized cyclic, there is no need for meshes to fit each other point to point. Useful for cyclic cases and for connecting meshes consisting of more regions.
  • wall
    Rigid walls
  • processor
    When domain decomposed into sub-domains
openfoam wedge case

Figure: OpenFOAM Wedge case example

Forces Acting On the Patch - forces Function

Function forces is included in file controlDict. Definition of forces functions are created in file forces.fun. This functions can evaluate aerodynamic forces acting on selected model patches:

 

forcesBlade
{
    type                    forces;
    functionObjectLibs      ( "libforces.so" );
    outputControl           timeStep;
    outputInterval          1;
    region                  rotor;
    patches                 ( blade_rot_wall );
    pname                   pMean;
    Uname                   UMean;
    rhoName                 rhoInf;
    rhoInf                  1; // blueSolver uses rho = 1
    log                     true;
    CofR                    (0 0 0);
}
forcesWall
{
    type                    forces;
    functionObjectLibs      ( "libforces.so" );
    outputControl           timeStep;
    outputInterval          1;
    region                  rotor;
    patches                 ( hub_rot_wall_wall hub_rot_wheel_wall hub_rot_tip_wall );
    pname                   pMean;
    Uname                   UMean;
    rhoName                 rhoInf;
    rhoInf                  1; // blueSolver uses rho = 1
    log                     true;
    CofR                    (0 0 0);
}

During the computation the results are written in directory forces/0/forces.dat.

Previous: System of Linear Equations Up: TCFD Solvers Next: Spatial Integration Numerical Scheme
This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

SIMPLE Algorithm

For solving pressure – velocity coupling the SIMPLE algorithm is used. For more details see e.g. [1].