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
63 lines
1.7 KiB
C++
63 lines
1.7 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 volVectorField;
|
|
location "0";
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
outer
|
|
{
|
|
type uniformInletOutlet;
|
|
uniformInletValue (0 0 0);
|
|
value uniform (0 0 0);
|
|
}
|
|
ground
|
|
{
|
|
type noSlip;
|
|
}
|
|
blockedFaces
|
|
{
|
|
type noSlip;
|
|
}
|
|
baffleWall
|
|
{
|
|
type activePressureForceBaffleVelocity;
|
|
value uniform (0 0 0);
|
|
cyclicPatch baffleCyclic_half0;
|
|
orientation 1;
|
|
openingTime 0.01;
|
|
maxOpenFractionDelta 0.1;
|
|
openFraction 0;
|
|
p p;
|
|
minThresholdValue 8000;
|
|
forceBased 0;
|
|
}
|
|
baffleCyclic_half0
|
|
{
|
|
type cyclic;
|
|
}
|
|
baffleCyclic_half1
|
|
{
|
|
type cyclic;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|