45 fixedValueFvPatchScalarField(p, iF),
58 fixedValueFvPatchScalarField(sppsf, p, iF, mapper),
81 fixedValueFvPatchScalarField(p, iF),
95 scalar ps = (psI_*VsI_ + ams_/psi_)/Vs(db().time().value());
106 fixedValueFvPatchScalarField(sppsf, iF),
127 fixedValueFvPatchScalarField(sppsf),
145 scalar syringePressureFvPatchScalarField::Vs(
const scalar t)
const
155 + 0.5*Ap_*Sp_*
sqr(t - tas_)/(tae_ - tas_);
161 + 0.5*Ap_*Sp_*(tae_ - tas_)
162 + Ap_*Sp_*(t - tae_);
168 + 0.5*Ap_*Sp_*(tae_ - tas_)
169 + Ap_*Sp_*(tds_ - tae_)
171 - 0.5*Ap_*Sp_*
sqr(t - tds_)/(tde_ - tds_);
177 + 0.5*Ap_*Sp_*(tae_ - tas_)
178 + Ap_*Sp_*(tds_ - tae_)
179 + 0.5*Ap_*Sp_*(tde_ - tds_);
191 if (curTimeIndex_ != db().time().
timeIndex())
194 curTimeIndex_ = db().time().timeIndex();
197 scalar t = db().time().value();
198 scalar deltaT = db().time().deltaT().value();
208 ams_ = ams0_ + deltaT*
sum((*
this*psi_)*phip);
212 ams_ = ams0_ + deltaT*
sum(phip);
216 FatalErrorIn(
"syringePressureFvPatchScalarField::updateCoeffs()")
217 <<
"dimensions of phi are not correct"
218 <<
"\n on patch " << this->patch().name()
219 <<
" of field " << this->dimensionedInternalField().name()
220 <<
" in file " << this->dimensionedInternalField().objectPath()
224 scalar ps = (psI_*VsI_ + ams_/psi_)/Vs(t);
247 writeEntry(
"value", os);