CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[OLAFLOW] The OLAFLOW Thread

Register Blogs Community New Posts Updated Threads Search

Like Tree46Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2019, 05:44
Default
  #121
Member
 
Anna Feichtner
Join Date: Dec 2016
Location: Cornwall (UK)
Posts: 36
Rep Power: 9
AnnaF is on a distinguished road
Indeed, it works now. GREAT


Thank you very much!
AnnaF is offline   Reply With Quote

Old   July 1, 2019, 04:25
Default
  #122
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   July 9, 2019, 04:38
Default Study Damping
  #123
Member
 
Arash
Join Date: Aug 2018
Posts: 31
Rep Power: 7
arashghgood is on a distinguished road
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
arashghgood is offline   Reply With Quote

Old   July 10, 2019, 02:50
Default problem with the compilation of olaFlow
  #124
New Member
 
Nidal
Join Date: Jul 2019
Posts: 2
Rep Power: 0
nbedidi is on a distinguished road
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 ?
nbedidi is offline   Reply With Quote

Old   July 10, 2019, 05:00
Default
  #125
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   July 10, 2019, 07:52
Default
  #126
New Member
 
Nidal
Join Date: Jul 2019
Posts: 2
Rep Power: 0
nbedidi is on a distinguished road
Thank you very much for your quick answer Pablo.
nbedidi is offline   Reply With Quote

Old   July 24, 2019, 12:55
Default
  #127
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   July 26, 2019, 09:18
Default
  #128
New Member
 
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14
saeed.barzegar.v is on a distinguished road
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
saeed.barzegar.v is offline   Reply With Quote

Old   July 28, 2019, 23:15
Default
  #129
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 6, 2019, 08:39
Default
  #130
New Member
 
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14
saeed.barzegar.v is on a distinguished road
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
saeed.barzegar.v is offline   Reply With Quote

Old   August 16, 2019, 10:18
Default
  #131
New Member
 
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10
zanis is on a distinguished road
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
zanis is offline   Reply With Quote

Old   August 17, 2019, 00:02
Default
  #132
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 17, 2019, 11:42
Default
  #133
New Member
 
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10
zanis is on a distinguished road
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
zanis is offline   Reply With Quote

Old   August 18, 2019, 01:07
Default
  #134
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 18, 2019, 13:04
Default
  #135
New Member
 
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10
zanis is on a distinguished road
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
zanis is offline   Reply With Quote

Old   August 19, 2019, 01:56
Default
  #136
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 19, 2019, 16:49
Default
  #137
New Member
 
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10
zanis is on a distinguished road
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
zanis is offline   Reply With Quote

Old   August 19, 2019, 21:09
Default
  #138
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
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
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   August 20, 2019, 02:51
Default
  #139
New Member
 
Zahra Ashoori
Join Date: Mar 2016
Location: Tehran - Iran
Posts: 9
Rep Power: 10
zanis is on a distinguished road
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
zanis is offline   Reply With Quote

Old   August 20, 2019, 03:32
Default
  #140
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Zahra,

open the file and study it, it is just a plain text file:

https://github.com/phicau/olaFlow/bl...ter/runCaseSST

Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Reply

Tags
olaflow, waves


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 7, 2019 23:34
udf problem jane Fluent UDF and Scheme Programming 37 February 20, 2018 04:17
UDF velocity profile willroca Fluent UDF and Scheme Programming 2 January 10, 2016 03:13
Error messages atg enGrid 7 August 30, 2013 11:16
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


All times are GMT -4. The time now is 22:02.