Loading...
Searching...
No Matches
createUfIfPresent.H
Go to the documentation of this file.
1if (mesh.dynamic())
2{
3 Info<< "Constructing face velocity Uf\n" << endl;
4
5 _Uf.reset
6 (
7 new surfaceVectorField
8 (
9 IOobject
10 (
11 "Uf",
12 runTime.timeName(),
13 mesh,
14 IOobject::READ_IF_PRESENT,
15 IOobject::AUTO_WRITE
16 ),
17 fvc::interpolate(U)
18 )
19 );
20}
Foam::fvMesh & mesh
Definition createMesh.H:47
Foam::Time & runTime
Definition createTime.H:33
volVectorField & U