setRegionSolidFields.H
Go to the documentation of this file.
1 fvMesh& mesh = solidRegions[i];
2 solidThermo& thermo = thermos[i];
3 
4 tmp<volScalarField> trho = thermo.rho();
5 const volScalarField& rho = trho();
6 
7 tmp<volScalarField> tcp = thermo.Cp();
8 const volScalarField& cp = tcp();
9 
10 tmp<volSymmTensorField> taniAlpha;
11 if (!thermo.isotropic())
12 {
13  volSymmTensorField& aniAlpha = aniAlphas[i];
14  tmp<volVectorField> tkappaByCp = thermo.Kappa()/cp;
15  const coordinateSystem& coodSys = coordinates[i];
16 
17  aniAlpha.primitiveFieldRef() =
18  coodSys.R().transformVector(tkappaByCp());
19  aniAlpha.correctBoundaryConditions();
20 
21  taniAlpha = tmp<volSymmTensorField>
22  (
23  new volSymmTensorField(aniAlpha)
24  );
25 }
26 
27 
28 volScalarField& h = thermo.he();
29 
30 const volScalarField& betav = betavSolid[i];
31 
32 fv::options& fvOptions = solidHeatSources[i];
33 
34 solidNoLoopControl& pimple = pimples.solid(i);
PtrList< volScalarField > betavSolid(solidRegions.size())
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
Definition: volFieldsFwd.H:58
tmp< volScalarField > trho
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
tmp< volSymmTensorField > taniAlpha
PtrList< fv::options > solidHeatSources(solidRegions.size())
PtrList< solidThermo > thermos(solidRegions.size())
solidThermo & thermo
PtrList< volSymmTensorField > aniAlphas(solidRegions.size())
const volScalarField & cp
fvMesh & mesh
PtrList< coordinateSystem > coordinates(solidRegions.size())
tmp< volScalarField > tcp
PtrList< fvMesh > solidRegions(solidsNames.size())