27#include "addToRunTimeSelectionTable.H"
28#include "fvPatchFieldMapper.H"
30#include "surfaceFields.H"
31#include "uniformDimensionedFields.H"
39 const DimensionedField<scalar, volMesh>& iF
42 fixedValueFvPatchScalarField(
p, iF),
52 const DimensionedField<scalar, volMesh>& iF,
53 const dictionary& dict
56 fixedValueFvPatchScalarField(
p, iF, dict),
57 rhoValue_(dict.lookupOrDefault<scalar>(
"rhoValue",1013)),
68 const DimensionedField<scalar, volMesh>& iF,
69 const fvPatchFieldMapper& mapper
72 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
73 rhoValue_(ptf.rhoValue_),
84 fixedValueFvPatchScalarField(ptf),
85 rhoValue_(ptf.rhoValue_),
94 const DimensionedField<scalar, volMesh>& iF
97 fixedValueFvPatchScalarField(ptf, iF),
98 rhoValue_(ptf.rhoValue_),
111 const uniformDimensionedVectorField& g = db().lookupObject<uniformDimensionedVectorField>(
"g");
115 p_Atmospheric + rhoValue_ * (g.value() & patch().Cf())
117 fixedValueFvPatchScalarField::updateCoeffs();
126 fvPatchScalarField::write(os);
127 writeEntry(os,
"rhoValue_", rhoValue_);
128 writeEntry(os,
"value", *
this);
virtual void write(Ostream &) const
virtual void updateCoeffs()
submarinePressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
makePatchTypeField(fvPatchScalarField, HydrothermalHeatFlux)