|
[Sponsors] |
November 26, 2013, 07:50 |
|
#601 |
New Member
|
Hi Niels,
I tried your suggestion on post #479 but still no success, any new idea about the issue? please let me know if any more info. is needed. Best, Behrang Last edited by wyldckat; December 28, 2013 at 09:12. Reason: updated the link to the other post, given the transfer of posts from the news thread |
|
November 26, 2013, 13:10 |
|
#602 |
New Member
|
Hi Niels,
Finally it worked Thank you for your supports. I just made folders as mentioned in the error ( I made applications/utilities in /home/<user>/OpenFOAM/<user>-2.1.1) and then ./Allwmake now it is OK. Behrang |
|
December 2, 2013, 06:21 |
|
#603 |
New Member
Lukas
Join Date: Oct 2013
Location: Germany
Posts: 7
Rep Power: 13 |
||
December 2, 2013, 11:55 |
|
#604 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Lukas,
I believe you must have misunderstood. What I meant by "since my points are void ..." is: Since the suggestions/comments I gave above are void/has become redundant ... To my knowledge there is not a version available, where you can compute the waves without including the air. It would, however, be a very nice contribution. 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. |
|
December 3, 2013, 04:27 |
|
#605 |
New Member
Lukas
Join Date: Oct 2013
Location: Germany
Posts: 7
Rep Power: 13 |
Ahh ok. That would have been too nice. Then I had it simply misunderstood.
Thanks anyway Regards - Lukas |
|
December 3, 2013, 11:39 |
StreamFunction Wave Theory
|
#606 |
New Member
Lukas
Join Date: Oct 2013
Location: Germany
Posts: 7
Rep Power: 13 |
Hi Niels,
One more question. This time relating to the StreamFunction Wave Theory. Code:
+++ Example - setWaveParameters +++ // Currently not working +++ Example - Running +++ waveType streamFunction; omega <scalar>; depth <scalar>; phi <scalar>; waveNumber <vector>; uBar <scalar>; N <scalar>; A <scalarField>; B <scalarField>; Tsoft <scalar>; // Not required Tstart <scalar>; // Not required (Default 0.0); Tend <scalar>; // Not required (Default GREAT); N probably stands for the Order, but what about the others? |
|
December 3, 2013, 12:12 |
|
#607 |
Member
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14 |
Dear Luke,
May I direct you to the MATLAB script written by Niels which may answer your recent question. It should be located at /waves2Foam/ applications/utilities/misc/matlab/preporocessing I hope this helps. Ed |
|
December 12, 2013, 03:08 |
|
#608 |
New Member
thejaraju
Join Date: Dec 2010
Posts: 8
Rep Power: 15 |
Hi rita did you get the solution for how to solve the
PISOControls.H:3:15: warning: unused variable ‘nOuterCorr’ If so please help me out regards Thanks in advance Theja |
|
December 13, 2013, 21:33 |
|
#609 |
New Member
Ivy
Join Date: Sep 2013
Location: Singapore
Posts: 16
Rep Power: 13 |
Hi, Niels and anyone who willing to help
Thanks very much,Niels, to your great efforts to create waves2foam and answering questions here. I am really new and using openfoam 2.2.1 on ubuntu to create 2nd Order stokes waves. I am trying to follow instructions from your wiki link http://openfoamwiki.net/index.php/Contrib/waves2Foam from part 3. Application. However I am wondering: 1.for3.3, To which directory should I copy the folder interFoam to (witha new folder named waveFoam)? I tried to paste it in /opt/openfoam221/applications/solvers, however I was told 'permission denied' Or can I just post it in home/username/openFoam? 2. For 3.2, this command cp -r $WM_PROJECT_DIR/applications/solvers/multiphase/interFoam/interDyMFoam $WM_PROJECT_USER_DIR/applications/solvers/waves2Foam/applications/solvers/solvers17/waveFoam/ the waves2Foam should be newly created by me? I didnt see it existing and when i do mkdir waves2Foam in solvers, I was told again 'permission denied'. It seems that I just cannt do anything inside $WM_PROJECT_DIR 3. I notice that I need to add '-lwaves2Foam' in make/options I am wondering how the library waves2Foam is created? and located in which file? Sorry that I might have asked really naive questions. But it really bothers me for 2 days and I cant make any effective progess. Any help will be really appreciated Ivy Last edited by wyldckat; December 14, 2013 at 19:16. Reason: removed broken font formatting text |
|
December 15, 2013, 12:27 |
|
#610 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@thejaraju: It's only a warning, it's not an error, therefore that is not a problem. I'll quote myself from a post I made back in 2010 : Quote:
Best regards, Bruno
__________________
|
||
December 17, 2013, 07:52 |
|
#611 | |
New Member
Lukas
Join Date: Oct 2013
Location: Germany
Posts: 7
Rep Power: 13 |
Quote:
Maybe one of you can calculate the values for my case. That would be great Wave height H: 6.51 [m] Water depth h: 30 [m] Wave period T: 6.63 [s] Stokes drift: 0 Regards - Lukas |
||
December 17, 2013, 08:00 |
Compiling waveDyMFoam in OpenFOAM 2.2.1
|
#612 |
New Member
Prasad
Join Date: Oct 2013
Posts: 11
Rep Power: 13 |
Hi all,
Has anyone successfully compiled waveDyMFoam on version 2.2.1 I have been running into some errors and any guide or useful tips will be appreciated This is the error i get while compiling: SOURCE=waveDyMFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I.. -I/opt/openfoam221/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam221/src/transportModels -I/opt/openfoam221/src/transportModels/incompressible/lnInclude -I/opt/openfoam221/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam221/src/turbulenceModels/incompressible/turbulenceModel -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/dynamicMesh/lnInclude -I/opt/openfoam221/src/dynamicFvMesh/lnInclude -I./OpenFOAM/prasad-2.2.1/applications/utilities/waves2foam/src/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude -I/opt/openfoam221/src/fvOptions/lnInclude -I/opt/openfoam221/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveDyMFoam.o waveDyMFoam.C:44:28: fatal error: relaxationZone.H: No such file or directory compilation terminated. make: *** [Make/linux64GccDPOpt/waveDyMFoam.o] Error 1 Thank you. Last edited by mprasad; December 18, 2013 at 04:35. |
|
January 12, 2014, 12:46 |
installation problem about undefined reference to gsl
|
#613 | |
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
I'm using OpenFOAM-1.7.1 on a red hat cluster. I've installed gsl-1.16 using the following command. Quote:
I've attached waves2Foam/bin/bashrc.org and the compilation output here. Can you give some clue on this please? Thank you for your time in advance. Sophie |
||
January 13, 2014, 16:29 |
|
#614 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
What happens if you type Code:
locate libgsl.so.0 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 13, 2014, 18:05 |
|
#615 | ||
Member
Join Date: Nov 2012
Location: Liverpool, UK
Posts: 51
Rep Power: 14 |
Hi Niels,
Thank you for the reply. libgsl.so.0 is not found when I use this command. But here is the output if I use 'ls' in $HOME/OpenFOAM/gsl/lib. Quote:
Quote:
Sophie |
|||
January 13, 2014, 18:15 |
|
#616 |
Member
Arthur Loginow
Join Date: Aug 2012
Posts: 99
Rep Power: 14 |
Never mind fixed
Last edited by Maralady; January 14, 2014 at 15:30. |
|
January 14, 2014, 11:56 |
How works wave gauge in waves2Foam
|
#617 |
New Member
kian
Join Date: Jan 2014
Posts: 4
Rep Power: 12 |
Hi Dear Niels,
I compiled wave2Foam and I solved the waveflume test case in tutorial. Every thing is ok. Now I do not know how give the wave height time series in paraview. I read in this forum that Wave2Foams is able to do it. Would you tell me how? |
|
January 14, 2014, 12:15 |
|
#618 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
I have found the bug. It is due to the lack of hinting to GSL in the options-files, e.g. compare the options file for waves2Foam-library and the one for relaxationZoneLayout. Apparently, people are only using GSL-versions, which are already present in the environmental variables. I will try to get a bug-fix out tonight. 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 14, 2014, 12:15 |
How use a wave theory for a tutorial test case?
|
#619 |
New Member
kian
Join Date: Jan 2014
Posts: 4
Rep Power: 12 |
Hi every waves2Foam users,
I compiled waves2Foam and solved the tutorial tests with waveFoam solver. I have following question about using it : 1-Would you tell me how can I use existing wave theories (like Stokes theory) in a waves2Foam problem? 2-Which wave theory has been used in waveFlume test case of waves2Foam toolbox? How we can replace this with another one like Stokes 5th order? 3-How we can visualize the water level in paraview after running the waveFoam solver and running paraFoam? Thanks |
|
January 14, 2014, 16:37 |
|
#620 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Sophie,
Could you please try to compile relaxationZoneLayout with the attached options file. If it works, I will make sure that I update the repository, but as I also have GSL installed from the repository, I have no means to check, whether it works. Thanks, Niels P.S. Merely remove the extension ".txt" before use.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
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 |