LunPressure.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 "LunPressure.H"
00028 #include "addToRunTimeSelectionTable.H"
00029
00030
00031
00032 namespace Foam
00033 {
00034 defineTypeNameAndDebug(LunPressure, 0);
00035
00036 addToRunTimeSelectionTable
00037 (
00038 granularPressureModel,
00039 LunPressure,
00040 dictionary
00041 );
00042 }
00043
00044
00045
00046
00047 Foam::LunPressure::LunPressure(const dictionary& dict)
00048 :
00049 granularPressureModel(dict)
00050 {}
00051
00052
00053
00054
00055 Foam::LunPressure::~LunPressure()
00056 {}
00057
00058
00059
00060
00061 Foam::tmp<Foam::volScalarField> Foam::LunPressure::granularPressureCoeff
00062 (
00063 const volScalarField& alpha,
00064 const volScalarField& g0,
00065 const dimensionedScalar& rhoa,
00066 const dimensionedScalar& e
00067 ) const
00068 {
00069
00070 return rhoa*alpha*(1.0 + 2.0*(1.0 + e)*alpha*g0);
00071 }
00072
00073
00074 Foam::tmp<Foam::volScalarField> Foam::LunPressure::granularPressureCoeffPrime
00075 (
00076 const volScalarField& alpha,
00077 const volScalarField& g0,
00078 const volScalarField& g0prime,
00079 const dimensionedScalar& rhoa,
00080 const dimensionedScalar& e
00081 ) const
00082 {
00083 return rhoa*(1.0 + alpha*(1.0 + e)*(4.0*g0 + 2.0*g0prime*alpha));
00084 }
00085
00086
Copyright © 2000-2009 OpenCFD Ltd