Boundary Conditions

Boundary Conditions are set in files in 0 folder.

Velocity Inlet

U

Velocity Specification Method : Magnitude, Normal to Boundary

<boundayr name> 
{
    type     surfaceNormalFixedValue;
    refValue uniform -<value>;
}

Velocity Specification Method : Component

<boundayr name>
{
    type    fixedValue;
    value   uniform (<Ux> <Uy> <Uz>);
}

time dependent profile, magnitude, normal to boundary

<boundayr name> 
{
    type            uniformNormalFixedValue;
    uniformValue    table;
    uniformValueCoeffs
    {
        values
        (
            (<time0>    -<velocityMagnitude0>)
            (<time1>    -<velocityMagnitude1>)
            (<time2>    -<velocityMagnitude2>)
            ...
        );
    }
}

time dependent profile, component

<boundayr name>
{
    type            uniformFixedValue;
    uniformValue    table;
    uniformValueCoeffs
    {
        values
        (
            (<time0>  (<Ux0> <Uy0> <Uz0>))
            (<time1>  (<Ux1> <Uy1> <Uz1>))
            (<time2>  (<Ux2> <Uy2> <Uz2>))
            ...
        );
    }
}

Using spatial profile, file of x, y, z coordinate is constant/boundaryData//points_U and file of Ux, Uy, Uz valueis constant/boundaryData//0/U

<boundayr name> 
{
    type    timeVaryingMappedFixedValue;
    points  points_U;
}

constant/boundaryData//points_U

<number of points>
(
    (<x-coordinate0> <y-coordinate0> <z-coordinate0>)
    (<x-coordinate1> <y-coordinate1> <z-coordinate1>)
    ...    
)

constant/boundaryData//0/U

<number of points>
(
    (<Ux0> <Uy0> <Uz0>)
    (<Ux1> <Uy1> <Uz1>)
    ...    
)

p_rgh

<boundayr name>
{
    type     zeroGradient;
}

T

Constant

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

time dependent, piecewise linear

<boundayr name> 
{
    type            uniformFixedValue;
    uniformValue    table;
    uniformValueCoeffs
    {
        values
        (
            (<time0>    <T0>)
            (<time1>    <T1>)
            (<time2>    <T2>)
            ...
        );
    }
}

time dependent, polynomial

<boundayr name> 
{
    type            uniformFixedValue;
    uniformValue    polynomial
    (
        (a0  0)
        (a1  1)
        (a2  2)
        ...
    );
}

k

Specification Method : K and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <inlet value>;
    value       uniform <value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            turbulentIntensityInletOutletTKE;
    turbIntensity   uniform <value>;
    value           uniform <value>;
}

epsilon, omega

Specification Method : K and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <inlet value>;
    value       uniform <value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            viscosityRatioInletOutletTDR;
    viscosityRatio  uniform <value>;
    value           uniform <value>;
}

nuTilda

Specification Method : Modifed Turbulent Viscosity

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

Specification Method : Turbulent Viscosity Ratio

<boundayr name>
{
    type            viscosityRatioInletOutletNuTilda;
    viscosityRatio  <value>;
    value           uniform <value>;
}

nut, alphat

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

volume fraction, species, user defined scalar

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

Flow Rate Inlet

U

Flow Rate Specification Method : Volume Flow Rate

<boundayr name>
{
    type                flowRateInletVelocity;
    volumetricFlowRate  <value>;
}

Flow Rate Specification Method : Mass Flow Rate

<boundayr name>
{
    type            flowRateInletVelocity;
    massFlowRate    <value>;
    rhoInlet        <value>;
}

Dictionary of p_rgh, T, turbulence is the same with Velocity Inlet

Pressure Inlet

U

<boundayr name>
{
    type    pressureInletOutletVelocity;
    value   uniform <value>;
}

p_rgh

<boundayr name>
{
    type    totalPressure;
    p0      uniform <value>;
}

Dictionary of T, turbulence is the same with Velocity Inlet

ABL Inlet

U

<boundayr name>
{
    type    atmBoundaryLayerInletVelocity;
    flowDir (<x-dir> <y-dir> <z-dir>);
    zDir    (<x-dir> <y-dir> <z-dir>);
    Uref    <value>;
    Zref    <value>;
    z0      <value>;
    d       <value>;
}

p_rgh

<boundayr name>
{
    type    zeroGradient;
}

k

<boundayr name>
{
    type    atmBoundaryLayerInletK;
    flowDir (<x-dir> <y-dir> <z-dir>);
    zDir    (<x-dir> <y-dir> <z-dir>);
    Uref    <value>;
    Zref    <value>;
    z0      <value>;
    d       <value>;
}

epsilon

