|
[Sponsors] |
Wave tank - what to do against the rising water? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2012, 17:08 |
|
#21 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
I hope this is the last help in installing waveFoam i will need
I changed the interDyMFoam files as described in the wiki. I got them in a folder in the waves2Foam folder. But when i run wmake this happens: Quote:
To show you how the files are changed i added them. Thank you! |
||
January 30, 2012, 04:14 |
|
#22 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Leech
Two things appear to be missing: 1. In Make/files: Do not make the executable named waveFoam, unless you want to overwrite the non-meshmoving solver. Furthermore, place the executable in FOAM_USER_APPBIN instead of FOAM_APPBIN. 2. In Make/options: You are missing some '\' between the lines. You have added some lines, but wmake does not recognise them, as it does not understand that the line continues unless you add those seperators: '\'. Kind regards, Niels |
|
January 30, 2012, 08:55 |
|
#23 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
Sorry, i inserted the "\" as you mentioned. But still it cant compile as it says "cant find relaxationZone.H". So i guess there is still something wrong with the path. My make/options looks like that:
Quote:
|
||
January 30, 2012, 10:21 |
|
#24 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Leech
The line [CODE] -I./../../../../src/lnInclude \ [\CODE] lets the compiler search for all the files in waves2Foam/src/lnInclude relative to the location of the solver you are compiling. Thus, if you have placed your solver at a different level than the other solvers, then you have to add/remove some of the ../ to make it fit your choice in location relative to waves2Foam/src/lnInclude. Kind regards, Niels |
|
January 30, 2012, 10:36 |
|
#25 |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
Hi,
the first part worked now. But it says at createFields.H that the variable g is undefined. Should i worry about that? And the bigger problem: It still can't find the fvCFD.H, allthough it is located at /finiteVolume/lnInclude? I found the .H there and in the options files is a line -I$(LIB_SRC)/finiteVolume/lnInclude. ? |
|
January 30, 2012, 10:43 |
|
#26 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Leech
I do not know about fvCFD.H, however, the problem with g is simply that you have not done explicitly as stated on the wiki. The two includes MUST be directly below initContinuityErrs.H and above createFields.H (the latter part has just been added). / Niels |
|
January 30, 2012, 13:50 |
|
#27 | |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
The problem concerning g is solved. Still the error:
Quote:
And as I understand it this location stands in the make/options file? |
||
January 30, 2012, 16:48 |
|
#28 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hi Leech
I am a bit lost about that error message, however, try to compile interDymFoam as it is into FOAM_USER_APPBIN. If you are not successful, this will tell a lot, and if you are successful, then try modifying interDymFoam as follows: 1. Only modify options to its final form, but leave *C *H untouched. 2. Add the line "#include "relaxationZone.H"" 3. Add the gravity-include and remove it in createFields.H 4. Add readWaveProperties.H 5. Add the construction of relaxing in createFields.H 6. Add the line relaxing.update(); Between each of these steps do make a compile and when the compilation start to fail, you know where the problem is. Please start from a completely new copy of interDymFoam in order to avoid any changes you might have done. The list above should compile in that order, as I see it. Good luck, Niels |
|
January 31, 2012, 06:18 |
|
#29 | ||
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
Hi Niels,
as u suggested i copied thi InterFoam source files to a new folder and tried to compile them to FOAM_USER_APPBIN. This is what i get: Quote:
Quote:
Confusing.. |
|||
January 31, 2012, 07:31 |
|
#30 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
First of all: You are trying to compile interFoam twice, is that what you want? The compilation of interFoam crashes for some to me unknown reason, since using the OF files directly should not cause you problems.
Secondly: interDymFoam complains merely over missing permissions, so you have not changed the Make/files for interDymFoam, as it still tries to place it in $FOAM_APPBIN. I do not have a 2.1 version, so I am not able to reproduce what you are doing in this end. Kind regards, Niels |
|
February 1, 2012, 12:49 |
|
#31 |
Member
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 15 |
Hi,
i do not know excatly what i did but i reached finally to compile waveDyMFoam. Which is nice, cause i finally can continue my work. Greets and thanks you so much for your time helping me to compile it, i know that helping linux-noobs isnt fun So, I hope that i get the waves working. Guess ill shure have some questions about them later Leech Last edited by Leech; February 1, 2012 at 16:58. |
|
February 2, 2012, 03:32 |
|
#32 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Congratulations - I hope that waves2Foam will prove useful for your research/consultancy. Please do not hesitate, in case you have suggestions for further improvements.
- Niels |
|
February 7, 2012, 05:52 |
|
#33 | |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 14 |
Quote:
Could you upload and let me have a look at your final waveDyMFoam file since I got the same problem as yours. Regrads, Lee |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Filling Tank with Water | leff | CFX | 7 | August 21, 2017 07:47 |
Simple Water Tank Transient | 88phil88 | CFX | 5 | March 17, 2014 03:48 |
active wave absorb(about wave tank) | zhaochuangang | ANSYS | 0 | September 22, 2010 02:29 |
VOF-compression of air with rising water | yavuz | FLUENT | 0 | November 26, 2005 09:00 |
uptodate water distribution network | fredius,magige,tanzanian,(e.a) | Main CFD Forum | 0 | January 27, 2002 07:10 |