removed field acces via chemistryModel

This commit is contained in:
ignis 2018-01-25 21:40:05 +09:00
parent 5a1d0fde23
commit af8e3468f5
4 changed files with 14 additions and 21 deletions

View file

@ -256,14 +256,14 @@ template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volVectorField>
Foam::radiation::MossBrookesSoot<CombThermoType, ThermoType>::U() const
{
return this->chemistryPtr_->U();
return Foam::tmp<Foam::volVectorField>(NULL);
}
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
Foam::radiation::MossBrookesSoot<CombThermoType, ThermoType>::nut() const
{
return this->chemistryPtr_->nut();
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
@ -273,7 +273,7 @@ Foam::radiation::MossBrookesSoot<CombThermoType, ThermoType>::MoleFracPrec() con
word precSpecie(coeffsDict_.lookup("Precursor"));
const word *precspecie;
precspecie = &precSpecie;
return this->chemistryPtr_->MoleFracSpecie(precspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
@ -283,7 +283,7 @@ Foam::radiation::MossBrookesSoot<CombThermoType, ThermoType>::MoleFracSgs() cons
word sgsSpecie(coeffsDict_.lookup("SurfaceGrowSpecie"));
const word *sgsspecie;
sgsspecie = &sgsSpecie;
return this->chemistryPtr_->MoleFracSpecie(sgsspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
@ -293,7 +293,7 @@ Foam::radiation::MossBrookesSoot<CombThermoType, ThermoType>::MoleFracOxid() con
word oxSpecie(coeffsDict_.lookup("SootOxidizerSpecie"));
const word *oxspecie;
oxspecie = &oxSpecie;
return this->chemistryPtr_->MoleFracSpecie(oxspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>

View file

@ -25,7 +25,8 @@ Class
Foam::radiation::MossBrookesSoot
Description
This soot model solves two transport equation for soot mass fraction and soot normalized nuclei concentration.
This soot model solves two transport equation for soot mass fraction
and soot normalized nuclei concentration.
The detail of the model strictly follows Moss & Brookes model in fluent.
Parameter settings are available in constant/radiationProperties.
@ -55,10 +56,6 @@ Description
SootOxidizerSpecie OH;
}
2017.11.28
POSTECH Combustion Lab
Jinwoo Park
SourceFiles
MossBrookesSoot.C

View file

@ -180,7 +180,7 @@ Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::Yox() const
word oxidSpecie(coeffsDict_.lookup("Oxidizer"));
const word *oxidspecie;
oxidspecie = &oxidSpecie;
return this->chemistryPtr_->Yspecie(oxidspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
@ -190,7 +190,7 @@ Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::Yfuel() const
word fuelSpecie(coeffsDict_.lookup("Fuel"));
const word *fuelspecie;
fuelspecie = &fuelSpecie;
return this->chemistryPtr_->Yspecie(fuelspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
@ -200,35 +200,35 @@ Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::MoleFracfuel() cons
word fuelSpecie(coeffsDict_.lookup("Fuel"));
const word *fuelspecie;
fuelspecie = &fuelSpecie;
return this->chemistryPtr_->MoleFracSpecie(fuelspecie);
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::epsilon() const
{
return this->chemistryPtr_->epsilon();
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::k() const
{
return this->chemistryPtr_->k();
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volVectorField>
Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::U() const
{
return this->chemistryPtr_->U();
return Foam::tmp<Foam::volVectorField>(NULL);
}
template<class CombThermoType, class ThermoType>
Foam::tmp<Foam::volScalarField>
Foam::radiation::khanGreeveSoot<CombThermoType, ThermoType>::nut() const
{
return this->chemistryPtr_->nut();
return Foam::tmp<Foam::volScalarField>(NULL);
}
template<class CombThermoType, class ThermoType>

View file

@ -51,10 +51,6 @@ Description
Oxidizer O2;
}
2017.11.28
POSTECH Combustion Lab
Jinwoo Park
SourceFiles
khanGreeveSoot.C