void mutUSpaldingBlowingWallFunctionFvPatchScalarField::write(Ostream& os) const { fvPatchField<scalar>::write(os); writeLocalEntries(os); os.writeKeyword("hOCp") << hOCp_ << token::END_STATEMENT << nl; os.writeKeyword("rPhi") << rPhi_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void oscillatingFixedValueFvPatchField<Type>::write(Ostream& os) const { fixedValueFvPatchField<Type>::write(os); refValue_.writeEntry("refValue", os); os.writeKeyword("offset") << offset_ << token::END_STATEMENT << nl; amplitude_->writeData(os); frequency_->writeData(os); }
void Foam::sixDoFRigidBodyMotionConstraints::point::write ( Ostream& os ) const { os.writeKeyword("centreOfRotation") << centreOfRotation_ << token::END_STATEMENT << nl; }
// Write void solidTractionFreeFvPatchVectorField::write(Ostream& os) const { fvPatchVectorField::write(os); os.writeKeyword("nonLinear") << nonLinearGeometry::nonLinearNames_[nonLinear_] << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::fixedShearStressFvPatchVectorField::write(Ostream& os) const { fixedValueFvPatchVectorField::write(os); writeEntryIfDifferent<word>(os, "phi", "phi", phiName_); writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_); os.writeKeyword("tau") << tau0_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::patchIdentifier::write(Ostream& os) const { if (physicalType_.size()) { os.writeKeyword("physicalType") << physicalType_ << token::END_STATEMENT << nl; } }
void Foam::SubModelBase<CloudType>::write(Ostream& os) const { os.writeKeyword("owner") << owner_.name() << token::END_STATEMENT << nl; // not writing complete cloud dictionary, only coeffs // os << dict_; os << coeffDict_; }
void Foam::syringePressureFvPatchScalarField::write(Ostream& os) const { fvPatchScalarField::write(os); os.writeKeyword("Ap") << Ap_ << token::END_STATEMENT << nl; os.writeKeyword("Sp") << Sp_ << token::END_STATEMENT << nl; os.writeKeyword("VsI") << VsI_ << token::END_STATEMENT << nl; os.writeKeyword("tas") << tas_ << token::END_STATEMENT << nl; os.writeKeyword("tae") << tae_ << token::END_STATEMENT << nl; os.writeKeyword("tds") << tds_ << token::END_STATEMENT << nl; os.writeKeyword("tde") << tde_ << token::END_STATEMENT << nl; os.writeKeyword("psI") << psI_ << token::END_STATEMENT << nl; os.writeKeyword("psi") << psi_ << token::END_STATEMENT << nl; os.writeKeyword("ams") << ams_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void UniformFixedValuePointPatchField <PatchField, Mesh, PointPatch, MatrixType, Type>::write(Ostream& os) const { PatchField<Type>::write(os); os.writeKeyword("uniformValue") << uniformValue_ << token::END_STATEMENT << nl; }
void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const { advectiveFvPatchField<Type>::write(os); if (this->phiName_ != "phi") { os.writeKeyword("phi") << this->phiName_ << token::END_STATEMENT << nl; } if (this->rhoName_ != "rho") { os.writeKeyword("rho") << this->rhoName_ << token::END_STATEMENT << nl; } if (this->UName_ != "U") { os.writeKeyword("U") << this->UName_ << token::END_STATEMENT << nl; } if (psiName_ != "psi") { os.writeKeyword("psi") << psiName_ << token::END_STATEMENT << nl; } os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl; if (this->lInf_ > SMALL) { os.writeKeyword("fieldInf") << this->fieldInf_ << token::END_STATEMENT << nl; os.writeKeyword("lInf") << this->lInf_ << token::END_STATEMENT << nl; } this->writeEntry("value", os); }
void Foam::semiTransSurfaceCoupledFvPatchScalarField::write ( Ostream& os ) const { mixedFvPatchScalarField::write(os); os.writeKeyword("neighbourFieldName")<< neighbourFieldName_ << token::END_STATEMENT << nl; }
void waveTransmissiveFvPatchField<Type>::write(Ostream& os) const { advectiveFvPatchField<Type>::write(os); this->writeEntryIfDifferent(os, "U", word("U"), UName_); this->writeEntryIfDifferent(os, "psi", word("psi"), psiName_); os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl; }
void Foam::fixedFluxPressureFvPatchScalarField::write(Ostream& os) const { fvPatchScalarField::write(os); writeEntryIfDifferent<word>(os, "U", "U", UName_); writeEntryIfDifferent<word>(os, "phi", "phi", phiName_); writeEntryIfDifferent<word>(os, "rho", "rho", rhoName_); os.writeKeyword("adjoint") << adjoint_ << token::END_STATEMENT << nl; gradient().writeEntry("gradient", os); }
void Foam::fixedEnthalpyFluxTemperatureFvPatchScalarField:: write(Ostream& os) const { fvPatchField<scalar>::write(os); os.writeKeyword("phi") << phiName_ << token::END_STATEMENT << nl; os.writeKeyword("rho") << rhoName_ << token::END_STATEMENT << nl; Tinf_.writeEntry("Tinf", os); this->writeEntry("value", os); }
void Foam::alphaContactAngleFvPatchScalarField::write ( Ostream& os ) const { fixedGradientFvPatchScalarField::write(os); os.writeKeyword("limit") << limitControlNames_[limit_] << token::END_STATEMENT << nl; }
void Foam::turbulentIntensityKineticEnergyInletFvPatchScalarField::write ( Ostream& os ) const { fvPatchField<scalar>::write(os); os.writeKeyword("intensity") << intensity_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::constantAlphaContactAngleFvPatchScalarField::write ( Ostream& os ) const { alphaContactAngleFvPatchScalarField::write(os); os.writeKeyword("theta0") << theta0_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void PointPatchField<PatchField, Mesh, PointPatch, MatrixType, Type>:: write ( Ostream& os ) const { os.writeKeyword("type") << type() << token::END_STATEMENT << nl; }
void Foam::actuationDiskSource::writeData(Ostream& os) const { os << indent << token::BEGIN_BLOCK << incrIndent << nl; os.writeKeyword("name") << this->name() << token::END_STATEMENT << nl; if (dict_.found("note")) { os.writeKeyword("note") << string(dict_.lookup("note")) << token::END_STATEMENT << nl; } os << indent << "actuationDisk"; dict_.write(os); os << decrIndent << indent << token::END_BLOCK << endl; }
void fixedPressureCompressibleDensityFvPatchScalarField::write ( Ostream& os ) const { fvPatchField<scalar>::write(os); os.writeKeyword("p") << pName_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::genericFvPatchField<Type>::write(Ostream& os) const { os.writeKeyword("type") << actualTypeName_ << token::END_STATEMENT << nl; for ( dictionary::const_iterator iter = dict_.begin(); iter != dict_.end(); ++iter ) { if (iter().keyword() != "type" && iter().keyword() != "value") { if ( iter().isStream() && iter().stream().size() && iter().stream()[0].isWord() && iter().stream()[0].wordToken() == "nonuniform" ) { if (scalarFields_.found(iter().keyword())) { scalarFields_.find(iter().keyword())() ->writeEntry(iter().keyword(), os); } else if (vectorFields_.found(iter().keyword())) { vectorFields_.find(iter().keyword())() ->writeEntry(iter().keyword(), os); } else if (sphericalTensorFields_.found(iter().keyword())) { sphericalTensorFields_.find(iter().keyword())() ->writeEntry(iter().keyword(), os); } else if (symmTensorFields_.found(iter().keyword())) { symmTensorFields_.find(iter().keyword())() ->writeEntry(iter().keyword(), os); } else if (tensorFields_.found(iter().keyword())) { tensorFields_.find(iter().keyword())() ->writeEntry(iter().keyword(), os); } } else { iter().write(os); } } } this->writeEntry("value", os); }
void Foam::uniformInletOutletFvPatchField<Type>::write(Ostream& os) const { fvPatchField<Type>::write(os); if (phiName_ != "phi") { os.writeKeyword("phi") << phiName_ << token::END_STATEMENT << nl; } this->uniformInletValue_->writeData(os); this->writeEntry("value", os); }
void angularOscillatingVelocityPointPatchVectorField::write ( Ostream& os ) const { pointPatchField<vector>::write(os); os.writeKeyword("axis") << axis_ << token::END_STATEMENT << nl; os.writeKeyword("origin") << origin_ << token::END_STATEMENT << nl; os.writeKeyword("angle0") << angle0_ << token::END_STATEMENT << nl; os.writeKeyword("amplitude") << amplitude_ << token::END_STATEMENT << nl; os.writeKeyword("omega") << omega_ << token::END_STATEMENT << nl; p0_.writeEntry("p0", os); writeEntry("value", os); }
void Foam::pressureNormalInletOutletVelocityFvPatchVectorField::write ( Ostream& os ) const { fvPatchVectorField::write(os); os.writeKeyword("phi") << phiName_ << token::END_STATEMENT << nl; os.writeKeyword("rho") << rhoName_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::timeVaryingUniformTotalPressureFvPatchScalarField:: write(Ostream& os) const { fvPatchScalarField::write(os); if (UName_ != "U") { os.writeKeyword("U") << UName_ << token::END_STATEMENT << nl; } if (phiName_ != "phi") { os.writeKeyword("phi") << phiName_ << token::END_STATEMENT << nl; } os.writeKeyword("rho") << rhoName_ << token::END_STATEMENT << nl; os.writeKeyword("psi") << psiName_ << token::END_STATEMENT << nl; os.writeKeyword("gamma") << gamma_ << token::END_STATEMENT << nl; os.writeKeyword("p0") << p0_ << token::END_STATEMENT << nl; timeSeries_.write(os); writeEntry("value", os); }
void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write ( Ostream& os ) const { mixedFvPatchScalarField::write(os); os.writeKeyword("neighbourFieldName")<< neighbourFieldName_ << token::END_STATEMENT << nl; temperatureCoupledBase::write(os); }
void Foam::JohnsonJacksonParticleSlipFvPatchVectorField::write ( Ostream& os ) const { fvPatchVectorField::write(os); os.writeKeyword("specularityCoefficient") << specularityCoefficient_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void turbulentMixingLengthDissipationRateInletFvPatchScalarField::write ( Ostream& os ) const { fvPatchField<scalar>::write(os); os.writeKeyword("mixingLength") << mixingLength_ << token::END_STATEMENT << nl; writeEntry("value", os); }
void Foam::ACMIWallPolyPatch::write(Ostream& os) const { wallPolyPatch::write(os); coupleGroup_.write(os); if (!ACMIPatch_.empty()) { os.writeKeyword("ACMIPatch") << ACMIPatch_ << token::END_STATEMENT << nl; } }
void Foam::rotatingPressureInletOutletVelocityFvPatchVectorField::write ( Ostream& os ) const { fvPatchVectorField::write(os); os.writeKeyword("phi") << phiName() << token::END_STATEMENT << nl; omega_->writeData(os); writeEntry("value", os); }