/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  11
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2  0 0 0 0];  
  
internalField   uniform 100000;  
  
boundaryField  
{  
INLET 
    {  
        type            zeroGradient; // 这里可以根据需要设置初始压力值，但通常对于速度入口，内部求解器会处理压力  
    }  
      
OUTLET
    {  
        type            fixedValue;
        value           uniform 100000;// 初始化为大气压  
    }  
      
WALL 
    {  
        type            zeroGradient;  
    }  
}  
// ************************************************************************* //
