|
[Sponsors] |
January 15, 2014, 08:39 |
|
#621 |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
It works perfectly! relaxationZoneLayout is sucessfully installed in OpenFOAM/livyl-1.7.1/applications/bin/linux64GccDPOpt. So I can change other 'options' files according to this file and compile the rest applications and utilities of waves2foam. Thanks, Sophie |
|
January 15, 2014, 19:22 |
|
#622 | |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
I used './Allwmake' to install waves2foam after amending the options files. waveFoam was installed without error message. But when I try a test case using 'waveFoam > log', it cannot start with the message below. Quote:
Thank you! Sophie |
||
January 16, 2014, 10:38 |
|
#623 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
It sounds weird. Try to write the following in the command line, then you will know, where waveFoam is trying to look for the gsl-library: Code:
ldd `which waveFoam` Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
January 16, 2014, 10:59 |
|
#624 | |||
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Further to my post above, I tried to re-install waveFoam. In this directory /home/polaris_liv1/livyl/OpenFOAM/livyl-1.7.1/waves2Foam/applications/solvers/solvers171/waveFoam, 'wmake' was executed after 'wclean'. Then errors complain about -lgslcblas.
Quote:
Quote:
Quote:
Thanks a lot! Sophie |
||||
January 16, 2014, 11:03 |
|
#625 | |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
Thanks for your reply. I just tried this and the output is as follows. However, I don't quite understand. Quote:
Sophie |
||
January 16, 2014, 11:11 |
|
#626 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hmm, it cannot even find your executable. Are you sure that you have sourced OpenFoam?
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. |
|
January 16, 2014, 11:16 |
|
#627 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
Sorry, I did not see your follow-up, where you describe that you now have problems with even compiling waveFoam. Obviously, you will not be able to execute Code:
which waveFoam So, what did you change, which now makes it impossible for you to compile waveFoam? 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. |
|
January 16, 2014, 11:39 |
|
#628 | |||||
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
Sorry for the confusion. I didn't make any change to the solver waveFoam. If I compile it using 'wmake' in the solver's directory, then it cannot be compiled saying Quote:
However, if I use the following command in waves2foam directory, Quote:
Quote:
Quote:
Quote:
Sophie |
||||||
January 16, 2014, 11:43 |
|
#629 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Well, it is very clear that the libraries with respect to gsl is missing. Could you post the output from the compilation of waveFoam?
1. Go to the solver folder, and type `wclean`. 2. Go back to the root of waves2Foam and execute the Allwmake. 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. |
|
January 16, 2014, 11:52 |
|
#630 |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Niels,
Please see the output attached. Thanks, Sophie |
|
January 16, 2014, 11:58 |
|
#631 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
The compilation do look good enough. Try type the following, before you use the ldd: Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/polaris_liv1/livyl/OpenFOAM/gsl/lib Good luck, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
January 16, 2014, 12:40 |
|
#632 |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
It works! Thank you so much indeed! Sophie |
|
January 24, 2014, 04:58 |
|
#633 |
Member
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16 |
Hi Niel,
Just updated the waves2Foam to the latest version (r2025), but encountered some issues when compiling under OF2.1.1 and OF-extend-3.0. For the later, I realize there're some compability issues. But for OF2.1.1 the compiling still fails which surprises me. Attached please find the log file. I am compiling everything as it is, nothing changed. log_Allwmake.txt Regards, |
|
January 24, 2014, 09:02 |
|
#634 |
New Member
|
Hi Neils,
As far as I understood, the bejiBattjes tutorial is a validation case. If so, would you please share the surface elevation comparison of the simulation and ideal (reported by each gauge). Or let me know how can I make the comparative results. Best, Behrang Last edited by Behrang; January 24, 2014 at 11:55. |
|
January 24, 2014, 12:46 |
|
#635 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hallo all,
@Maryam: I believe you need to link to libwaves2FoamSampling as well. Furthermore, none of the tutorials are run with a turbulence model, because none of the standard (incompressible) turbulence models in OF can (my personal opinion) be used for free surface flows, because the diffusion across the free surface is too large, when the density is not accounted for. I have never come around to put corrected turbulence model(s) into waves2Foam, so for now, I recommend that you create your own, e.g. according to our article or any other turbulence model of your preference. @Behrang: If you execute the file in the matlab-directory in the bejiBattjes tutorial, then it will produce the comparison. The experimental data is placed in the folder called experimentalData. @YS: I will return to you on this error. 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. |
|
January 24, 2014, 14:41 |
|
#636 |
New Member
|
Hi Neils,
Thank you for your kind response, I checked the Matlab directory and there is only a file (processData. m) which is not executable. Would you please guide me more. Thanks in advance. Behrang |
|
January 24, 2014, 17:54 |
|
#637 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
It is because to need to have Matlab installed to run the script. If you do not have Matlab, you can make you own script in any language you would prefer. You can use the Matlab script as inspiration.
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. |
|
January 25, 2014, 09:00 |
|
#638 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi YS,
I have installed OF-2.1.1 today and taken a fresh snapshot of waves2Foam (r2025) and I did not have any problems with the compilation. I believe something must have gone wrong with the update, and I suspect that your are at least missing the file: Code:
src/waves2FoamProcessing/preProcessing/setWaveProperties/irregular/waveSpectra/phases/phases.C Code:
2013-09-15 09:37:28: (r2020) Added phase focusing as an option for irregular waves. Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
January 27, 2014, 00:23 |
|
#639 |
Member
YS
Join Date: Jan 2010
Posts: 96
Rep Power: 16 |
Hi Niels,
By adding the following lines into the Make/files, the problem's gone: phases=phases $(waveProp)/$(irregular)/$(dws)/$(phases)/phases.C $(waveProp)/$(irregular)/$(dws)/$(phases)/focusingPhase/focusingPhase.C $(waveProp)/$(irregular)/$(dws)/$(phases)/randomPhase/randomPhase.C Thanks a lot for the hint! YS |
|
January 27, 2014, 16:15 |
|
#640 |
New Member
|
Hello Neils,
I tried to modify the waveFlume tutorial in order to simulate waves with H=0.2, h=1, L=2 (H/L=0.1) and stokesSecond wave theory. the result shows damping of the waves after 1 or two wave length as well as very very small breaking while the breaking limit due to Fenton equation is H/L=0.14 What do you think about it? Best, Behrang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Re-Project topics | protocol | STAR-CCM+ | 0 | March 22, 2016 06:25 |
Waves2Foam Related Topics | seoseonguk | OpenFOAM Running, Solving & CFD | 0 | March 1, 2016 23:18 |
Waves2Foam Related Topics | seoseonguk | OpenFOAM Running, Solving & CFD | 0 | March 1, 2016 23:14 |
Error: "Cannot find file points" related to changing parallelized code to serial? | Suyf | OpenFOAM Running, Solving & CFD | 0 | February 12, 2015 05:31 |