|
[Sponsors] |
June 20, 2019, 06:44 |
|
#121 |
Member
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 10 |
Indeed, it works now. GREAT
Thank you very much! |
|
July 1, 2019, 05:25 |
|
#122 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi all,
I have updated olaFlow to be compatible with the latest version of OpenFOAM+ (1906). You can download and update the new code as usual. https://github.com/phicau/olaFlow Best, Pablo |
|
July 9, 2019, 05:38 |
Study Damping
|
#123 |
Member
Arash
Join Date: Aug 2018
Posts: 31
Rep Power: 8 |
Deat Pablo
I want to study the damping of the surface wave. So I design a box and apply a cosine wave. theoretically I know that in 2D if V=f(z)*exp(ikx-iwt) xhat+ g(z)*exp(ikx-iwt) zhat, the imaginary part of the omega (w) indicates the damping. I want to study and plot it in OlaFlow. I design a box and set a cnoidal wave on it. I used BaseWaveFlume example I don't know how to study dumpling in this case and plot variables and I also want to plot velocity components and their phase differences |
|
July 10, 2019, 03:50 |
problem with the compilation of olaFlow
|
#124 |
New Member
Nidal
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
Hey guys!
In my new computer I downloaded openfoam 7 yesterday and after that I tried to download olaFlow but when I do the ./allMake I get this error message : wmake libso genAbs/waveGeneration /opt/openfoam7/wmake/wmake: ligne 411: make : commande introuvable /opt/openfoam7/wmake/wmake: ligne 414: make : commande introuvable wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/utilisateur/olaFlow/genAbs/waveGeneration \n\nOlaFlow project wave generation boundary conditions compilation failed I don't know why it's not working because i checked if i downloaded correctly openfoam by running a simplefoam and icofoam case and it works. maybe it's because of the new version of openfoam ? |
|
July 10, 2019, 06:00 |
|
#125 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Arash,
you can start by plotting the velocities in paraview and use the "calculator" or "python calculator" filters to calculate any field that you wish. If you want something more sophisticated you need to load the data in matlab or any other similar program. Hi Nidal, openfoam 7 is too new and they have messed up with too much stuff in this release, breaking backward compatibility, so unfortunately, olaFlow is not compatible with openfoam 7 yet. I am working on making olaFlow compatible now, but I have higher priority commitments at this stage, so you can expect a new release in the next 2-3 weeks. At the moment, you can download openfoam 6 and start working with it, as olaFlow is already compatible. Best, Pablo |
|
July 10, 2019, 08:52 |
|
#126 |
New Member
Nidal
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
Thank you very much for your quick answer Pablo.
|
|
July 24, 2019, 13:55 |
|
#127 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Dear all,
olaFlow is now compatible with the newest releases of OpenFOAM (v1906 and v7). You can get the latest version in https://github.com/phicau/olaFlow Best, Pablo |
|
July 26, 2019, 10:18 |
|
#128 |
New Member
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Hi Pablo,
Thanks for the update on olaFlow and its compatibility with OF1906. I was wondering when the ER-AWA codes will be available to public. I am currently working on intermediate/deep water and I am getting some reflections using SW-AWA. I am hoping to improve my simulations using the new absorption boundary condition. Thanks a lot, Saeed |
|
July 29, 2019, 00:15 |
|
#129 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Saeed,
my fault that I did not update this thread. The ER-AWA feature was released in June. Please take a look to the following post for all the information regarding the new capabilities: https://olaflow.github.io/blog/new-b...ed-to-olaflow/ Do let me know if you need additional information. Best, Pablo |
|
August 6, 2019, 09:39 |
|
#130 |
New Member
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Thanks a lot Pablo. I am trying to implement the combination of ER-AWA and PWA with the idea that you mentioned in your paper.
Best, Saeed |
|
August 16, 2019, 11:18 |
|
#131 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Hi Pablo,
When I try to run olaFlow models, everything goes well until I enter olaFlow command in terminal. Output is "command not found" What's the reason and what can I do to solve it? Best regards Zahra |
|
August 17, 2019, 01:02 |
|
#132 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Zahra,
this is because the solver has not been compiled yet. Please follow the download/compilation guide here https://olaflow.github.io/source-code/ If you experience any problems during compilation just let me know and provide all the relevant information (OpenFOAM version, error logs...) so that I can help you. Best, Pablo |
|
August 17, 2019, 12:42 |
|
#133 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Hello again!
I tried to run ./allMake and the result is as follows; wmake libso genAbs/waveGeneration mkdir: cannot create directory ‘Make/linux64GccDPInt32Opt’: Permission denied /bin/sh: 1: cannot create Make/linux64GccDPInt32Opt/options: Directory nonexistent make: *** No rule to make target 'Make/linux64GccDPInt32Opt/options'. Stop. /bin/sh: 1: cannot create Make/linux64GccDPInt32Opt/options: Directory nonexistent make: *** No rule to make target 'Make/linux64GccDPInt32Opt/options', needed by 'all'. Stop. wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/zanis/olaFlow/genAbs/waveGeneration \n\nOlaFlow project wave generation boundary conditions compilation failed I use openfoam-7 on Ubuntu 18.04 It would be your kindness to check and let me know the result. Thanks & regards Zahra |
|
August 18, 2019, 02:07 |
|
#134 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Zahra,
it seems that you do not have write permissions on your folder, maybe you used the root user to download olaFlow? Probably the easiest way for you is to delete olaFlow folder completely and follow the download and compilation instructions again normally with your user. If this fails again, check the folder owner and your permissions. Let me know if everything goes well. Best, Pablo |
|
August 18, 2019, 14:04 |
|
#135 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Dear Pablo,
I did as you said and the result is as follows; When I run ./allMake, the below error occurred: ./allMake: line 3: [: ==: unary operator expected ./allMake: line 69: wclean: command not found ./allMake: line 71: wmake: command not found \n\nOlaFlow project wave generation boundary conditions compilation failed What's the problem now? Thanks & regards Zahra |
|
August 19, 2019, 02:56 |
|
#136 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Zahra,
you have not loaded OpenFOAM environment this time. If this is the only version of OpenFOAM that you will be using the easiest way to solve this is to follow the User Configuration section here: https://openfoam.org/download/7-ubuntu/ Depending on how you installed OpenFOAM, the path to the openfoam7 folder may vary, just be sure to use the one in your system. Best, Pablo |
|
August 19, 2019, 17:49 |
|
#137 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Hi Pablo,
Thanks for your time and concern... This time I reinstalled openfoam7 and olaFlow and everything was ok, but when I try to simulate baseWaveFlume or breakWater or any other samples the below error occurs when I run olaFlow; --> FOAM FATAL ERROR: cannot find file "/home/zanis/Desktop/breakwater/0/p_rgh" From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 538. FOAM exiting I should emphasize that ..../0/p_rgh exists when I check the folders.... Thanks & regards Zahra |
|
August 19, 2019, 22:09 |
|
#138 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Zahra,
my best guess is that they indeed don't exist. Please note that in the original olaFlow tutorials there is no "0" folder, but "0.org" instead. You need to follow all the steps in the runCase script to run the case. This script includes a line which copies the 0.org folder into a 0 folder, which is finally used. Best, Pablo |
|
August 20, 2019, 03:51 |
|
#139 |
New Member
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10 |
Dear Pablo,
Thank you very much. In fact you were right and the problem solved completely. Just one more question, when I try to simulate samples, for example breakwater, when I run the below commands separately it doesn't make needed files & folders, blockMesh ---- snappyHexMesh -overwrite ----- setFields ----- olaFlow But when I drag and drop the allrun file in terminal, it works ok. What is missed in my commands? Thanks & regards Zahra |
|
August 20, 2019, 04:32 |
|
#140 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Zahra,
open the file and study it, it is just a plain text file: https://github.com/phicau/olaFlow/bl...ter/runCaseSST Pablo |
|
Tags |
olaflow, waves |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver: k when udf loaded | google9002 | Fluent UDF and Scheme Programming | 3 | November 8, 2019 00:34 |
udf problem | jane | Fluent UDF and Scheme Programming | 37 | February 20, 2018 05:17 |
UDF velocity profile | willroca | Fluent UDF and Scheme Programming | 2 | January 10, 2016 04:13 |
Error messages | atg | enGrid | 7 | August 30, 2013 12:16 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |