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

[waves2Foam] Trying to compile waves2Foam with foam-extend 3.2 on Ubuntu 14.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2016, 20:56
Default Trying to compile waves2Foam with foam-extend 3.2 on Ubuntu 14.04
  #1
Member
 
Zhifang Hu
Join Date: Sep 2015
Location: Brisbane
Posts: 54
Rep Power: 10
ce73stargazer is on a distinguished road
Hi there

Just a quick question. Is that wave2FOAM compatible to foam extend 3.2 yet

I tried compile wave2FOAM under foam extend 3.2, but seems not working till now
ce73stargazer is offline   Reply With Quote

Old   February 23, 2016, 00:47
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
@Zhifang: waves2Foam should compile, I just have not managed to make the solvers until now.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; August 25, 2018 at 09:20. Reason: removed answers to other posts that were on the main thread
ngj is offline   Reply With Quote

Old   May 11, 2016, 16:27
Default Trying to compile waves2Foam with foam-extend 3.2 on Ubuntu 14.04
  #3
New Member
 
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10
lxwd is on a distinguished road
Hi, all,

I am trying to install waves2Foam on Ubuntu 14.04. After running the Allwmake command, I find there is a prompt about the solver compilation shown as below.

Code:
=====================================
    COMPILE SOLVERS
=====================================
ls: cannot access /FOAM/waves2Foam/applications/solvers/solvers320_EXT/*: No such file or directory
I am not sure whether I successfully install waves2Foam. I also attached the log.make file. Could anyone pleas help me to check it?

Best Regards,
Lee
Attached Files
File Type: gz log.make2.tar.gz (38.3 KB, 1 views)
lxwd is offline   Reply With Quote

Old   May 11, 2016, 18:00
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Lee,

I have never come around to make the solvers for foam-extend-3.2. It is on my to-do list and I hope to soon resolve it.

The libraries and utilities are ready for foam-extend-3.2.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 12, 2016, 08:53
Default
  #5
New Member
 
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10
lxwd is on a distinguished road
Hi Niels,

Thank you for your reply.

Can waves2foam work properly without the solvers? I am not sure if I need to downgrade the foam-extend version, like foam-extend-3.1, since I find there exist a solver for this version in the solver file.

Best Regards,

Lee
lxwd is offline   Reply With Quote

Old   May 12, 2016, 11:22
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Yes, you definitely need the solver(s). The foam-extend-3.1 version is fully operational, but you might consider to create the solvers yourself for foam-extend-3.2 instead of downgrading. There are essentially just a few modifications required to the solver interFoam. Create waveFoam is easier than porousWaveFoam (more modifications).

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 12, 2016, 13:56
Default
  #7
New Member
 
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10
lxwd is on a distinguished road
I followed the instruction found at openfoamwiki about how to modify interFoam to waveFoam. However, I am still confusing about several steps.

1) The instruction said one should delete the lines starting #include "readGravitationalAcceleration.H" in createFields.H. But I cannot find this line in that file so I just ignore this change. Is there any problem with it?

2) I added -DOFVERSION=<Replace brackets with the first three digits in the OF-version number> \ in Make/options under EXE_INC. Since I am using the foam-extend-3.2, am I right to replace the content in the bracket with 320?

3) I copied the files which belong to interFoam within the foam-extend-3.2 folder into a new folder and made all the changes required by the instruction. What is the next step? Where should I put this new fold and do I need to run ./Allwmake again?

Thank you for your help! I really appreciate it.

Best Regards,
Lee
lxwd is offline   Reply With Quote

Old   May 17, 2016, 10:21
Default
  #8
New Member
 
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10
lxwd is on a distinguished road
Hi Niels,

I am still struggling in these 3 modification steps. Do you have any idea about them? Any help is greatly appreciated!

Best Regards,
Lee
lxwd is offline   Reply With Quote

Old   May 29, 2016, 18:51
Default
  #9
New Member
 
Lee
Join Date: Mar 2016
Posts: 22
Rep Power: 10
lxwd is on a distinguished road
Hi all,

I tired adding a constant wind speed for the air phase. I find the simulation result is quite weird as the wind speed only exists within the relaxation zone and is zero elsewhere. Does anyone know how the wind speed incorporate in the two-phase model and in what way it interacts with the free water surface?

Best,
Lee
lxwd is offline   Reply With Quote

Reply


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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
[foam-extend.org] core dumped for foam extended 3.2 on Ubuntu 16.04 qjh888 OpenFOAM Installation 9 September 27, 2016 16:39
ParaView-4.0.1 did not compile for foam extend 3.0 installation mhkenergy OpenFOAM Installation 8 June 4, 2014 02:26
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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