XiModel.C
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include "XiModel.H"
00028
00029
00030
00031 namespace Foam
00032 {
00033 defineTypeNameAndDebug(XiModel, 0);
00034 defineRunTimeSelectionTable(XiModel, dictionary);
00035 };
00036
00037
00038
00039
00040 Foam::XiModel::XiModel
00041 (
00042 const dictionary& XiProperties,
00043 const hhuCombustionThermo& thermo,
00044 const compressible::RASModel& turbulence,
00045 const volScalarField& Su,
00046 const volScalarField& rho,
00047 const volScalarField& b,
00048 const surfaceScalarField& phi
00049 )
00050 :
00051 XiModelCoeffs_
00052 (
00053 XiProperties.subDict
00054 (
00055 word(XiProperties.lookup("XiModel")) + "Coeffs"
00056 )
00057 ),
00058 thermo_(thermo),
00059 turbulence_(turbulence),
00060 Su_(Su),
00061 rho_(rho),
00062 b_(b),
00063 phi_(phi),
00064 Xi_
00065 (
00066 IOobject
00067 (
00068 "Xi",
00069 b.time().timeName(),
00070 b.db(),
00071 IOobject::MUST_READ,
00072 IOobject::AUTO_WRITE
00073 ),
00074 b.mesh()
00075 )
00076 {}
00077
00078
00079
00080
00081 Foam::XiModel::~XiModel()
00082 {}
00083
00084
00085
00086
00087 bool Foam::XiModel::read(const dictionary& XiProperties)
00088 {
00089 XiModelCoeffs_ = XiProperties.subDict(type() + "Coeffs");
00090
00091 return true;
00092 }
00093
00094
00095
Copyright © 2000-2009 OpenCFD Ltd