/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile {
  version     2.0;
  format      ascii;
  class       volScalarField;
  location    "0/porousMat";
  object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 1.01325e5;

boundaryField {
  top
  {
    type            boundaryMapping;
    mappingType "2D-axi_pressureMap";
    mappingFileName "constant/porousMat/BoundaryConditions";
    mappingFields ((p  "1"));
    fluxFactorNormal        (0 1 0);
    fluxFactorCenter        (0.0 0.0254 0.0);
    fluxFactorProjection    yes;
    fluxFactorMapFileName "constant/porousMat/fluxFactorMap";
    dynamicPressureFieldName p_dyn;
    // direction of the recession when the recession speed is read from file or when the direction of the mesh motion is imposed to conserve some topology properties (case of large deformations).
    pointMotionDirection    (0 -1 0);
    // Mesh motion direction is projected on the direction of pointMotionDirection when the value of the fluxFactor is higher than the set Threshold,
    //otherwise motion is applied directly along the face normal. This is useful to preserve the topology for large and strongly distorted deformations.
    fluxFactorThreshold     fluxFactorThreshold [ 0 0 0 0 0 0 0 ] 0.97;

    value           uniform 1.01325e5;
  }
  sides
  {
    type            zeroGradient;
  }
  bottom
  {
    type            zeroGradient;
  }
  wedge_neg
  {
    type            wedge;
  }
  wedge_pos
  {
    type            wedge;
  }
  axis
  {
    type            empty;
  }
}


// ************************************************************************* //
