Skip to content
Snippets Groups Projects
Commit e48b238c authored by sergio's avatar sergio
Browse files

ENH: Modifying eCont returning aCont form greyMeanAbsEmission and

wideBandAbsorptionEmission models and tutorials
parent fc2cb0ae
Branches
Tags
No related merge requests found
...@@ -284,24 +284,7 @@ Foam::radiation::greyMeanAbsorptionEmission::aCont(const label bandI) const ...@@ -284,24 +284,7 @@ Foam::radiation::greyMeanAbsorptionEmission::aCont(const label bandI) const
Foam::tmp<Foam::volScalarField> Foam::tmp<Foam::volScalarField>
Foam::radiation::greyMeanAbsorptionEmission::eCont(const label bandI) const Foam::radiation::greyMeanAbsorptionEmission::eCont(const label bandI) const
{ {
tmp<volScalarField> e return aCont(bandI);
(
new volScalarField
(
IOobject
(
"eCont" + name(bandI),
mesh().time().timeName(),
mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE
),
mesh(),
dimensionedScalar("e", dimless/dimLength, 0.0)
)
);
return e;
} }
......
...@@ -231,24 +231,7 @@ Foam::radiation::wideBandAbsorptionEmission::aCont(const label bandI) const ...@@ -231,24 +231,7 @@ Foam::radiation::wideBandAbsorptionEmission::aCont(const label bandI) const
Foam::tmp<Foam::volScalarField> Foam::tmp<Foam::volScalarField>
Foam::radiation::wideBandAbsorptionEmission::eCont(const label bandI) const Foam::radiation::wideBandAbsorptionEmission::eCont(const label bandI) const
{ {
tmp<volScalarField> e return aCont(bandI);
(
new volScalarField
(
IOobject
(
"e",
mesh().time().timeName(),
mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE
),
mesh(),
dimensionedScalar("e", dimless/dimLength, 0.0)
)
);
return e;
} }
......
...@@ -137,6 +137,61 @@ greyMeanAbsorptionEmissionCoeffs ...@@ -137,6 +137,61 @@ greyMeanAbsorptionEmissionCoeffs
); );
} }
O2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
N2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
} }
scatterModel constantScatter; scatterModel constantScatter;
......
...@@ -43,7 +43,7 @@ absorptionEmissionModel greyMeanAbsorptionEmission; ...@@ -43,7 +43,7 @@ absorptionEmissionModel greyMeanAbsorptionEmission;
constantAbsorptionEmissionCoeffs constantAbsorptionEmissionCoeffs
{ {
a a [ 0 -1 0 0 0 0 0 ] 0.01; a a [ 0 -1 0 0 0 0 0 ] 0.01;
e e [ 0 -1 0 0 0 0 0 ] 0; e e [ 0 -1 0 0 0 0 0 ] 0.01;
E E [ 1 -1 -3 0 0 0 0 ] 0; E E [ 1 -1 -3 0 0 0 0 ] 0;
} }
...@@ -134,6 +134,61 @@ greyMeanAbsorptionEmissionCoeffs ...@@ -134,6 +134,61 @@ greyMeanAbsorptionEmissionCoeffs
0 0
); );
} }
O2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
N2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
} }
scatterModel constantScatter; scatterModel constantScatter;
......
...@@ -135,6 +135,61 @@ greyMeanAbsorptionEmissionCoeffs ...@@ -135,6 +135,61 @@ greyMeanAbsorptionEmissionCoeffs
0 0
); );
} }
O2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
N2
{
Tcommon 300;
invTemp true;
Tlow 200;
Thigh 2500;
loTcoeffs
(
0
0
0
0
0
0
);
hiTcoeffs
(
0.1
0
0
0
0
0
);
}
} }
scatterModel constantScatter; scatterModel constantScatter;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment