Go to the documentation of this file.
38 namespace patchDistMethods
47 Foam::patchDistMethods::Poisson::Poisson
58 Foam::patchDistMethods::Poisson::Poisson
91 mesh_.time().timeName(),
96 y.boundaryFieldRef().types()
112 sqrt(
magSqr(gradyPsi) + 2*yPsi) - magGradyPsi,
118 mesh_.interpolate(
y);
127 mesh_.interpolate(
y);
130 if (!mesh_.changing())
148 mesh_.interpolate(
n);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual bool correct(volScalarField &y)
Correct the given distance-to-patch field.
defineTypeNameAndDebug(advectionDiffusion, 0)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Calculate the matrix for the laplacian of the field.
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
Solve returning the solution statistics given convergence tolerance.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
bool notNull(const T *ptr)
True if ptr is not a pointer (of type T) to the nullObject.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Specialisation of patchDist for wall distance calculation.
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
addToRunTimeSelectionTable(patchDistMethod, advectionDiffusion, dictionary)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the gradient of the given field.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static const GeometricField< vector, fvPatchField, volMesh > & null()
Return a null geometric field.
const dimensionSet dimless
Dimensionless.