CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Compile waves2FoamMooring on OF1912

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2020, 20:24
Question Compile waves2FoamMooring on OF1912
  #1
New Member
 
Romain Ping
Join Date: Feb 2019
Posts: 3
Rep Power: 3
romainping is on a distinguished road
Hello,

I would like to compile and use the tool waves2FoamMooring provided within waves2Foam on OpenFoam1812 or OpenFoam 1912.

When I try to compile it i get the error below. It seems that the code is calling for a function "Xfer" and cannot find it.

I managed to compile this tool and use it on OF1712. Indeed, I found the function Xfer in the folder '/home/engineer/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/memory'

However this Xfer function disappeared in v1812 and v1912.


Does anyone know how to compile this mooring tool on the new OF versions ? Is there another function that could be used instead of 'Xfer' ? Or how I could compile the Xfer function ?

Thanks for your help.

error :


write1DFvMesh/write1DFvMesh.C: In member function ‘void Foam::write1DFvMesh::updateMesh(const Foam::List<Foam::Field<Foam::Vector<double> > >&, const labelList&, const labelList&, const labelList&, const labelList&)’:
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
/home/engineer/OpenFOAM/OpenFOAM-v1912/wmake/rules/General/transform:34: recipe for target 'Make/linux64GccDPInt32Opt/write1DFvMesh/write1DFvMesh.o' failed
romainping is offline   Reply With Quote

Reply

Tags
of1812, of1912, waves2foammooring, xfer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 04:38
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 13:24
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


All times are GMT -4. The time now is 08:28.