|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Apr 2011
Posts: 13
Rep Power: 16 ![]() |
Hello All,
I am trying to find the shared face between two given cells(who are neighbors), and i wanted to use the function getSharedFace() however, it does not compile and i have tried many different iterations. Does anyone know how to declare/use this function? Foam::label Foam::meshTools::getSharedFace ( const primitiveMesh& mesh, const label cell0I, const label cell1I ) is the function call in meshTools.C I have written it into the code as, label faceI = Foam::meshTools::getSharedFace(primMesh(), celli, n_celli); and this error comes out, error: ‘Foam::meshTools’ has not been declared, however i have included src/meshTools into the make directory, and when i try to add it into this file it gives the error for #include "meshTools/meshTools.H", /usr/local/OpenFOAM-2.1.1/OpenFOAM-2.1.1/src/meshTools/meshTools/meshTools.H:48: error: ‘namespace’ definition is not allowed here or for #include "meshTools.H" error: meshTools.H: No such file or directory however none of it seems to fix the problem, any thoughts? |
|
|
|
|
|
![]() |
| Tags |
| coding, meshtools.h, openfoam, openfoam 2.1.1 |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble with sampleDict syntax for OpenFOAM 2.3.1 | rawdoggity | OpenFOAM Post-Processing | 1 | February 1, 2015 06:24 |
| Trouble with big domain of study, | johnnyp | FLUENT | 3 | May 16, 2013 00:19 |
| [ICEM] trouble with mesh quality from ICEM in CFX Solver | escher25 | ANSYS Meshing & Geometry | 0 | February 28, 2011 08:38 |
| [GAMBIT] Trouble meshing complex VOF geometry | RPJones | ANSYS Meshing & Geometry | 2 | February 14, 2011 19:54 |
| OpenFOAM-1.5-dev compilation: OSspecific trouble | gwierink | OpenFOAM Installation | 1 | September 24, 2009 10:35 |