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.
Showing
- src/Allwmake 1 addition, 0 deletionssrc/Allwmake
- src/semiPermeableBaffle/Make/files 4 additions, 0 deletionssrc/semiPermeableBaffle/Make/files
- src/semiPermeableBaffle/Make/options 17 additions, 0 deletionssrc/semiPermeableBaffle/Make/options
- src/semiPermeableBaffle/derivedFvPatchFields/semiPermeableBaffleMassFraction/semiPermeableBaffleMassFractionFvPatchScalarField.C 190 additions, 0 deletions...ction/semiPermeableBaffleMassFractionFvPatchScalarField.C
- src/semiPermeableBaffle/derivedFvPatchFields/semiPermeableBaffleMassFraction/semiPermeableBaffleMassFractionFvPatchScalarField.H 202 additions, 0 deletions...ction/semiPermeableBaffleMassFractionFvPatchScalarField.H
- src/semiPermeableBaffle/derivedFvPatchFields/semiPermeableBaffleVelocity/semiPermeableBaffleVelocityFvPatchVectorField.C 187 additions, 0 deletions...eVelocity/semiPermeableBaffleVelocityFvPatchVectorField.C
- src/semiPermeableBaffle/derivedFvPatchFields/semiPermeableBaffleVelocity/semiPermeableBaffleVelocityFvPatchVectorField.H 182 additions, 0 deletions...eVelocity/semiPermeableBaffleVelocityFvPatchVectorField.H
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/CH4 69 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/CH4
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/N2 65 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/N2
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/O2 65 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/O2
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/T 42 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/T
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/U 56 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/U
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/Ydefault 52 additions, 0 deletions...ials/combustion/reactingFoam/RAS/membrane/0.orig/Ydefault
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/alphat 42 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/alphat
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/epsilon 44 additions, 0 deletions...rials/combustion/reactingFoam/RAS/membrane/0.orig/epsilon
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/include 33 additions, 0 deletions...rials/combustion/reactingFoam/RAS/membrane/0.orig/include
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/k 44 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/k
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/nut 42 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/nut
- tutorials/combustion/reactingFoam/RAS/membrane/0.orig/p 40 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/0.orig/p
- tutorials/combustion/reactingFoam/RAS/membrane/Allclean 7 additions, 0 deletionstutorials/combustion/reactingFoam/RAS/membrane/Allclean
Please register or sign in to comment