MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / setPatchFields

Function setPatchFields

src/dynamicMesh/fvMeshTools/fvMeshTools.C:213–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213void Foam::fvMeshTools::setPatchFields
214(
215 fvMesh& mesh,
216 const label patchi,
217 const dictionary& patchFieldDict
218)
219{
220 setPatchFields<volScalarField>(mesh, patchi, patchFieldDict);
221 setPatchFields<volVectorField>(mesh, patchi, patchFieldDict);
222 setPatchFields<volSphericalTensorField>(mesh, patchi, patchFieldDict);
223 setPatchFields<volSymmTensorField>(mesh, patchi, patchFieldDict);
224 setPatchFields<volTensorField>(mesh, patchi, patchFieldDict);
225 setPatchFields<surfaceScalarField>(mesh, patchi, patchFieldDict);
226 setPatchFields<surfaceVectorField>(mesh, patchi, patchFieldDict);
227 setPatchFields<surfaceSphericalTensorField>
228 (
229 mesh,
230 patchi,
231 patchFieldDict
232 );
233 setPatchFields<surfaceSymmTensorField>(mesh, patchi, patchFieldDict);
234 setPatchFields<surfaceTensorField>(mesh, patchi, patchFieldDict);
235}
236
237
238void Foam::fvMeshTools::zeroPatchFields(fvMesh& mesh, const label patchi)

Callers 4

mainFunction · 0.85
constrainDisplacementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected