ENH: Changing p_rgh BC and call to solidThermo in noPyrolysis.C

This commit is contained in:
sergio
2015-12-09 13:45:29 -08:00
parent 80f4227d40
commit 882698a1b5
2 changed files with 13 additions and 6 deletions

View File

@ -54,7 +54,7 @@ void noPyrolysis::constructThermoChemistry()
radiation_.reset(radiation::radiationModel::New
(
solidChemistry_->thermo().T()
solidChemistry_->solidThermo().T()
).ptr());
}
@ -148,19 +148,19 @@ void noPyrolysis::evolveRegion()
const volScalarField& noPyrolysis::rho() const
{
return solidChemistry_->thermo().rho();
return solidChemistry_->solidThermo().rho();
}
const volScalarField& noPyrolysis::T() const
{
return solidChemistry_->thermo().T();
return solidChemistry_->solidThermo().T();
}
const tmp<volScalarField> noPyrolysis::Cp() const
{
return solidChemistry_->thermo().Cp();
return solidChemistry_->solidThermo().Cp();
}
@ -172,7 +172,7 @@ tmp<volScalarField> noPyrolysis::kappaRad() const
tmp<volScalarField> noPyrolysis::kappa() const
{
return solidChemistry_->thermo().kappa();
return solidChemistry_->solidThermo().kappa();
}

View File

@ -23,7 +23,14 @@ boundaryField
{
sides
{
type fixedFluxPressure;
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
value $internalField;
}
region0_to_wallFilmRegion_wallFilmFaces
{