|
[Sponsors] | |||||
|
|
|
#161 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Good evening Qicheng,
I have not derived the solitary wave theory myself and I do unfortunately not have the reference in a digital format. I suggest that you implement your favourite solitary wave theory, which should not be difficult once you have a set of algebraic equations, and you will know, where the terms originate from. I will gladly incorporate such an implementation of yours into waves2Foam. Kind regards, Niels |
|
|
|
|
|
|
|
|
#162 | |
|
New Member
Qicheng
Join Date: Dec 2012
Posts: 3
Rep Power: 2 ![]() |
Dear Niels,
Thank you very much! I will follow your instructions, modify the code and validate the results. I believe I will have fun with it. Your code does give me a lot of help for the research. I am going to study the internal solitary wave. So it would be great if we could exchange the ideas in the future. Yours, Qicheng Quote:
|
||
|
|
|
||
|
|
|
#163 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Your are welcome.
Good luck, Niels |
|
|
|
|
|
|
|
|
#164 |
|
New Member
Galchenko Olga
Join Date: Nov 2012
Posts: 11
Rep Power: 2 ![]() |
Good afternoon!
I'm having problems with coupling waves2Foam with dynamic mesh motion. I've followed all the instructions, but still can't compile my waveDyMFoam solver. When I type wmake, I got this error message: "command not found". I tried to "make" it, but I was told that thereis nothing needed to be done with this files. Though when I try to run this solver, I stil got same message "command not found" . can someone help me to solve this problem? Regards, Olga Last edited by Galchenko; December 19, 2012 at 08:46. |
|
|
|
|
|
|
|
|
#165 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Hi Olga,
You need to source the entire OpenFoam, before you can compile anything. Please look on the descriptions on how to set-up OpenFoam on your computer here (Section: Setting Environment Variables): http://openfoam.org/download/source.php Just to be clear, the problems you encounter have nothing to do with waves2Foam in specific, but rather the initiation of system variables, which are related to OpenFoam. Kind regards, Niels |
|
|
|
|
|
|
|
|
#166 |
|
New Member
Galchenko Olga
Join Date: Nov 2012
Posts: 11
Rep Power: 2 ![]() |
Thanks a lot for your answer, Niels.
But I have no problems with using waveFoam(also a grand thanks for a great work you've done) or any other solvers, so I suppose the problem is coonected exactly with implementing waveDyMFoam. Anyway,I repeated all the actions to set the environment variables, but it didn't help. Regards, Olga |
|
|
|
|
|
|
|
|
#167 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Good morning Olga,
It sounds a bit weird, however, I do not have the faintest idea about the actual problem, since the error "command not found" would suggest that "wmake" is not in the search path. As you have compiled waves2Foam successfully disprove that wmake cannot be found. Try to compile a fresh interDymFoam in the new waveDymFoam directory and see if it works, i.e. do not make any changes to the files (except the output location in Make/files). This must work. Kind regards Niels |
|
|
|
|
|
|
|
|
#168 |
|
New Member
carlos
Join Date: Apr 2011
Posts: 13
Rep Power: 4 ![]() |
Hi All!,
I have been straggling to compile waves2Foam for a long time with no success. I use cae-linux and my openFoam instalation is in /opt/openfoam211. waves2Foam was placed in /home/carlos/OpenFOAM/carlos-2.1.1/waves2Foam and a copy of all files is in /opt/openfoam211/applications/solvers/multiphase I attach the errors reported. Thanks a lot for your help! Carlos. |
|
|
|
|
|
|
|
|
#169 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Hi Carlos,
I would recommend that you do not add any solvers to begin with - this is not necessary to begin with for version 2.1.1. If you need dynamic meshes then you need to follow the instructions on the wiki, however, take this step, when the basic package is compiled correctly. Make a new checkout from the svn, and you should be able to compile it all without any problems. E.g. the library libwaves2Foam.so is compiled correctly and so are all of the utilities. Kind regards, Niels |
|
|
|
|
|
|
|
|
#170 | |
|
New Member
carlos
Join Date: Apr 2011
Posts: 13
Rep Power: 4 ![]() |
Quote:
Thanks for your quick answer. In fact I have started the wrong way, as I downloaded the 2012 workshop pack which included the other solvers. As you suggest, I will start from clean and only with waves2Foam, to add later what I need. I will report the result. Regards, Carlos. |
||
|
|
|
||
|
|
|
#171 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Hi Carlos,
Good luck. What source package is the 2012 Workshop one? I do not think that I have ever heard about it. Best regards, Niels |
|
|
|
|
|
|
|
|
#172 | |
|
New Member
carlos
Join Date: Apr 2011
Posts: 13
Rep Power: 4 ![]() |
Quote:
There is a special group for ships hydro with OF "OpenFOAM-7th-Workshop-2012" and there is a version of caelinux only for OFoam that includes your wave2Foam, but is not compiled during the installation. I am not working in this version of caelinux but with the complete one. I have tried to clean as much as possible and then svn update. It only complains about one file in one tutorial. I noticed the addition of one number in the solvers version, so mine should be 211, but the Allwmake was pointing to 21, with "file not found", so I did modify to 211. If I understand the result on the attached file, waveFoam did compile, but failed on the utilities. Thanks again for your help and your patience. Carlos. |
||
|
|
|
||
|
|
|
#173 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Hi
It looks as if it cannot find the header files in waves2Foam/src/lnInclude. Maybe the relative path from the utilities should be defined differently in CAELinux? Even though it does not make sense, since waveFoam is compiled. Well, nonetheless, I believe you should completely delete the version (or rename) you have on your computer and then do a completely fresh checkout as stated on the wiki (http://openfoamwiki.net/index.php/Contrib/waves2Foam) Regards, Niels |
|
|
|
|
|
|
|
|
#174 |
|
New Member
carlos
Join Date: Apr 2011
Posts: 13
Rep Power: 4 ![]() |
Hi,
I have compiled in a different instalation (OF 210) and managed to get waveFoam working, but faild on some pre and post processing due to missing files. What I need is a clean and complete package for waves2Foam. Where can I download it? I have tried sourceforge but can not find it. Thanks once again! Carlos. |
|
|
|
|
|
|
|
|
#175 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Please read the "Download and Installation" section on the Wiki, which I linked above.
- Niels |
|
|
|
|
|
|
|
|
#176 |
|
New Member
carlos
Join Date: Apr 2011
Posts: 13
Rep Power: 4 ![]() |
Thanks Niels, I have found it, downloaded and it went like a charm.
Very sorry for taking your time due to my ignorance. Best, Carlos. |
|
|
|
|
|
|
|
|
#177 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
You are welcome. I have to agree with you that it confuses the matter that a static (read: "old") and altered version of waves2Foam is floating around.
Well, now it has been documented and can be read by all other potential users. Kind regards, Niels |
|
|
|
|
|
|
|
|
#178 |
|
New Member
Mohammad Ghandali
Join Date: Jan 2013
Posts: 5
Rep Power: 2 ![]() |
Hi Dear Niels
first i appreciate of your works and your academic personality . im very begginer in openfoam read the openfoam wiki instruction of waves2foam installation But when i run allwmake in terminal i found these in terminal is it normal? '/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so' is up to date. ./Allwmake: line 47: cd: applications/solvers/solvers201: No such file or directory make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc' make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab' make[3]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/postprocessing' make[3]: Nothing to be done for `application'. make[3]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/postprocessing' make[3]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/preprocessing' make[3]: Nothing to be done for `application'. make[3]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/preprocessing' make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab' make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc' make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing' make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing/surfaceElevation' make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/surfaceElevation' is up to date. make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing/surfaceElevation' make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing' make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing' make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/relaxationZoneLayout' is up to date. make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout' make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveField' make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/setWaveField' is up to date. make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveField' make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveParameters' make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/setWaveParameters' is up to date. make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveParameters' make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing' p.s: when i run wave flume tutorial i run blockmesh and it works when i run parafoam i suddenly get out and disapeared.. beforehand thank you for your helping Mohammad |
|
|
|
|
|
|
|
|
#179 |
|
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Posts: 1,138
Rep Power: 19 ![]() |
Hi Mohammed,
Yes, it looks correct - congrats with the painless compilation ![]() With respect to the crashing of paraFoam, it sounds like a problem, which I have heard about before, however, I have no means of helping with that. I advise you to search the Forum (using Google )Kind regards, Niels |
|
|
|
|
|
|
|
|
#180 |
|
New Member
Mohammad Ghandali
Join Date: Jan 2013
Posts: 5
Rep Power: 2 ![]() |
Hi again Dear niels
thanks for your quick answer..and time you spent on my post i run wave flume tutorials and i run blockMesh and then run setWaveField in terminal and i get this error and i dont know how to debug it.. mohammad@mohammad-desktop:~$ cd /home/mohammad/Desktop/waveFlume mohammad@mohammad-desktop:~/Desktop/waveFlume$ blockMesh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : blockMesh Date : Jan 07 2013 Time : 04:01:15 Host : mohammad-desktop PID : 10052 Case : /home/mohammad/Desktop/waveFlume nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "/home/mohammad/Desktop/waveFlume/constant/polyMesh/blockMeshDict" Creating curved edges Creating topology blocks Creating topology patches Reading patches section Creating block mesh topology Reading physicalType from existing boundary file Default patch type set to empty Check topology Basic statistics Number of internal faces : 0 Number of boundary faces : 6 Number of defined boundary faces : 6 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list . Creating polyMesh from blockMesh Creating patches Creating cells Creating points with scale 1 Writing polyMesh ---------------- Mesh Information ---------------- boundingBox: (0 -0.4 0) (18 0.2 0.1) nPoints: 43676 nCells: 21420 nFaces: 86097 nInternalFaces: 42423 ---------------- Patches ---------------- patch 0 (start: 42423 size: 60) name: inlet patch 1 (start: 42483 size: 357) name: bottom patch 2 (start: 42840 size: 60) name: outlet patch 3 (start: 42900 size: 357) name: atmosphere patch 4 (start: 43257 size: 42840) name: frontBack End mohammad@mohammad-desktop:~/Desktop/waveFlume$ setWaveField /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-51f1de99a4bc Exec : setWaveField Date : Jan 07 2013 Time : 04:02:14 Host : mohammad-desktop PID : 10060 Case : /home/mohammad/Desktop/waveFlume nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 --> FOAM FATAL IO ERROR: cannot open file file: /home/mohammad/Desktop/waveFlume/system/fvSchemes at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. FOAM exiting PLease Help me Best Regards Mohammed |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Other Topics at OpenFOAM Workshop Milan 2008 | hjasak | OpenFOAM | 0 | March 28, 2008 05:27 |
| Sections / Topics in CFD Wiki | Roberthealy1 | CFD-Wiki | 6 | August 23, 2007 17:58 |
| CFD Related Educational Programmes | Jonas Larsson | Main CFD Forum | 3 | February 9, 2007 10:11 |
| project topics | vivekanand | CFX | 0 | October 27, 2004 05:17 |
| Advanced Topics in Aerodynamics | Antonio Filippone | Main CFD Forum | 0 | August 28, 1999 12:16 |