frictionalStressModel.H
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
00028
00029
00030
00031
00032
00033 #ifndef frictionalStressModel_H
00034 #define frictionalStressModel_H
00035
00036 #include "dictionary.H"
00037 #include "volFields.H"
00038 #include "dimensionedTypes.H"
00039 #include "runTimeSelectionTables.H"
00040
00041
00042
00043 namespace Foam
00044 {
00045
00046
00047
00048
00049
00050 class frictionalStressModel
00051 {
00052
00053
00054
00055 frictionalStressModel(const frictionalStressModel&);
00056
00057
00058 void operator=(const frictionalStressModel&);
00059
00060
00061 protected:
00062
00063
00064
00065 const dictionary& dict_;
00066
00067
00068 public:
00069
00070
00071 TypeName("frictionalStressModel");
00072
00073
00074 declareRunTimeSelectionTable
00075 (
00076 autoPtr,
00077 frictionalStressModel,
00078 dictionary,
00079 (
00080 const dictionary& dict
00081 ),
00082 (dict)
00083 );
00084
00085
00086
00087
00088
00089 frictionalStressModel(const dictionary& dict);
00090
00091
00092
00093
00094 static autoPtr<frictionalStressModel> New
00095 (
00096 const dictionary& dict
00097 );
00098
00099
00100
00101 virtual ~frictionalStressModel();
00102
00103
00104
00105
00106 virtual tmp<volScalarField> frictionalPressure
00107 (
00108 const volScalarField& alpha,
00109 const dimensionedScalar& alphaMinFriction,
00110 const dimensionedScalar& alphaMax,
00111 const dimensionedScalar& Fr,
00112 const dimensionedScalar& eta,
00113 const dimensionedScalar& p
00114 ) const = 0;
00115
00116 virtual tmp<volScalarField> frictionalPressurePrime
00117 (
00118 const volScalarField& alphaf,
00119 const dimensionedScalar& alphaMinFriction,
00120 const dimensionedScalar& alphaMax,
00121 const dimensionedScalar& Fr,
00122 const dimensionedScalar& eta,
00123 const dimensionedScalar& p
00124 ) const = 0;
00125
00126 virtual tmp<volScalarField> muf
00127 (
00128 const volScalarField& alpha,
00129 const dimensionedScalar& alphaMax,
00130 const volScalarField& pf,
00131 const volTensorField& D,
00132 const dimensionedScalar& phi
00133 ) const = 0;
00134 };
00135
00136
00137
00138
00139 }
00140
00141
00142
00143 #endif
00144
00145
Copyright © 2000-2009 OpenCFD Ltd