Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop

This commit is contained in:
sergio
2017-09-29 10:16:01 -07:00
147 changed files with 2538 additions and 1074 deletions

View File

@ -45,6 +45,7 @@ Description
#include "fvCFD.H"
#include "singlePhaseTransportModel.H"
#include "turbulentTransportModel.H"
#include "IFstream.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType
{
chemistrySolver noChemistrySolver;
chemistryThermo psi;
chemistryThermo rho;
}
chemistry off;

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<psiChemistryCombustion>;
combustionModel PaSR<rhoChemistryCombustion>;
active false;

View File

@ -17,7 +17,7 @@ FoamFile
thermoType
{
type hePsiThermo;
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;

View File

@ -15,21 +15,20 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 1 -1 0 0 0 0 ];
dimensions [0 1 -1 0 0 0 0];
internalField uniform ( 0 0 0 );
internalField uniform (0 0 0);
boundaryField
{
walls
{
type fixedValue;
value uniform ( 0 0 0 );
type noSlip;
}
inlet
{
type fixedValue;
value uniform ( 5 0 0 );
value uniform (5 0 0);
}
outlet
{

View File

@ -10,12 +10,11 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "1";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 1 -1 -2 0 0 0 0 ];
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
@ -23,33 +22,42 @@ boundaryField
{
walls
{
type zeroGradient;
type calculated;
value $internalField;
}
inlet
{
type zeroGradient;
type calculated;
value $internalField;
}
outlet
{
type fixedValue;
value uniform 100000;
type calculated;
value $internalField;
}
cycLeft_half0
{
type cyclic;
}
cycRight_half0
{
type cyclic;
}
frontAndBack
{
type empty;
}
cycLeft_half1
{
type cyclic;
}
cycRight_half1
{
type cyclic;

View File

@ -0,0 +1,66 @@
/*--------------------------------*- 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 volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000;
boundaryField
{
walls
{
type fixedFluxPressure;
}
inlet
{
type fixedFluxPressure;
}
outlet
{
type prghPressure;
p uniform 100000;
}
cycLeft_half0
{
type cyclic;
}
cycRight_half0
{
type cyclic;
}
frontAndBack
{
type empty;
}
cycLeft_half1
{
type cyclic;
}
cycRight_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -15,15 +15,12 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
combustionModel PaSR<rhoChemistryCombustion>;
combustionModel laminar<rhoChemistryCombustion>;
active false;
PaSRCoeffs
{
Cmix 1.0;
turbulentReaction off;
}
laminarCoeffs
{}
// ************************************************************************* //

View File

@ -36,16 +36,11 @@ foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
liquids
{
H2O
{
defaultCoeffs yes;
}
H2O;
}
solids
{
// none
}
{}
inertSpecie N2;

View File

@ -47,23 +47,17 @@ solvers
relTol 0;
}
p
p_rgh
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
p_rghFinal
{
$p;
$p_rgh;
tolerance 1e-06;
relTol 0;
}
@ -99,9 +93,6 @@ PIMPLE
relaxationFactors
{
fields
{
}
equations
{
".*Final" 1;