<boundayr name>
{
    type    atmBoundaryLayerInletEpsilon;
    flowDir (<x-dir> <y-dir> <z-dir>);
    zDir    (<x-dir> <y-dir> <z-dir>);
    Uref    <value>;
    Zref    <value>;
    z0      <value>;
    d       <value>;
}

omega

<boundayr name>
{
    type    atmBoundaryLayerInletOmega;
    flowDir (<x-dir> <y-dir> <z-dir>);
    zDir    (<x-dir> <y-dir> <z-dir>);
    Uref    <value>;
    Zref    <value>;
    z0      <value>;
    d       <value>;
}

nut

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

Free Stream

U

<boundayr name>
{
    type            freestreamVelocity;
    freestreamValue uniform <value>;
}

p_rgh

<boundayr name>
{
    type            freestreamPressure;
    freestreamValue uniform <value>;
}

T

<boundayr name>
{
    type            freestream;
    freestreamValue uniform <value>;
}

k

Specification Method : K and Epsilon

<boundayr name>
{
    type            freestream;
    freestreamValue uniform <value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            turbulentIntensityInletOutletTKE;
    turbIntensity   uniform <value>;
    value           uniform <value>;
}

epsilon, omega

Specification Method : K and Epsilon

<boundayr name>
{
    type            freestream;
    freestreamValue uniform <inlet value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            viscosityRatioInletOutletTDR;
    viscosityRatio  uniform <value>;
    value uniform   <value>;
}

nuTilda

Specification Method : Modifed Turbulent Viscosity

<boundayr name>
{
    type            freestream;
    freestreamValue uniform <inlet value>;
}

Specification Method : Turbulent Viscosity Ratio

<boundayr name>
{
    type            viscosityRatioInletOutletNuTilda;
    viscosityRatio  <value>;
    value           uniform <value>;
}

nut, alphat

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

species, user defined scalar

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

Open Channel Inlet

U

<boundayr name>
{
    type        variableHeightFlowRateInletVelocity;
    alpha       alpha.<secondary material name>;
    flowRate    <value>;
    value       uniform <value>;
}

p_rgh

<boundayr name>
{
    type    zeroGradient;
}

alpha.*

<boundayr name>
{
    type        variableHeightFlowRate;
    lowerBound  0.0;
    upperBound  1.0;
    value       uniform <value>;
}

Dictionary of turbulence is the same with Velocity Inlet

Far-field Riemann

U

<boundayr name>
{
    type    farfieldRiemann;
    flowDir (<x-dir> <y-dir> <z-dir>);
    MInf    <value>;
    pInf    <value>;
    TInf    <value>;
    value   uniform (<Ux> <Ux> <Ux>);
}

p, T

<boundayr name>
{
    type    farfieldRiemann;
    flowDir (<x-dir> <y-dir> <z-dir>);
    MInf    <value>;
    pInf    <value>;
    TInf    <value>;
    value   uniform <value>;
}

Dictionary of turbulence is the same with Velocity Inlet

Subsonic Inlet

U

<boundayr name>
{
    type    subsonicInlet;
    flowDir (<x-dir> <y-dir> <z-dir>);
    p0      <value>;
    T0      <value>;
    value   uniform (<Ux> <Ux> <Ux>);
}

p, T

<boundayr name>
{
    type    subsonicInlet;
    flowDir (<x-dir> <y-dir> <z-dir>);
    p0      <value>;
    T0      <value>;
    value   uniform <value>;
}

Dictionary of turbulence is the same with Velocity Inlet

Supersonic Inflow

U

<boundayr name>
{
    type    fixedValue;
    value   uniform (<Ux> <Ux> <Ux>);
}

p, T

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

Dictionary of turbulence is the same with Velocity Inlet

Pressure Outlet

U

Without Non-reflecging Boundary option

<boundayr name>
{
    type    pressureInletOutletVelocity;
    value   uniform (<Ux> <Ux> <Ux>);
}

With Non-reflecging Boundary option

<boundayr name>
{
    type    waveTransmissive;
    gamma   <value>;
}

p_rgh

Without Non-reflecging Boundary option

<boundayr name>
{
    type    totalPressure;
    p0      uniform <value>; # value is static pressure
}

With Non-reflecging Boundary option

<boundayr name>
{
    type    waveTransmissive;
    gamma   <value>;
}

T

Without Specify Backflow Properties

<boundayr name>
{
    type    zeroGradient;
}

With Specify Backflow Properties

<boundayr name>
{
    type        inletOutletTotalTemperature;
    gamma       <value>;
    inletValue  uniform <value>;
    T0          uniform <value>;
}

k

Without Specify Backflow Properties

<boundayr name>
{
    type    zeroGradient;
}

With Specify Backflow Properties, k and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

With Specify Backflow Properties, Intensity and Viscosity Ratio

