36 const DimensionedField<vector, volMesh>& iF
39 tractionDisplacementFvPatchVectorField(p, iF),
41 liquidSurfacePressure_(0.0),
42 liquidSurfacePoint_(
Zero)
50 const DimensionedField<vector, volMesh>& iF,
51 const dictionary&
dict 54 tractionDisplacementFvPatchVectorField(p, iF),
55 rhoLiquid_(dict.
lookup<scalar>(
"rhoLiquid")),
56 liquidSurfacePressure_(dict.
lookup<scalar>(
"liquidSurfacePressure")),
57 liquidSurfacePoint_(dict.
lookup(
"liquidSurfacePoint"))
64 const hydrostaticDisplacementFvPatchVectorField& tdpvf,
66 const DimensionedField<vector, volMesh>& iF,
67 const fvPatchFieldMapper& mapper
70 tractionDisplacementFvPatchVectorField(tdpvf, p, iF, mapper),
71 rhoLiquid_(tdpvf.rhoLiquid_),
72 liquidSurfacePressure_(tdpvf.liquidSurfacePressure_),
73 liquidSurfacePoint_(tdpvf.liquidSurfacePoint_)
80 const hydrostaticDisplacementFvPatchVectorField& tdpvf
83 tractionDisplacementFvPatchVectorField(tdpvf),
84 rhoLiquid_(tdpvf.rhoLiquid_),
85 liquidSurfacePressure_(tdpvf.liquidSurfacePressure_),
86 liquidSurfacePoint_(tdpvf.liquidSurfacePoint_)
93 const hydrostaticDisplacementFvPatchVectorField& tdpvf,
94 const DimensionedField<vector, volMesh>& iF
97 tractionDisplacementFvPatchVectorField(tdpvf, iF),
98 rhoLiquid_(tdpvf.rhoLiquid_),
99 liquidSurfacePressure_(tdpvf.liquidSurfacePressure_),
100 liquidSurfacePoint_(tdpvf.liquidSurfacePoint_)
118 liquidSurfacePressure_
120 *
max(g.value() & (patch().Cf() - liquidSurfacePoint_), scalar(0))
129 writeEntry(os,
"liquidSurfacePressure", liquidSurfacePressure_);
130 writeEntry(os,
"liquidSurfacePoint", liquidSurfacePoint_);
virtual void write(Ostream &) const
Write.
fvPatchField< vector > fvPatchVectorField
UniformDimensionedField< vector > uniformDimensionedVectorField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
stressControl lookup("compactNormalStress") >> compactNormalStress
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
hydrostaticDisplacementFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)