radiation: Changes thermal solvers to select radiation via fvOptions
This simplifies and standardises the handling of radiation in all solvers which
include an energy equation, all of which now support radiation via the
'radiation' fvOption which is selected in the constant/fvOption or
constant/<region>/fvOption file:
radiation
{
type radiation;
libs ("libradiationModels.so");
}
The radiation model, parameters, settings and sub-models are specified in the
'radiationProperties' file as before.
This commit is contained in:
@ -14,7 +14,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
||||||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
||||||
@ -37,7 +36,6 @@ EXE_LIBS = \
|
|||||||
-lchemistryModel \
|
-lchemistryModel \
|
||||||
-lcombustionModels \
|
-lcombustionModels \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lradiationModels \
|
|
||||||
-lsurfaceFilmModels \
|
-lsurfaceFilmModels \
|
||||||
-lsurfaceFilmDerivedFvPatchFields \
|
-lsurfaceFilmDerivedFvPatchFields \
|
||||||
-llagrangianParcel \
|
-llagrangianParcel \
|
||||||
|
|||||||
@ -9,7 +9,6 @@ tmp<fv::convectionScheme<scalar>> mvConvection
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
{
|
{
|
||||||
radiation->correct();
|
|
||||||
combustion->correct();
|
combustion->correct();
|
||||||
|
|
||||||
forAll(Y, i)
|
forAll(Y, i)
|
||||||
@ -61,7 +60,6 @@ tmp<fv::convectionScheme<scalar>> mvConvection
|
|||||||
+ thermophysicalTransport->divq(he)
|
+ thermophysicalTransport->divq(he)
|
||||||
==
|
==
|
||||||
combustion->Qdot()
|
combustion->Qdot()
|
||||||
+ radiation->Sh(thermo, he)
|
|
||||||
+ parcels.Sh(he)
|
+ parcels.Sh(he)
|
||||||
+ surfaceFilm.Sh()
|
+ surfaceFilm.Sh()
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
|
|||||||
@ -134,5 +134,5 @@ volScalarField K("K", 0.5*magSqr(U));
|
|||||||
|
|
||||||
#include "createClouds.H"
|
#include "createClouds.H"
|
||||||
#include "createSurfaceFilmModel.H"
|
#include "createSurfaceFilmModel.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -35,7 +35,6 @@ Description
|
|||||||
#include "fluidReactionThermophysicalTransportModel.H"
|
#include "fluidReactionThermophysicalTransportModel.H"
|
||||||
#include "parcelCloudList.H"
|
#include "parcelCloudList.H"
|
||||||
#include "surfaceFilmModel.H"
|
#include "surfaceFilmModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "SLGThermo.H"
|
#include "SLGThermo.H"
|
||||||
#include "fluidReactionThermo.H"
|
#include "fluidReactionThermo.H"
|
||||||
#include "combustionModel.H"
|
#include "combustionModel.H"
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
+ thermophysicalTransport->divq(he)
|
+ thermophysicalTransport->divq(he)
|
||||||
==
|
==
|
||||||
rho*(U&g)
|
rho*(U&g)
|
||||||
+ radiation->Sh(thermo, he)
|
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -31,5 +30,4 @@
|
|||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation->correct();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ EXE_INC = \
|
|||||||
-I. \
|
-I. \
|
||||||
-I../../compressible/rhoPimpleFoam \
|
-I../../compressible/rhoPimpleFoam \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
|
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
|
||||||
@ -14,7 +13,6 @@ EXE_INC = \
|
|||||||
|
|
||||||
EXE_LIBS = \
|
EXE_LIBS = \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lradiationModels \
|
|
||||||
-lspecie \
|
-lspecie \
|
||||||
-lmomentumTransportModels \
|
-lmomentumTransportModels \
|
||||||
-lfluidThermoMomentumTransportModels \
|
-lfluidThermoMomentumTransportModels \
|
||||||
|
|||||||
@ -39,7 +39,6 @@ Description
|
|||||||
#include "fluidThermo.H"
|
#include "fluidThermo.H"
|
||||||
#include "fluidThermoMomentumTransportModel.H"
|
#include "fluidThermoMomentumTransportModel.H"
|
||||||
#include "fluidThermophysicalTransportModel.H"
|
#include "fluidThermophysicalTransportModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
#include "pressureControl.H"
|
#include "pressureControl.H"
|
||||||
#include "CorrectPhi.H"
|
#include "CorrectPhi.H"
|
||||||
|
|||||||
@ -109,5 +109,5 @@ volScalarField K("K", 0.5*magSqr(U));
|
|||||||
dimensionedScalar initialMass = fvc::domainIntegrate(rho);
|
dimensionedScalar initialMass = fvc::domainIntegrate(rho);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -12,7 +12,6 @@
|
|||||||
+ thermophysicalTransport->divq(he)
|
+ thermophysicalTransport->divq(he)
|
||||||
==
|
==
|
||||||
rho*(U&g)
|
rho*(U&g)
|
||||||
+ radiation->Sh(thermo, he)
|
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -25,5 +24,4 @@
|
|||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation->correct();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/sampling/lnInclude \
|
-I$(LIB_SRC)/sampling/lnInclude \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude
|
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude
|
||||||
@ -17,7 +16,6 @@ EXE_LIBS = \
|
|||||||
-lthermophysicalTransportModels \
|
-lthermophysicalTransportModels \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lspecie \
|
-lspecie \
|
||||||
-lradiationModels \
|
|
||||||
-lmomentumTransportModels \
|
-lmomentumTransportModels \
|
||||||
-lfluidThermoMomentumTransportModels \
|
-lfluidThermoMomentumTransportModels \
|
||||||
-lmeshTools
|
-lmeshTools
|
||||||
|
|||||||
@ -33,7 +33,6 @@ Description
|
|||||||
#include "fvCFD.H"
|
#include "fvCFD.H"
|
||||||
#include "fluidThermoMomentumTransportModel.H"
|
#include "fluidThermoMomentumTransportModel.H"
|
||||||
#include "fluidThermophysicalTransportModel.H"
|
#include "fluidThermophysicalTransportModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "simpleControl.H"
|
#include "simpleControl.H"
|
||||||
#include "pressureControl.H"
|
#include "pressureControl.H"
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
|
|||||||
@ -91,5 +91,5 @@ mesh.setFluxRequired(p_rgh.name());
|
|||||||
dimensionedScalar initialMass = fvc::domainIntegrate(rho);
|
dimensionedScalar initialMass = fvc::domainIntegrate(rho);
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -20,7 +20,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
|
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
|
-I$(LIB_SRC)/ThermophysicalTransportModels/fluidReactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude
|
||||||
|
|
||||||
|
|
||||||
@ -38,7 +37,6 @@ EXE_LIBS = \
|
|||||||
-lfluidReactionThermophysicalTransportModels \
|
-lfluidReactionThermophysicalTransportModels \
|
||||||
-lmeshTools \
|
-lmeshTools \
|
||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
-lradiationModels \
|
|
||||||
-lfvOptions \
|
-lfvOptions \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lsampling
|
-lsampling
|
||||||
|
|||||||
@ -41,7 +41,6 @@ Description
|
|||||||
#include "compressibleCourantNo.H"
|
#include "compressibleCourantNo.H"
|
||||||
#include "solidRegionDiffNo.H"
|
#include "solidRegionDiffNo.H"
|
||||||
#include "solidThermo.H"
|
#include "solidThermo.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "coordinateSystem.H"
|
#include "coordinateSystem.H"
|
||||||
#include "pimpleMultiRegionControl.H"
|
#include "pimpleMultiRegionControl.H"
|
||||||
|
|||||||
@ -23,7 +23,6 @@
|
|||||||
+ thermophysicalTransport.divq(he)
|
+ thermophysicalTransport.divq(he)
|
||||||
==
|
==
|
||||||
rho*(U&g)
|
rho*(U&g)
|
||||||
+ radiation.Sh(thermo, he)
|
|
||||||
+ reaction.Qdot()
|
+ reaction.Qdot()
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
);
|
);
|
||||||
@ -37,7 +36,6 @@
|
|||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation.correct();
|
|
||||||
|
|
||||||
Info<< "Min/max T:" << min(thermo.T()).value() << ' '
|
Info<< "Min/max T:" << min(thermo.T()).value() << ' '
|
||||||
<< max(thermo.T()).value() << endl;
|
<< max(thermo.T()).value() << endl;
|
||||||
|
|||||||
@ -14,7 +14,6 @@ PtrList<fluidReactionThermophysicalTransportModel>
|
|||||||
thermophysicalTransportFluid(fluidRegions.size());
|
thermophysicalTransportFluid(fluidRegions.size());
|
||||||
PtrList<combustionModel> reactionFluid(fluidRegions.size());
|
PtrList<combustionModel> reactionFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> p_rghFluid(fluidRegions.size());
|
PtrList<volScalarField> p_rghFluid(fluidRegions.size());
|
||||||
PtrList<radiationModel> radiationFluid(fluidRegions.size());
|
|
||||||
PtrList<volScalarField> KFluid(fluidRegions.size());
|
PtrList<volScalarField> KFluid(fluidRegions.size());
|
||||||
PtrList<volScalarField> dpdtFluid(fluidRegions.size());
|
PtrList<volScalarField> dpdtFluid(fluidRegions.size());
|
||||||
PtrList<multivariateSurfaceInterpolationScheme<scalar>::fieldTable>
|
PtrList<multivariateSurfaceInterpolationScheme<scalar>::fieldTable>
|
||||||
@ -219,13 +218,6 @@ forAll(fluidRegions, i)
|
|||||||
|
|
||||||
fluidRegions[i].setFluxRequired(p_rghFluid[i].name());
|
fluidRegions[i].setFluxRequired(p_rghFluid[i].name());
|
||||||
|
|
||||||
Info<< " Adding to radiationFluid\n" << endl;
|
|
||||||
radiationFluid.set
|
|
||||||
(
|
|
||||||
i,
|
|
||||||
radiationModel::New(thermoFluid[i].T())
|
|
||||||
);
|
|
||||||
|
|
||||||
initialMassFluid[i] = fvc::domainIntegrate(rhoFluid[i]).value();
|
initialMassFluid[i] = fvc::domainIntegrate(rhoFluid[i]).value();
|
||||||
|
|
||||||
Info<< " Adding to KFluid\n" << endl;
|
Info<< " Adding to KFluid\n" << endl;
|
||||||
|
|||||||
@ -32,11 +32,11 @@
|
|||||||
multivariateSurfaceInterpolationScheme<scalar>::fieldTable& fields =
|
multivariateSurfaceInterpolationScheme<scalar>::fieldTable& fields =
|
||||||
fieldsFluid[i];
|
fieldsFluid[i];
|
||||||
|
|
||||||
radiationModel& radiation = radiationFluid[i];
|
|
||||||
|
|
||||||
IOMRFZoneList& MRF = MRFfluid[i];
|
IOMRFZoneList& MRF = MRFfluid[i];
|
||||||
const fv::options& fvOptions = fvOptionsFluid[i];
|
const fv::options& fvOptions = fvOptionsFluid[i];
|
||||||
|
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|
||||||
const dimensionedScalar initialMass
|
const dimensionedScalar initialMass
|
||||||
(
|
(
|
||||||
"initialMass",
|
"initialMass",
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Initialise solid field pointer lists
|
// Initialise solid field pointer lists
|
||||||
PtrList<solidThermo> thermoSolid(solidRegions.size());
|
PtrList<solidThermo> thermoSolid(solidRegions.size());
|
||||||
PtrList<radiationModel> radiationSolid(solidRegions.size());
|
|
||||||
PtrList<fv::options> fvOptionsSolid(solidRegions.size());
|
PtrList<fv::options> fvOptionsSolid(solidRegions.size());
|
||||||
|
|
||||||
// Populate solid field pointer lists
|
// Populate solid field pointer lists
|
||||||
@ -12,9 +11,6 @@ forAll(solidRegions, i)
|
|||||||
Info<< " Adding to thermoSolid\n" << endl;
|
Info<< " Adding to thermoSolid\n" << endl;
|
||||||
thermoSolid.set(i, solidThermo::New(solidRegions[i]));
|
thermoSolid.set(i, solidThermo::New(solidRegions[i]));
|
||||||
|
|
||||||
Info<< " Adding to radiationSolid\n" << endl;
|
|
||||||
radiationSolid.set(i, radiationModel::New(thermoSolid[i].T()));
|
|
||||||
|
|
||||||
Info<< " Adding to fvOptionsSolid\n" << endl;
|
Info<< " Adding to fvOptionsSolid\n" << endl;
|
||||||
fvOptionsSolid.set
|
fvOptionsSolid.set
|
||||||
(
|
(
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
const fvMesh& mesh = solidRegions[i];
|
||||||
|
|
||||||
solidThermo& thermo = thermoSolid[i];
|
solidThermo& thermo = thermoSolid[i];
|
||||||
|
|
||||||
tmp<volScalarField> trho = thermo.rho();
|
tmp<volScalarField> trho = thermo.rho();
|
||||||
@ -7,4 +9,6 @@ volScalarField& e = thermo.he();
|
|||||||
|
|
||||||
const fv::options& fvOptions = fvOptionsSolid[i];
|
const fv::options& fvOptions = fvOptionsSolid[i];
|
||||||
|
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|
||||||
solidNoLoopControl& pimple = pimples.solid(i);
|
solidNoLoopControl& pimple = pimples.solid(i);
|
||||||
|
|||||||
@ -17,8 +17,7 @@
|
|||||||
)
|
)
|
||||||
+ thermophysicalTransport->divq(he)
|
+ thermophysicalTransport->divq(he)
|
||||||
==
|
==
|
||||||
radiation->Sh(thermo, he)
|
fvOptions(rho, he)
|
||||||
+ fvOptions(rho, he)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
EEqn.relax();
|
EEqn.relax();
|
||||||
@ -30,5 +29,4 @@
|
|||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation->correct();
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/sampling/lnInclude \
|
-I$(LIB_SRC)/sampling/lnInclude \
|
||||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude
|
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude
|
||||||
@ -14,7 +13,6 @@ EXE_LIBS = \
|
|||||||
-lmeshTools \
|
-lmeshTools \
|
||||||
-lfvOptions \
|
-lfvOptions \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lradiationModels \
|
|
||||||
-lspecie \
|
-lspecie \
|
||||||
-lmomentumTransportModels \
|
-lmomentumTransportModels \
|
||||||
-lfluidThermoMomentumTransportModels \
|
-lfluidThermoMomentumTransportModels \
|
||||||
|
|||||||
@ -69,5 +69,5 @@ volScalarField dpdt
|
|||||||
Info<< "Creating field kinetic energy K\n" << endl;
|
Info<< "Creating field kinetic energy K\n" << endl;
|
||||||
volScalarField K("K", 0.5*magSqr(U));
|
volScalarField K("K", 0.5*magSqr(U));
|
||||||
|
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -34,7 +34,6 @@ Description
|
|||||||
#include "fluidThermoMomentumTransportModel.H"
|
#include "fluidThermoMomentumTransportModel.H"
|
||||||
#include "fluidThermophysicalTransportModel.H"
|
#include "fluidThermophysicalTransportModel.H"
|
||||||
#include "LESModel.H"
|
#include "LESModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "simpleControl.H"
|
#include "simpleControl.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
|||||||
@ -5,7 +5,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/transportModels/lnInclude \
|
-I$(LIB_SRC)/transportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
|
||||||
|
|||||||
@ -25,7 +25,6 @@
|
|||||||
rho*(U&g)
|
rho*(U&g)
|
||||||
+ clouds.Sh(he)
|
+ clouds.Sh(he)
|
||||||
+ surfaceFilm.Sh()
|
+ surfaceFilm.Sh()
|
||||||
+ radiation->Sh(thermo, he)
|
|
||||||
+ combustion->Qdot()
|
+ combustion->Qdot()
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
);
|
);
|
||||||
@ -39,7 +38,6 @@
|
|||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
|
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation->correct();
|
|
||||||
|
|
||||||
Info<< "T gas min/max = " << min(T).value() << ", "
|
Info<< "T gas min/max = " << min(T).value() << ", "
|
||||||
<< max(T).value() << endl;
|
<< max(T).value() << endl;
|
||||||
|
|||||||
@ -15,7 +15,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
||||||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
||||||
@ -39,7 +38,6 @@ EXE_LIBS = \
|
|||||||
-lSLGThermo \
|
-lSLGThermo \
|
||||||
-lchemistryModel \
|
-lchemistryModel \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lradiationModels \
|
|
||||||
-lsurfaceFilmModels \
|
-lsurfaceFilmModels \
|
||||||
-lsurfaceFilmDerivedFvPatchFields \
|
-lsurfaceFilmDerivedFvPatchFields \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
|
|||||||
@ -16,7 +16,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
||||||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
||||||
@ -40,7 +39,6 @@ EXE_LIBS = \
|
|||||||
-lSLGThermo \
|
-lSLGThermo \
|
||||||
-lchemistryModel \
|
-lchemistryModel \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lradiationModels \
|
|
||||||
-lsurfaceFilmModels \
|
-lsurfaceFilmModels \
|
||||||
-lsurfaceFilmDerivedFvPatchFields \
|
-lsurfaceFilmDerivedFvPatchFields \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
|
|||||||
@ -37,7 +37,6 @@ Description
|
|||||||
#include "parcelCloudList.H"
|
#include "parcelCloudList.H"
|
||||||
#include "surfaceFilmModel.H"
|
#include "surfaceFilmModel.H"
|
||||||
#include "combustionModel.H"
|
#include "combustionModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "SLGThermo.H"
|
#include "SLGThermo.H"
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
|||||||
@ -125,7 +125,7 @@ forAll(Y, i)
|
|||||||
fields.add(thermo.he());
|
fields.add(thermo.he());
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createClouds.H"
|
#include "createClouds.H"
|
||||||
#include "createSurfaceFilmModel.H"
|
#include "createSurfaceFilmModel.H"
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -106,7 +106,7 @@ forAll(Y, i)
|
|||||||
fields.add(thermo.he());
|
fields.add(thermo.he());
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createClouds.H"
|
#include "createClouds.H"
|
||||||
#include "createSurfaceFilmModel.H"
|
#include "createSurfaceFilmModel.H"
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -16,7 +16,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
||||||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
||||||
@ -41,7 +40,6 @@ EXE_LIBS = \
|
|||||||
-lSLGThermo \
|
-lSLGThermo \
|
||||||
-lchemistryModel \
|
-lchemistryModel \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lradiationModels \
|
|
||||||
-lsurfaceFilmModels \
|
-lsurfaceFilmModels \
|
||||||
-lsurfaceFilmDerivedFvPatchFields \
|
-lsurfaceFilmDerivedFvPatchFields \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
|
|||||||
@ -37,7 +37,6 @@ Description
|
|||||||
#include "parcelCloudList.H"
|
#include "parcelCloudList.H"
|
||||||
#include "surfaceFilmModel.H"
|
#include "surfaceFilmModel.H"
|
||||||
#include "combustionModel.H"
|
#include "combustionModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "SLGThermo.H"
|
#include "SLGThermo.H"
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
|||||||
@ -37,7 +37,6 @@ Description
|
|||||||
#include "parcelCloudList.H"
|
#include "parcelCloudList.H"
|
||||||
#include "surfaceFilmModel.H"
|
#include "surfaceFilmModel.H"
|
||||||
#include "combustionModel.H"
|
#include "combustionModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "SLGThermo.H"
|
#include "SLGThermo.H"
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "pimpleControl.H"
|
#include "pimpleControl.H"
|
||||||
|
|||||||
@ -4,7 +4,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
|
||||||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||||
@ -19,7 +18,6 @@ EXE_LIBS = \
|
|||||||
-llagrangianParcelTurbulence \
|
-llagrangianParcelTurbulence \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lspecie \
|
-lspecie \
|
||||||
-lradiationModels \
|
|
||||||
-lmomentumTransportModels \
|
-lmomentumTransportModels \
|
||||||
-lfluidThermoMomentumTransportModels \
|
-lfluidThermoMomentumTransportModels \
|
||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
==
|
==
|
||||||
rho*(U&g)
|
rho*(U&g)
|
||||||
+ clouds.Sh(he)
|
+ clouds.Sh(he)
|
||||||
+ radiation->Sh(thermo, he)
|
|
||||||
+ combustion->Qdot()
|
+ combustion->Qdot()
|
||||||
+ fvOptions(rho, he)
|
+ fvOptions(rho, he)
|
||||||
);
|
);
|
||||||
@ -26,7 +25,6 @@
|
|||||||
|
|
||||||
fvOptions.correct(he);
|
fvOptions.correct(he);
|
||||||
thermo.correct();
|
thermo.correct();
|
||||||
radiation->correct();
|
|
||||||
|
|
||||||
Info<< "T gas min/max = " << min(T).value() << ", "
|
Info<< "T gas min/max = " << min(T).value() << ", "
|
||||||
<< max(T).value() << endl;
|
<< max(T).value() << endl;
|
||||||
|
|||||||
@ -15,7 +15,6 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/SLGThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
|
||||||
-I$(LIB_SRC)/radiationModels/lnInclude \
|
|
||||||
-I$(LIB_SRC)/ODE/lnInclude \
|
-I$(LIB_SRC)/ODE/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude \
|
||||||
@ -39,7 +38,6 @@ EXE_LIBS = \
|
|||||||
-lreactionThermophysicalModels \
|
-lreactionThermophysicalModels \
|
||||||
-lSLGThermo \
|
-lSLGThermo \
|
||||||
-lchemistryModel \
|
-lchemistryModel \
|
||||||
-lradiationModels \
|
|
||||||
-lODE \
|
-lODE \
|
||||||
-lregionModels \
|
-lregionModels \
|
||||||
-lsurfaceFilmModels \
|
-lsurfaceFilmModels \
|
||||||
|
|||||||
@ -102,6 +102,6 @@ forAll(Y, i)
|
|||||||
fields.add(thermo.he());
|
fields.add(thermo.he());
|
||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
#include "createRadiationModel.H"
|
|
||||||
#include "createClouds.H"
|
#include "createClouds.H"
|
||||||
#include "createFvOptions.H"
|
#include "createFvOptions.H"
|
||||||
|
#include "checkRadiationModel.H"
|
||||||
|
|||||||
@ -36,7 +36,6 @@ Description
|
|||||||
#include "parcelCloudList.H"
|
#include "parcelCloudList.H"
|
||||||
#include "fluidReactionThermo.H"
|
#include "fluidReactionThermo.H"
|
||||||
#include "combustionModel.H"
|
#include "combustionModel.H"
|
||||||
#include "radiationModel.H"
|
|
||||||
#include "IOporosityModelList.H"
|
#include "IOporosityModelList.H"
|
||||||
#include "fvOptions.H"
|
#include "fvOptions.H"
|
||||||
#include "SLGThermo.H"
|
#include "SLGThermo.H"
|
||||||
|
|||||||
@ -138,7 +138,7 @@ public:
|
|||||||
|
|
||||||
// Edit
|
// Edit
|
||||||
|
|
||||||
//- Read radiationProperties dictionary
|
//- Read SRFProperties dictionary
|
||||||
virtual bool read();
|
virtual bool read();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,35 @@
|
|||||||
|
if (!mesh.foundObject<IOdictionary>("radiationProperties"))
|
||||||
|
{
|
||||||
|
IOobject radiationProperties
|
||||||
|
(
|
||||||
|
"radiationProperties",
|
||||||
|
runTime.constant(),
|
||||||
|
mesh,
|
||||||
|
IOobject::MUST_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
if (radiationProperties.typeHeaderOk<IOdictionary>(false))
|
||||||
|
{
|
||||||
|
const word modelType
|
||||||
|
(
|
||||||
|
IOdictionary(radiationProperties).lookup("radiationModel")
|
||||||
|
);
|
||||||
|
|
||||||
|
if (modelType != "none")
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "Radiation model " << modelType
|
||||||
|
<< " selected but not enabled in fvOptions" << nl
|
||||||
|
<< "To enable radiation add " << nl << nl
|
||||||
|
<< "radiation" << nl
|
||||||
|
<< "{" << nl
|
||||||
|
<< " type radiation;" << nl
|
||||||
|
<< " libs (\"libradiationModels.so\");" << nl
|
||||||
|
<< "}" << nl << nl
|
||||||
|
<< "to " << radiationProperties.localPath()/"fvOptions"
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,26 +33,20 @@ Foam::autoPtr<Foam::radiationModel> Foam::radiationModel::New
|
|||||||
const volScalarField& T
|
const volScalarField& T
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
IOobject radIO
|
const IOdictionary radiationProperties
|
||||||
(
|
(
|
||||||
"radiationProperties",
|
IOobject
|
||||||
T.time().constant(),
|
(
|
||||||
T.mesh(),
|
"radiationProperties",
|
||||||
IOobject::MUST_READ_IF_MODIFIED,
|
T.time().constant(),
|
||||||
IOobject::NO_WRITE,
|
T.mesh(),
|
||||||
false
|
IOobject::MUST_READ,
|
||||||
|
IOobject::NO_WRITE,
|
||||||
|
false
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
word modelType("none");
|
const word modelType(radiationProperties.lookup("radiationModel"));
|
||||||
if (radIO.typeHeaderOk<IOdictionary>(false))
|
|
||||||
{
|
|
||||||
IOdictionary(radIO).lookup("radiationModel") >> modelType;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Info<< "Radiation model not active: radiationProperties not found"
|
|
||||||
<< endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
Info<< "Selecting radiationModel " << modelType << endl;
|
Info<< "Selecting radiationModel " << modelType << endl;
|
||||||
|
|
||||||
|
|||||||
@ -5,17 +5,20 @@
|
|||||||
\\ / A nd | Version: dev
|
\\ / A nd | Version: dev
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
location "constant";
|
||||||
object radiationProperties;
|
object fvOptions;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiationModel none;
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -11,10 +11,14 @@ FoamFile
|
|||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
location "constant";
|
||||||
object radiationProperties;
|
object fvOptions;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiationModel none;
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -17,8 +17,8 @@ FoamFile
|
|||||||
|
|
||||||
radiation
|
radiation
|
||||||
{
|
{
|
||||||
type radiation;
|
type radiation;
|
||||||
libs ("libradiationModels.so");
|
libs ("libradiationModels.so");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -11,10 +11,14 @@ FoamFile
|
|||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
location "constant";
|
||||||
object radiationProperties;
|
object fvOptions;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiationModel none;
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -15,8 +15,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiation on;
|
|
||||||
|
|
||||||
radiationModel P1;
|
radiationModel P1;
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -11,10 +11,14 @@ FoamFile
|
|||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "constant";
|
location "constant";
|
||||||
object radiationProperties;
|
object fvOptions;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiationModel none;
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -15,8 +15,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiation on;
|
|
||||||
|
|
||||||
radiationModel fvDOM;
|
radiationModel fvDOM;
|
||||||
|
|
||||||
fvDOMCoeffs
|
fvDOMCoeffs
|
||||||
|
|||||||
@ -15,28 +15,10 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
options
|
radiation
|
||||||
{
|
{
|
||||||
energySource
|
type radiation;
|
||||||
{
|
libs ("libradiationModels.so");
|
||||||
type semiImplicitSource;
|
|
||||||
|
|
||||||
timeStart 0;
|
|
||||||
duration 1;
|
|
||||||
selectionMode cellSet;
|
|
||||||
cellSet ignition;
|
|
||||||
volumeMode specific;
|
|
||||||
|
|
||||||
sources
|
|
||||||
{
|
|
||||||
h
|
|
||||||
{
|
|
||||||
explicit 5e7; // kg/m/s^3
|
|
||||||
implicit 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -15,8 +15,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiation on;
|
|
||||||
|
|
||||||
radiationModel P1;
|
radiationModel P1;
|
||||||
|
|
||||||
solverFreq 1;
|
solverFreq 1;
|
||||||
|
|||||||
@ -0,0 +1,24 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
|
\\ / O peration | Website: https://openfoam.org
|
||||||
|
\\ / A nd | Version: dev
|
||||||
|
\\/ M anipulation |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object fvOptions;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -15,8 +15,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
radiation on;
|
|
||||||
|
|
||||||
radiationModel opaqueSolid;
|
radiationModel opaqueSolid;
|
||||||
|
|
||||||
absorptionEmissionModel constant;
|
absorptionEmissionModel constant;
|
||||||
|
|||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -28,5 +28,11 @@ source1
|
|||||||
temperature 2000;
|
temperature 2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
radiation
|
||||||
|
{
|
||||||
|
type radiation;
|
||||||
|
libs ("libradiationModels.so");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,20 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object radiationProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
radiationModel none;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
Reference in New Issue
Block a user