CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   solving field flow steadystate& incompress in reactingfoam? (https://www.cfd-online.com/Forums/openfoam-solving/217198-solving-field-flow-steadystate-incompress-reactingfoam.html)

zahr_a May 3, 2019 02:40

solving field flow steadystate& incompress in reactingfoam?
 
Dear
I want to solve a laminar & incompressible &steady stete flow in openfoam

I use reactinfoam (first without combustion).but it will be very long time( two day...)
Although when i use bouyantsimple or boyantpimple, it takes half an hour!!
can someone say why?
any qustion
Is reactingfoam suitable solver for catalyst reacting?
my geometry is a T shape with two inlet.


/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object chemistryProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

chemistryType
{
solver EulerImplicit;
}

chemistry off;

initialChemicalTimeStep 1e-07;

EulerImplicitCoeffs
{
cTauChem 1;
equilibriumRateLimiter off;
}

odeCoeffs
{
solver Rosenbrock43;
absTol 1e-8;
relTol 0.01;
}

// ************************************************** *********************** //


FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object combustionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

combustionModel laminar;

active false;

laminarCoeffs
{
}
species
(
O2
H2O
CH4
CO2
N2
);

reactions
{
methaneReaction
{
type irreversibleArrheniusReaction;
reaction "CH4 + 2O2 = CO2 + 2H2O";
A 5.2e16;
beta 0;
Ta 14906;
}
}


FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type hePsiThermo;
mixture reactingMixture;
transport const;
thermo hConst;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

inertSpecie N2;

chemistryReader foamChemistryReader;

foamChemistryFile "$FOAM_CASE/constant/reactions";

foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
*******controlDict******
application reactingFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 0.5;

deltaT 0.1;

writeControl adjustableRunTime;

writeInterval 0.000001;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

adjustTimeStep no;

maxCo 1;


:confused::confused::confused:


All times are GMT -4. The time now is 20:56.