|
[Sponsors] |
October 11, 2021, 18:44 |
Xfer function
|
#1 |
New Member
cesa
Join Date: May 2021
Location: Lisboa, Portugal
Posts: 18
Rep Power: 5 |
Hello,
I'm trying to compile a tool on OpenFOAM-v1912, but I get the following error: write1DFvMesh/write1DFvMesh.C:225:9: error: ‘Xfer’ was not declared in this scope Xfer<pointField> xpp; ^~~~ write1DFvMesh/write1DFvMesh.C:225:24: error: expected primary-expression before ‘>’ token Xfer<pointField> xpp; ^ write1DFvMesh/write1DFvMesh.C:225:26: error: ‘xpp’ was not declared in this scope Xfer<pointField> xpp; ^~~ write1DFvMesh/write1DFvMesh.C:225:26: note: suggested alternative: ‘lpp’ Xfer<pointField> xpp; ^~~ lpp write1DFvMesh/write1DFvMesh.C:231:22: error: expected primary-expression before ‘>’ token Xfer<faceList> xfaces; ^ write1DFvMesh/write1DFvMesh.C:231:24: error: ‘xfaces’ was not declared in this scope Xfer<faceList> xfaces; ^~~~~~ write1DFvMesh/write1DFvMesh.C:231:24: note: suggested alternative: ‘face’ Xfer<faceList> xfaces; ^~~~~~ face write1DFvMesh/write1DFvMesh.C:280:22: error: expected primary-expression before ‘>’ token Xfer<cellList> xcells; ^ write1DFvMesh/write1DFvMesh.C:280:24: error: ‘xcells’ was not declared in this scope Xfer<cellList> xcells; ^~~~~~ write1DFvMesh/write1DFvMesh.C:280:24: note: suggested alternative: ‘cell’ Xfer<cellList> xcells; ^~~~~~ cell The problem is that Xfer has been removed since OF-v1912. Does anyone have any hints about what function to use instead? I'm attaching the write1DFvMesh.C file. Best regards, Carlos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |