Multi-species, mass-transfer and reaction support and multi-phase structure provided by William Bainbridge. Integration of the latest p-U and face-p_U algorithms with William's multi-phase structure is not quite complete due to design incompatibilities which needs further development. However the integration of the functionality is complete. The results of the tutorials are not exactly the same for the twoPhaseEulerFoam and reactingTwoPhaseEulerFoam solvers but are very similar. Further analysis in needed to ensure these differences are physical or to resolve them; in the meantime the twoPhaseEulerFoam solver will be maintained.
82 lines
2.1 KiB
C++
82 lines
2.1 KiB
C++
/*--------------------------------*- 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 dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
"div\(phi,alpha.*\)" Gauss vanLeer;
|
|
"div\(phir,alpha.*\)" Gauss vanLeer;
|
|
|
|
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
|
|
|
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
|
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
|
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
|
|
|
div(alphaRhoPhi.particles,Theta.particles) Gauss limitedLinear 1;
|
|
|
|
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
|
|
|
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
|
|
|
div((((thermo:rho.particles*nut.particles)*dev2(T(grad(U.particles))))+(((thermo:rho.particles*lambda.particles)*div(phi.particles))*I))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear uncorrected;
|
|
bounded Gauss linear uncorrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default uncorrected;
|
|
bounded uncorrected;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
p_rgh ;
|
|
alpha.particles;
|
|
}
|
|
|
|
wallDist
|
|
{
|
|
method meshWave;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|