<boundayr name>
{
    type            turbulentIntensityInletOutletTKE;
    turbIntensity   uniform <value>;
    value           uniform <value>;
}

epsilon, omega

Without Specify Backflow Properties

<boundayr name>
{
    type    zeroGradient;
}

With Specify Backflow Properties, k and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

With Specify Backflow Properties, Intensity and Viscosity Ratio

<boundayr name>
{
    type        viscosityRatioInletOutletTDR;
    inletValue  uniform <value>;
    value       uniform <value>;
}

nuTilda

Without Specify Backflow Properties

<boundayr name>
{
    type    zeroGradient;
}

With Specify Backflow Properties, Modifed Turbulent Viscosity

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

With Specify Backflow Properties, Turbulent Viscosity Ratio

<boundayr name>
{
    type        viscosityRatioInletOutletNuTilda;
    inletValue  uniform <value>;
    value       uniform <value>;
}

nut, alphat

Without Specify Backflow Properties

<boundayr name>
{
    type    zeroGradient;
}

With Specify Backflow Properties, Intensity and Viscosity Ratio

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

Open Channel Outlet

U

<boundayr name>
{
    type    outletPhaseMeanVelocity;
    Umean   <value>;
    alpha   alpha.<sescondary phase name>;
    value   uniform <value>;
}

p_rgh

<boundayr name>
{
    type    zeroGradient;
}

k

Specification Method : K and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            turbulentIntensityInletOutletTKE;
    turbIntensity   uniform <value>;
    value           uniform <value>;
}

epsilon, omega

Specification Method : K and Epsilon

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

Specification Method : Intensity and Viscosity Ratio

<boundayr name>
{
    type            viscosityRatioInletOutletTDR;
    viscosityRatio  uniform <value>;
    value           uniform <value>;
}

nuTilda

Specification Method : Modified Turbulent Viscosity

<boundayr name>
{
    type        inletOutlet;
    inletValue  uniform <value>;
    value       uniform <value>;
}

Specification Method : Turbulent Viscosity Ratio

<boundayr name>
{
    type        viscosityRatioInletOutletNuTilda;
    inletValue  uniform <inlet value>;
    value       uniform <value>;
}

nut

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

Outflow

U, p_rgh, T, k, epsilon, omega, nuTilda

<boundayr name>
{
    type    zeroGradient;
}

Subsonic Outflow

U, p, T

<boundayr name>
{
    type    subsonicOutflow;
    pExit   <value>;
    value   uniform <value>;
}

k, epsilon, omega, nuTilda

<boundayr name>
{
    type    zeroGradient;
}

nut, alphat

<boundayr name>
{
    type    calculated;
    value   uniform <value>;
}

Supersonic Outflow

U, p_rgh, T, k, epsilon, omega, nuTilda

<boundayr name>
{
    type    zeroGradient;
}

Wall

U

No Slip

<boundayr name>
{
    type    fixedValue;
    value   uniform (0 0 0)
}

Slip

<boundayr name>
{
    type    slip;
}

Moving Wall

<boundayr name>
{
    type    movingWallVelocity;
    value   uniform (0 0 0)
}

Atmospheric Wall

<boundayr name>
{
    type    fixedValue;
    value   uniform (0 0 0)
}

Translational Moving Wall

<boundayr name>
{
    type    fixedValue;
    value   uniform (<Ux> <Uy> <Uz>)
}

Rotational Moving Wall

<boundayr name>
{
    type    rotatingWallVelocity;
    origin  (<x> <y> <z>);
    axis    (<x> <y> <z>);
    omega   <value>;
}

p_rgh

<boundayr name>
{
    type    fixedFluxPressure;
}

p of density based solver

<boundayr name>
{
    type    zeroGradient;
}

T

Adiabatic

<boundayr name>
{
    type    zeroGradient;
}

Constant Temperature

<boundayr name>
{
    type    fixedValue;
    value   uniform <value>;
}

Constant Heat Flux

<boundayr name>
{
    type        externalWallHeatFluxTemperature;
    mode        flux;
    q           uniform <value>;
    kappaMethod fluidThermo;
    value       uniform <value>;
}

Convection

<boundayr name>
{
    type            externalWallHeatFluxTemperature;
    mode            coefficient;
    h               uniform <value>;
    Ta              uniform <value>;
    kappaMethod     fluidThermo;
    value           uniform <value>;
    thicknessLayers (<value0> <value1> <...>);
    kappaLayers     (<value0> <value1> <...>);
}

k

<boundayr name>
{
    type    kqRWallFunction;
    value   uniform <value>;
}

epsilon

Standard Wall Function

<boundayr name>
{
    type    epsilonWallFunction;
    value   uniform <value>;
}

Two layer Wall Function

