See http://www.openfoam.org/mantisbt/view.php?id=2076 - .org is the file extension for emacs org-mode as well - .orig is more to the point (.org isn't always recognized as "original") - .original is too long, although more consistent with the convention of source code file naming Update script contributed by Bruno Santos
59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object p_rgh;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [1 -1 -2 0 0 0 0];
|
|
|
|
internalField uniform 101325;
|
|
|
|
boundaryField
|
|
{
|
|
//- Set patchGroups for constraint patches
|
|
#includeEtc "caseDicts/setConstraintTypes"
|
|
|
|
floor
|
|
{
|
|
type fixedFluxPressure;
|
|
gradient uniform 0;
|
|
value uniform 101325;
|
|
}
|
|
ceiling
|
|
{
|
|
type fixedFluxPressure;
|
|
gradient uniform 0;
|
|
value uniform 101325;
|
|
}
|
|
inlet
|
|
{
|
|
type fixedFluxPressure;
|
|
gradient uniform 0;
|
|
value uniform 101325;
|
|
}
|
|
outlet
|
|
{
|
|
type fixedValue;
|
|
value uniform 101325;
|
|
}
|
|
fixedWalls
|
|
{
|
|
type empty;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|