44 displacementLaplacianFvMotionSolver,
50 displacementMotionSolver,
51 displacementLaplacianFvMotionSolver,
72 mesh.time().timeName(),
74 IOobject::READ_IF_PRESENT,
81 pointDisplacement_.dimensions(),
84 cellMotionBoundaryTypes<vector>(pointDisplacement_.boundaryField())
89 coeffDict().
found(
"interpolation")
99 coeffDict().
found(
"frozenPointsZone")
100 ? fvMesh_.pointZones().findZoneID(coeffDict().
lookup(
"frozenPointsZone"))
107 fvMesh_.time().timeName(),
115 Info<<
"displacementLaplacianFvMotionSolver:" <<
nl
116 <<
" diffusivity : " << diffusivityPtr_().type() <<
nl
117 <<
" frozenPoints zone : " << frozenPointsZone_ <<
endl;
134 Info<<
"displacementLaplacianFvMotionSolver :"
135 <<
" Read pointVectorField "
137 <<
" to be used for boundary conditions on points."
139 <<
"Boundary conditions:"
140 << pointLocation_().boundaryField().types() <<
endl;
162 mesh.time().timeName(),
164 IOobject::READ_IF_PRESENT,
171 pointDisplacement_.dimensions(),
174 cellMotionBoundaryTypes<vector>(pointDisplacement_.boundaryField())
176 pointLocation_(NULL),
179 coeffDict().
found(
"interpolation")
189 coeffDict().
found(
"frozenPointsZone")
190 ? fvMesh_.pointZones().findZoneID(coeffDict().
lookup(
"frozenPointsZone"))
197 fvMesh_.time().timeName(),
205 Info<<
"displacementLaplacianFvMotionSolver:" <<
nl
206 <<
" diffusivity : " << diffusivityPtr_().type() <<
nl
207 <<
" frozenPoints zone : " << frozenPointsZone_ <<
endl;
224 Info<<
"displacementLaplacianFvMotionSolver :"
225 <<
" Read pointVectorField "
227 <<
" to be used for boundary conditions on points."
229 <<
"Boundary conditions:"
230 << pointLocation_().boundaryField().types() <<
endl;
248 if (!diffusivityPtr_.valid())
253 coeffDict().
lookup(
"diffusivity")
256 return diffusivityPtr_();
263 interpolationPtr_->interpolate
269 if (pointLocation_.valid())
273 Info<<
"displacementLaplacianFvMotionSolver : applying "
274 <<
" boundary conditions on " << pointLocation_().name()
275 <<
" to new point location."
279 pointLocation_().internalField() =
281 + pointDisplacement_.internalField();
283 pointLocation_().correctBoundaryConditions();
286 if (frozenPointsZone_ != -1)
288 const pointZone& pz = fvMesh_.pointZones()[frozenPointsZone_];
292 pointLocation_()[pz[i]] = points0()[pz[i]];
304 points0() + pointDisplacement_.internalField()
308 if (frozenPointsZone_ != -1)
310 const pointZone& pz = fvMesh_.pointZones()[frozenPointsZone_];
314 tcurPoints()[pz[i]] = points0()[pz[i]];
318 twoDCorrectPoints(tcurPoints());
329 movePoints(fvMesh_.points());
331 diffusivity().correct();
332 pointDisplacement_.boundaryField().updateCoeffs();
338 diffusivity().
operator()(),
340 "laplacian(diffusivity,cellDisplacement)"
355 diffusivityPtr_.clear();