<boundayr name>
{
    type    epsilonBlendedWallFunction;
    value   uniform <value>;
}

Atmospheric Wall

<boundayr name>
{
    type    atmEpsilonWallFunction;
    z0      <value>;
    d       <value>;
    value   uniform <value>;
}

omega

<boundayr name>
{
    type        omegaBlendedWallFunction;
    blending    tanh;
    value       uniform <value>;
}

nuTilda

<boundayr name>
{
    type    zeroGradient;
}

nut

Standard Wall Function

<boundayr name>
{
    type    nutkWallFunction;
    value   uniform <value>;
}

Two layer Wall Function, SST k-omega model, Spalart-Allmaras model

<boundayr name>
{
    type    nutSpaldingWallFunction;
    value   uniform <value>;
}

Atmospheric Wall

<boundayr name>
{
    type    atmNutkWallFunction;
    z0      <value>;
    value   uniform <value>;
}

alphat

Adiabatic boundary condition

<boundayr name>
{
    type    compressible::alphatWallFunction;
    Prt     <value>;
    value   uniform <value>;
}

Constant temperature, Constant heat flux, Convection boundary condition

<boundayr name>
{
    type    compressible::alphatJayatillekeWallFunction;
    Prt     <value>;
    value   uniform <value>;
}

Thermo-Coupled Wall

U

<boundayr name>
{
    type    fixedValue;
    value   uniform (0 0 0);
}

p_rgh

<boundayr name>
{
    type    fixedFluxPressure;
}

T

<boundayr name>
{
    type        compressible::turbulentTemperatureRadCoupledMixed;
    Tnbr        T;
    kappaMethod fluidThermo;
    value       uniform <value>;
}

k

<boundayr name>
{
    type    kqRWallFunction;
    value   uniform <value>;
}

epsilon

Standard Wall Function

<boundayr name>
{
    type    epsilonWallFunction;
    value   uniform <value>;
}

Two layer Wall Function

<boundayr name>
{
    type    epsilonBlendedWallFunction;
    value   uniform <value>;
}

omega

<boundayr name>
{
    type        omegaBlendedWallFunction;
    blending    tanh;
    value       uniform <value>;
}

nuTilda

<boundayr name>
{
    type        zeroGradient;
}

nut

k-epsilon, Standard Wall Function

<boundayr name>
{
    type    nutkWallFunction;
    value   uniform <value>;
}

k-omega, Two-layer Wall Function, Spalart-Allmaras

<boundayr name>
{
    type    nutSpaldingWallFunction;
    value   uniform <value>;
}

alphat

<boundayr name>
{
    type    compressible::alphatJayatillekeWallFunction;
    value   uniform <value>;
}

Region Interface

U

<boundayr name>
{
    type    fixedValue;
    value   uniform (0 0 0);
}

p_rgh

<boundayr name>
{
    type    fixedFluxPressure;    
}

T

<boundayr name>
{
    type    compressible::turbulentTemperatureCoupledBaffleMixed;    
}

k

<boundayr name>
{
    type    kqRWallFunction;    
}

epsilon

standard wall function

<boundayr name>
{
    type    epsilonWallFunction;    
}

two layer wall function

<boundayr name>
{
    type    epsilonBlendedWallFunction;    
}

omega

<boundayr name>
{
    type    omegaBlendedWallFunction;    
}

nuTilda

<boundayr name>
{
    type    zeroGradient;    
}

nut

k-epsilon, standard wall function

<boundayr name>
{
    type    nutkWallFunction;    
}

two layer wall function, SST k-omega, Spalart-Allmaras

<boundayr name>
{
    type    nutSpaldingWallFunction;    
}

alphat

<boundayr name>
{
    type    compressible::alphatJayatillekeWallFunction;    
}

Empty

<boundayr name>
{
    type    empty;
}

Wedge

<boundayr name>
{
    type    wedge;
}

Symmetry

<boundayr name>
{
    type    symmetry;
}

Interface

<boundayr name>
{
    type    cyclicAMI;    
}

Cyclic

<boundayr name>
{
    type    cyclic;
}

Porous Jump

All fields except p_rgh

<boundayr name>
{
    type    cyclic;
}

p_rgh

<boundayr name>
{
    type        porousBafflePressure;
    patchType   cyclic;
    D           <value>;
    I           <value>;
    length      <value>;
    value       uniform <value>;
}

Fan

All fields except p_rgh

<boundayr name>
{
    type    cyclic;
}

p_rgh

<boundayr name>
{
    type        fan;
    patchType   cyclic;
    jumpTable   csvFile;
    jumpTableCoeffs
    {
      nHeaderLine       0;
      refColumn         0;
      componentColumns  (1);
      separator         ",";
      mergeSeparators   no;
      file              "<path and file name>";
    }
}