diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/0/N b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/0/N deleted file mode 100644 index 185a7387..00000000 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/0/N +++ /dev/null @@ -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; - } -} - - -// ************************************************************************* // diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/constant/couplingProperties b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/constant/couplingProperties index 98c3ee4a..230f7919 100644 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/constant/couplingProperties +++ b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/constant/couplingProperties @@ -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; diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/system/controlDict b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/system/controlDict index 1f7d0e4a..e575b004 100644 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/system/controlDict +++ b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model/CFD/system/controlDict @@ -106,6 +106,11 @@ functions ); } + moleFrac + { + type rhoReactionThermoMoleFractions; + } + /* Average-O2 { type fieldAverage; diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/0/N b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/0/N deleted file mode 100644 index 185a7387..00000000 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/0/N +++ /dev/null @@ -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; - } -} - - -// ************************************************************************* // diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/constant/couplingProperties b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/constant/couplingProperties index a135f6d0..c286cb4e 100644 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/constant/couplingProperties +++ b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/constant/couplingProperties @@ -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; diff --git a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/system/controlDict b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/system/controlDict index 579aa9ab..e0c9228f 100644 --- a/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/system/controlDict +++ b/tutorials/cfdemSolverRhoPimpleChem/Shrinking_particle_model_multispecies/CFD/system/controlDict @@ -106,6 +106,11 @@ functions rho ); } + + moleFrac + { + type rhoReactionThermoMoleFractions; + } } // ************************************************************************* //