Go to the source code of this file.
Variables | |
const dictionary & | pimpleDict = pimple.dict() |
else | |
Original source file setRDeltaT.H
Definition in file setRDeltaT.H.
scalar maxCo | ( | pimpleDict.get< scalar > | "maxCo" | ) |
scalar maxDeltaT | ( | pimpleDict.getOrDefault< scalar > | "maxDeltaT", GREAT | ) |
scalar rDeltaTSmoothingCoeff | ( | pimpleDict.getOrDefault< scalar > | "rDeltaTSmoothingCoeff", 0.1 | ) |
scalar rDeltaTDampingCoeff | ( | pimpleDict.getOrDefault< scalar > | "rDeltaTDampingCoeff", 1.0 | ) |
scalar alphaTemp | ( | pimpleDict.getOrDefault< scalar > | "alphaTemp", 0.05 | ) |
scalar alphaY | ( | pimpleDict.getOrDefault< scalar > | "alphaY", 1.0 | ) |
Info<< "Time scales min/max:"<< endl;volScalarField rDeltaT0("rDeltaT0", rDeltaT);{ rDeltaT.ref()=(fvc::surfaceSum(mag(phi))()()/((2 *maxCo) *mesh.V() *rho()));rDeltaT.max(1/maxDeltaT);Info<< " Flow = "<< 1/gMax(rDeltaT.primitiveField())<< ", "<< 1/gMin(rDeltaT.primitiveField())<< endl;} if(alphaTemp< 1) { volScalarField::Internal rDeltaTT(mag(Qdot)/(alphaTemp *rho *thermo.Cp() *T));Info<< " Temperature = "<< 1/(gMax(rDeltaTT.field())+VSMALL)<< ", "<< 1/(gMin(rDeltaTT.field())+VSMALL)<< endl;rDeltaT.ref()=max(rDeltaT(), rDeltaTT);} if(alphaY< 1) { dictionary Yref(pimpleDict.subDict("Yref"));volScalarField::Internal rDeltaTY(IOobject("rDeltaTY", runTime.timeName(), mesh), mesh, dimensionedScalar(rDeltaT.dimensions(), Zero));bool foundY=false;forAll(Y, i) { if(i !=inertIndex &&composition.active(i)) { volScalarField &Yi=Y[i];if(Yref.found(Yi.name())) { foundY=true;const scalar Yrefi=Yref.get< scalar > | ( | Yi. | name() | ) |
rDeltaTY field | ( | ) |
Referenced by phaseSystem::addField(), isotropic::addRegularisationTerm(), DimensionedField< Type, Foam::pointMesh >::average(), NURBS3DSurface::buildSurface(), fieldExtents::calcMask(), fieldMinMax::calcMinMaxFields(), fieldMinMax::calcMinMaxFieldType(), norm::calcNormType(), parseDriver::cellToFace(), parseDriver::cellToPoint(), ShapeSensitivitiesBase::clearMultipliers(), fieldValue::combineFields(), sizeDistribution::combineFields(), kinematicSingleLayer::constrainFilmField(), atmNutSource::correct(), CodedSource< Type >::correct(), optionList::correct(), multiphaseStabilizedTurbulence::correct(), optionList::d2dt2(), dimFieldDecomposer::decomposeField(), pointFieldDecomposer::decomposeField(), lagrangianFieldDecomposer::decomposeField(), faFieldDecomposer::decomposeField(), fvFieldDecomposer::decomposeField(), lagrangianFieldDecomposer::decomposeFieldField(), mapDistributeBase::distribute(), Foam::doCorrectBoundaryConditions(), Foam::MULES::explicitSolve(), parseDriver::faceToPoint(), extractEulerianParticles::faceValue(), exprDriver::fill_random(), sizeDistribution::filterField(), volFieldValue::filterField(), surfaceFieldValue::filterField(), Foam::flattenBoundary(), forAll(), particleDistribution::generateDistribution(), Foam::getAnimationColour(), Foam::getBoundedColours(), Foam::getData(), externalDisplacementMeshMover::getFixedValueBCs(), MMA::getOrDefaultScalarField(), Foam::getRefCellValue(), updateMethod::globalSum(), ensightFile::hasUndef(), liquidFilmModel::info(), interRegionHeatTransferModel::interpolate(), topODesignVariables::interpolate(), cellCellStencil::interpolate(), propellerInfo::interpolate(), limitFields::limitField(), limitFields::limitScalarField(), Foam::MapDimensionedFields(), fvMeshAdder::MapDimFields(), Foam::MapGeometricFields(), meshToMesh::mapInternalSrcToTgt(), meshToMesh::mapInternalTgtToSrc(), meshToMesh::mapSrcToTgt(), fvMeshAdder::MapSurfaceFields(), meshToMesh::mapTgtToSrc(), fvMeshAdder::MapVolFields(), propellerInfo::meanSampleDiskField(), fieldSmoother::minSmoothField(), objective::nullify(), variablesSet::nullifyField(), topODesignVariables::nullifyInSolid(), MapInternalField< Type, MeshMapper, surfaceMesh >::operator()(), MapInternalField< Type, MeshMapper, volMesh >::operator()(), MapInternalField< Type, MeshMapper, pointMesh >::operator()(), MapInternalField< Type, MeshMapper, areaMesh >::operator()(), MapInternalField< Type, MeshMapper, edgeMesh >::operator()(), optionList::operator()(), multivariateIndependentScheme< Type >::operator()(), multivariateScheme< Type, Scheme >::operator()(), multivariateSelectionScheme< Type >::operator()(), multivariateUpwind< Type >::operator()(), parseDriver::pointToCell(), parseDriver::pointToFace(), liquidFilmModel::preEvolveRegion(), fvMeshDistribute::printFieldInfo(), vtkUnstructuredReader::printFieldStats(), fvMeshDistribute::printIntFieldInfo(), particleDistribution::processField(), ensightSurfaceReader::readField(), Foam::readFieldsAndWriteFluent(), Foam::ensightOutput::readWriteCloudField(), fft::realTransform1D(), mapDistributeBase::receive(), lagrangianReconstructor::reconstructField(), lagrangianReconstructor::reconstructFieldField(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::relax(), coordSetWriter::repackageFields(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::scale(), mapDistributeBase::send(), MMA::setOrDefaultScalarField(), Foam::setRefCell(), Foam::fvc::smooth(), optionList::source(), topOVariablesBase::sourceTerm(), Foam::fvc::spread(), faceSetOption::subsetFilter(), Foam::sumNeighbours(), Foam::fvc::sweep(), thresholdCellFaces::thresholdCellFaces(), fft::transform(), Foam::transformList(), advectiveFvPatchField< Type >::updateCoeffs(), speciesSorptionFvPatchScalarField::updateCoeffs(), topODesignVariables::updateField(), DimensionedField< Type, Foam::pointMesh >::weightedAverage(), GenericPatchGeoFieldsWriter< PatchType >::write(), internalWriter::write(), unequalBinWidth::write(), equalBinWidth::write(), patchWriter::write(), surfaceFieldWriter::write(), lagrangianWriter::write(), polyWriter::write(), NURBS3DCurve::write(), Foam::writeAreaField(), fileWriter::writeBasicField(), internalMeshWriter::writeCellData(), polyWriter::writeCellData(), Foam::ensightOutput::writeCloudField(), rotorDiskSource::writeField(), lagrangianWriter::writeFields(), ensightFile::writeList(), coordSetWriter::writePointData(), internalMeshWriter::writePointData(), polyWriter::writePointData(), Foam::writePointField(), writer::writeSolution(), abaqusWriter::writeTemplate(), gltfWriter::writeTemplate(), gltfWriter::writeTemplate_animate(), Foam::writeVolField(), vtkWrite::writeVolFieldsImpl(), ensightWrite::writeVolFieldsImpl(), and NURBS3DCurve::writeWParses().
if | ( | foundY | ) |
Definition at line 132 of file setRDeltaT.H.
References Foam::endl(), Foam::gMax(), Foam::gMin(), Foam::Info, and Foam::max().
rDeltaT correctBoundaryConditions | ( | ) |
if | ( | ) |
Definition at line 152 of file setRDeltaT.H.
References rDeltaTSmoothingCoeff(), and Foam::fvc::smooth().
if | ( | rDeltaTDampingCoeff< 1 &&runTime.timeIndex() > runTime.startTimeIndex()+ | 1 | ) |
Definition at line 161 of file setRDeltaT.H.
References Foam::max(), rDeltaT0(), and rDeltaTDampingCoeff().
const dictionary& pimpleDict = pimple.dict() |
Definition at line 25 of file setRDeltaT.H.
else |
Definition at line 141 of file setRDeltaT.H.