mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Changing p_rgh BC and call to solidThermo in noPyrolysis.C
This commit is contained in:
@ -54,7 +54,7 @@ void noPyrolysis::constructThermoChemistry()
|
|||||||
|
|
||||||
radiation_.reset(radiation::radiationModel::New
|
radiation_.reset(radiation::radiationModel::New
|
||||||
(
|
(
|
||||||
solidChemistry_->thermo().T()
|
solidChemistry_->solidThermo().T()
|
||||||
).ptr());
|
).ptr());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,19 +148,19 @@ void noPyrolysis::evolveRegion()
|
|||||||
|
|
||||||
const volScalarField& noPyrolysis::rho() const
|
const volScalarField& noPyrolysis::rho() const
|
||||||
{
|
{
|
||||||
return solidChemistry_->thermo().rho();
|
return solidChemistry_->solidThermo().rho();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const volScalarField& noPyrolysis::T() const
|
const volScalarField& noPyrolysis::T() const
|
||||||
{
|
{
|
||||||
return solidChemistry_->thermo().T();
|
return solidChemistry_->solidThermo().T();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const tmp<volScalarField> noPyrolysis::Cp() const
|
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
|
tmp<volScalarField> noPyrolysis::kappa() const
|
||||||
{
|
{
|
||||||
return solidChemistry_->thermo().kappa();
|
return solidChemistry_->solidThermo().kappa();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,14 @@ boundaryField
|
|||||||
{
|
{
|
||||||
sides
|
sides
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type totalPressure;
|
||||||
|
p0 $internalField;
|
||||||
|
U U;
|
||||||
|
phi phi;
|
||||||
|
rho rho;
|
||||||
|
psi none;
|
||||||
|
gamma 0;
|
||||||
|
value $internalField;
|
||||||
}
|
}
|
||||||
region0_to_wallFilmRegion_wallFilmFaces
|
region0_to_wallFilmRegion_wallFilmFaces
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user