ITHACA-FV
2023.1
Loading...
Searching...
No Matches
applications
extract_time_evolution
extract_time_evolution.C
Go to the documentation of this file.
1
#include "fvCFD.H"
2
#include "IOmanip.H"
3
#include "IFstream.H"
4
#include "primitiveFields.H"
5
#include "FieldFields.H"
6
#include "SortableList.H"
7
#include "volFieldsFwd.H"
8
#include "forces.H"
9
#include "forceCoeffs.H"
10
#include "volFields.H"
11
#include <iostream>
12
#include <fstream>
13
#include <sstream>
14
#include <vector>
15
#include <string>
16
#include <stdio.h>
17
#include <meshSearch.H>
18
19
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20
21
int
main
(
int
argc,
char
*argv[])
22
{
23
#include "setRootCase.H"
24
#include "createTime.H"
25
#include "createMesh.H"
26
Info << argv[0] << endl;
27
point x(0.1,0,0);
28
meshSearch ms(
mesh
);
29
label nearestCellIndex = ms.findNearestCell(x);
30
Info << nearestCellIndex << endl;
31
return
0;
32
}
33
34
mesh
Foam::fvMesh & mesh
Definition
createMesh.H:47
main
int main(int argc, char *argv[])
Definition
extract_time_evolution.C:21
Generated by
1.11.0