Adapted test cases to usage of molar fractions.

This commit is contained in:
Thomas Lichtenegger
2017-07-06 14:39:27 +02:00
parent ccd45546f7
commit 1a5f0f3cdf
6 changed files with 14 additions and 104 deletions

View File

@ -1,50 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object N;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
top
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
side-walls
{
type zeroGradient;
}
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -107,8 +107,8 @@ speciesProps
densityFieldName "rho";
partRhoName "partRho";
voidfractionFieldName "voidfraction";
totalMoleFieldName "N";
partMoleName "partN";
totalMoleFieldName "molarConc";
partMoleName "partMolarConc";
pressureFieldName "p";
partPName "partP";
Nevery 10;

View File

@ -106,6 +106,11 @@ functions
);
}
moleFrac
{
type rhoReactionThermoMoleFractions;
}
/* Average-O2
{
type fieldAverage;

View File

@ -1,50 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object N;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
top
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
side-walls
{
type zeroGradient;
}
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -107,8 +107,8 @@ speciesProps
densityFieldName "rho";
partRhoName "partRho";
voidfractionFieldName "voidfraction";
totalMoleFieldName "N";
partMoleName "partN";
totalMoleFieldName "molarConc";
partMoleName "partMolarConc";
pressureFieldName "p";
partPName "partP";
Nevery 1;

View File

@ -106,6 +106,11 @@ functions
rho
);
}
moleFrac
{
type rhoReactionThermoMoleFractions;
}
}
// ************************************************************************* //