Go to file
Will Bainbridge 79ad0f0613 ENH: semiPermeableBaffle: Added two new boundary conditions and a tutorial
Two boundary conditions for the modelling of semi-permeable baffles have
been added. These baffles are permeable to a number of species within
the flow, and are impermeable to others. The flux of a given species is
calculated as a constant multipled by the drop in mass fraction across
the baffle.

The species mass-fraction condition requires the transfer constant and
the name of the patch on the other side of the baffle:

boundaryField
{
    // ...

    membraneA
    {
        type            semiPermeableBaffleMassFraction;
        samplePatch     membranePipe;
        c               0.1;
        value           uniform 0;
    }
    membraneB
    {
        type            semiPermeableBaffleMassFraction;
        samplePatch     membraneSleeve;
        c               0.1;
        value           uniform 1;
    }
}

If the value of c is omitted, or set to zero, then the patch is
considered impermeable to the species in question. The samplePatch entry
can also be omitted in this case.

The velocity condition does not require any special input:

boundaryField
{
    // ...

    membraneA
    {
        type            semiPermeableBaffleVelocity;
        value           uniform (0 0 0);
    }
    membraneB
    {
        type            semiPermeableBaffleVelocity;
        value           uniform (0 0 0);
    }
}

These two boundary conditions must be used in conjunction, and the
mass-fraction condition must be applied to all species in the
simulation. The calculation will fail with an error message if either is
used in isolation.

A tutorial, combustion/reactingFoam/RAS/membrane, has been added which
demonstrates this transfer process.

This work was done with support from Stefan Lipp, at BASF.
2017-10-19 10:00:36 +01:00
applications ENH: mergePolyMesh: Added check for zero patches in the master mesh 2017-10-18 16:24:08 +01:00
bin ENH: additional convenience for mpirunDebug 2018-05-02 11:49:33 +02:00
doc STYLE: note deprecated status for NamedEnum 2018-01-09 16:06:40 +01:00
etc ENH: foamyHexMesh: Set no refinement iterations in global dictionary 2017-09-15 15:04:16 +01:00
modules SUBMODULE: minor updates for cfmesh 2018-04-26 10:45:52 +02:00
src ENH: semiPermeableBaffle: Added two new boundary conditions and a tutorial 2017-10-19 10:00:36 +01:00
tutorials ENH: semiPermeableBaffle: Added two new boundary conditions and a tutorial 2017-10-19 10:00:36 +01:00
wmake ENH: improvements in the surface sampling infrastructure 2018-05-07 11:29:00 +02:00
.gitignore ENH: gitignore: Added temporary vi/vim files to the ignore list 2017-10-05 09:39:48 +01:00
.gitmodules SUBMODULE: catalyst function object 2018-04-03 19:07:35 +02:00
Allwmake ENH: improve handling of ThirdParty packages 2018-04-24 14:51:19 +02:00
BuildIssues.txt STYLE: update BuildIssues with CGAL mpfr-none problem (issue #674) 2017-12-21 10:38:57 +01:00
COPYING Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
README.md STYLE: Updated README 2017-12-30 20:04:26 +00:00

About OpenFOAM

OpenFOAM is a free, open source CFD software released and developed primarily by OpenCFD Ltd since 2004. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics. More...

OpenFOAM is professionally released every six months to include customer sponsored developments and contributions from the community - individual and group contributors, fork re-integrations including from FOAM-extend and OpenFOAM Foundation Ltd - in this Official Release sanctioned by the OpenFOAM Worldwide Trademark Owner aiming towards one OpenFOAM.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.

OpenFOAM Trademark

OpenCFD Ltd grants use of its OpenFOAM trademark by Third Parties on a licence basis. ESI Group and OpenFOAM Foundation Ltd are currently permitted to use the Name and agreed Domain Name. For information on trademark use, please refer to the trademark policy guidelines.

Please contact OpenCFD if you have any questions on the use of the OpenFOAM trademark.

Violations of the Trademark are continuously monitored, and will be duly prosecuted.

Useful Links

Copyright 2016-2017 OpenCFD Ltd