Public Types | Public Member Functions | List of all members
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField Class Reference

Mixed boundary condition for temperature, to be used in the flow and pyrolysis regions when a film region model is used. More...

Inheritance diagram for filmPyrolysisRadiativeCoupledMixedFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for filmPyrolysisRadiativeCoupledMixedFvPatchScalarField:
Collaboration graph
[legend]

Public Types

typedef Foam::regionModels::surfaceFilmModels::thermoSingleLayer filmModelType
 
typedef Foam::regionModels::pyrolysisModels::pyrolysisModel pyrolysisModelType
 
- Public Types inherited from temperatureCoupledBase
enum  KMethodType {
  mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup,
  mtFunction
}
 

Public Member Functions

 TypeName ("filmPyrolysisRadiativeCoupledMixed")
 
 filmPyrolysisRadiativeCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 filmPyrolysisRadiativeCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 filmPyrolysisRadiativeCoupledMixedFvPatchScalarField (const filmPyrolysisRadiativeCoupledMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 filmPyrolysisRadiativeCoupledMixedFvPatchScalarField (const filmPyrolysisRadiativeCoupledMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchField< scalar > &, const labelList &)
 
tmp< scalarFieldK () const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from temperatureCoupledBase
 temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName, const word &alphaName)
 
 temperatureCoupledBase (const fvPatch &patch, const dictionary &dict)
 
 temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base)
 
 temperatureCoupledBase (const temperatureCoupledBase &)
 
virtual ~temperatureCoupledBase ()=default
 
word KMethod () const
 
const wordkappaName () const
 
const wordalphaName () const
 
virtual tmp< scalarFieldkappa (const scalarField &Tp) const
 
virtual tmp< scalarFieldalpha (const scalarField &Tp) const
 
void write (Ostream &os) const
 

Additional Inherited Members

- Protected Attributes inherited from temperatureCoupledBase
const fvPatchpatch_
 
const KMethodType method_
 
const word kappaName_
 
const word alphaAniName_
 
const word alphaName_
 
autoPtr< PatchFunction1< scalar > > kappaFunction1_
 
autoPtr< PatchFunction1< scalar > > alphaFunction1_
 
- Static Protected Attributes inherited from temperatureCoupledBase
static const Enum< KMethodTypeKMethodTypeNames_
 

Detailed Description

Mixed boundary condition for temperature, to be used in the flow and pyrolysis regions when a film region model is used.

Example usage:

myInterfacePatchName
{
    type            filmPyrolysisRadiativeCoupledMixed;
    Tnbr            T;
    kappaMethod     fluidThermo;
    kappa           none;
    qr              qr;
    filmDeltaDry    0.0;
    filmDeltaWet    3e-4;
    value           $internalField;
}

Needs to be on underlying mapped(Wall)FvPatch. It calculates local field as:

    ratio = (filmDelta - filmDeltaDry)/(filmDeltaWet - filmDeltaDry)

when ratio = 1 is considered wet and the film temperature is fixed at the wall. If ratio = 0 (dry) it emulates the normal radiative solid BC.

In between ratio 0 and 1 the gradient and value contributions are weighted using the ratio field in the following way:

    qConv = ratio*htcwfilm*(Tfilm - *this);
    qRad = (1.0 - ratio)*qr;

Then the solid can gain or loose energy through radiation or conduction towards the film.

Notes:

See also
Foam::temperatureCoupledBase
Source files

Definition at line 95 of file filmPyrolysisRadiativeCoupledMixedFvPatchScalarField.H.

Member Typedef Documentation

◆ filmModelType

◆ pyrolysisModelType

Constructor & Destructor Documentation

◆ filmPyrolysisRadiativeCoupledMixedFvPatchScalarField() [1/4]

◆ filmPyrolysisRadiativeCoupledMixedFvPatchScalarField() [2/4]

filmPyrolysisRadiativeCoupledMixedFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

◆ filmPyrolysisRadiativeCoupledMixedFvPatchScalarField() [3/4]

◆ filmPyrolysisRadiativeCoupledMixedFvPatchScalarField() [4/4]

Member Function Documentation

◆ TypeName()

TypeName ( "filmPyrolysisRadiativeCoupledMixed"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

◆ autoMap()

void autoMap ( const fvPatchFieldMapper mapper)
virtual

Implements temperatureCoupledBase.

Definition at line 222 of file filmPyrolysisRadiativeCoupledMixedFvPatchScalarField.C.

References temperatureCoupledBase::autoMap().

Here is the call graph for this function:

◆ rmap()

void rmap ( const fvPatchField< scalar > &  ptf,
const labelList addr 
)
virtual

Implements temperatureCoupledBase.

Definition at line 232 of file filmPyrolysisRadiativeCoupledMixedFvPatchScalarField.C.

References Foam::refCast(), and temperatureCoupledBase::rmap().

Here is the call graph for this function:

◆ K()

tmp<scalarField> K ( ) const

Referenced by filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs().

Here is the caller graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

The documentation for this class was generated from the following files: