openfoam/tutorials/incompressible/lumpedPointMotion/bridge/steady/0.orig/p
Mark Olesen 7db868b509 TUT: bridge using external lumped point motion (#1341)
- see its accompanying README for additional setup instructions
2020-06-17 15:16:27 +02:00

54 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include/initialConditions"
dimensions [0 2 -2 0 0 0 0];
internalField uniform $pressure;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
#include "include/environ"
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value $internalField;
}
sky
{
type zeroGradient;
}
ground
{
type zeroGradient;
}
"(?i).*bridge.*"
{
type zeroGradient;
}
}
// ************************************************************************* //