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 Members List Search Today's Posts Mark Forums Read

Like Tree7Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   December 19, 2017, 05:24
Default The OLAFLOW Thread
  #1
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Dear colleagues,

Now that I have released OLAFLOW (https://sites.google.com/view/olaflowcfd/) I open this thread to inform about code changes, gather questions, comments, bug reports and mainly anything you can think about.

The official release note can be found here: https://www.linkedin.com/pulse/relea...-pablo-higuera

You can find a general wiki page, which will be growing day by day here:

http://openfoamwiki.net/index.php/Contrib/olaFlow

I look forward to having feedback from you.

Best,

Pablo
ConstanceC120 likes this.
Phicau is offline   Reply With Quote

Old   January 8, 2018, 08:23
Default OLAFLOW for V5.0
  #2
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 6
dneves is on a distinguished road
HI Pablo,

Thank you for your excelent work

When will it be available the OLAFLOW version for OpenFOAM 5.0?

I know that the question is a bit lame but I am interested for OpenFOAM 5.0

Best regards,

Diogo
dneves is offline   Reply With Quote

Old   January 8, 2018, 10:22
Default
  #3
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Dear users,

It is great to start 2018 having a paper published, the first with olaFlow.

In Simulating Breaking Focused Waves in CFD: Methodology for Controlled Generation of First and Second Order ( https://ascelibrary.org/doi/10.1061/...3-5460.0000420 ) we apply a methodology to accurately generate wave breaking with focussing waves , both for laboratory experiments and numerical simulations with olaFlow CFD Suite ( https://sites.google.com/view/olaflowcfd/home ).

Hi Diogo,

thanks for your comment. olaFlow is already compatible with OpenFOAM 5.0 and OpenFOAM v1712 and previous versions. Just compile everything with the allMake script and you will be ready to use it. Remember that now the solvers are called olaFlow and olaDyMFlow instead of olaFoam and olaDyMFoam.

Are you facing any compilation issues?

Best,

Pablo
Phicau is offline   Reply With Quote

Old   January 8, 2018, 10:43
Default
  #4
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 6
dneves is on a distinguished road
Thank you for your quick answer

I will try this evening

later on I will give some feedback.

I really apreciate the effort, It is very usefull.
dneves is offline   Reply With Quote

Old   January 23, 2018, 20:06
Default having an hardtime just on the make
  #5
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 6
dneves is on a distinguished road
sorry pablo,

I am having na hardtime with the make...

when I run the ./allMake I just get this:

"
./allMake: line 3: [: ==: unary operator expected
./allMake: line 59: wclean: command not found
./allMake: line 61: wmake: command not found
\n\nOlaFlow project wave generation boundary conditions compilation failed

"

I never got his before...maybe It is someting really simple and I m just not getting it

BEst regards,

Diogo
dneves is offline   Reply With Quote

Old   January 23, 2018, 20:11
Default
  #6
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Hi Diogo,

either you have forgotten to load OpenFOAM variables (source $HOME/OpenFOAM/OpenFOAM-5.0/etc/bashrc) or there is something wrong with your OpenFOAM installation.

To check that everything is correct before compiling olaFlow, try for example:

which wmake

It should point to the location of the executable that builds OpenFOAM.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   January 24, 2018, 06:18
Default It is working fine
  #7
New Member
 
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 6
dneves is on a distinguished road
Thanks Pablo...I have been messing around with the system and that was why I was not able to run it

Now I have recover everything and it is working great I am exploring the new potentialities

Thanks very much.

I'll give some feedback in the future

Diogo
dneves is offline   Reply With Quote

Old   January 24, 2018, 07:26
Default
  #8
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Glad to hear that, I am looking forward to your results and feedback.

Best,

Pablo
Phicau is offline   Reply With Quote

Old   January 30, 2018, 20:39
Default Issue with piston type wavemaker tutorial
  #9
New Member
 
saeed barzegar
Join Date: Feb 2012
Posts: 7
Rep Power: 8
saeed.barzegar.v is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Dear colleagues,

Now that I have released OLAFLOW (https://sites.google.com/view/olaflowcfd/) I open this thread to inform about code changes, gather questions, comments, bug reports and mainly anything you can think about.

The official release note can be found here: https://www.linkedin.com/pulse/relea...-pablo-higuera

You can find a general wiki page, which will be growing day by day here:

http://openfoamwiki.net/index.php/Contrib/olaFlow

I look forward to having feedback from you.

Best,

Pablo


Hi Pablo,
First of all, thank you so much for this great job.
I am currently working with irregular (focused wave) on OF4.0. From experiment work, I have time history of piston-type wave maker. First, I tried to get some preliminary results from your tutorial on regular wave. I exactly ran the case on WavemakerFlume (piston-type). But, when I plotted wave elevations at different locations along tank length (for example at x=2, x=5, and x=8), I got very strange results which I believe they are because of reflective waves from outlet absorbent boundary. The 2D tank length is 10 m as you used in your tutorial and the wave height must be H=0.1 from pistonWaveGen.py file. As you can see in attached figures, first wave height is much higher than what we expect (almost H_numerical=0.12 for x=2); and also, some strange behavior at x=5 and x=8. I don’t know how I can be sure that my active absorption setting is working well. I will appreciate if you could help to overcome this problem. I attached all my setting as well as wavemakerMovement.txt in constant.

Thank you,
Saeed
Attached Images
File Type: jpg x2.jpg (56.9 KB, 27 views)
File Type: jpg x5.jpg (50.1 KB, 19 views)
File Type: jpg x8.jpg (48.6 KB, 17 views)
Attached Files
File Type: zip wavemakerFlume_elevation_issue.zip (16.7 KB, 3 views)
carlos.ecr likes this.
saeed.barzegar.v is offline   Reply With Quote

Old   February 2, 2018, 04:35
Question About how to run the olaFlow
  #10
New Member
 
尹清海
Join Date: Feb 2018
Posts: 2
Rep Power: 0
missssy is on a distinguished road
Dear pablo,
I am a student,acd i want to use the olaFlow to do something。
I have compiled the olaFlow sucessfully but i cant run the case in tutorials,which is download by ‘git’ on https://github.com/phicau/olaFlow。
When i run the command olaFlow,there are something wrong,the log is in the following:
[customer@node01 baseWaveFlume]$ olaFlow
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.1
Exec : olaFlow
Date : Feb 02 2018
Time : 16:28:38
Host : "node01"
PID : 11107
Case : /home/customer/Desktop/olaFlow/tutorials/FE_latest/baseWaveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Overriding OptimisationSwitches according to controlDict
commsType nonBlocking;

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field porosityIndex

Porosity NOT activated

Reading field p_rgh

--> FOAM FATAL IO ERROR:
cannot find file

file: /home/customer/Desktop/olaFlow/tutorials/FE_latest/baseWaveFlume/0/p_rgh at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 72.

FOAM exiting

I have learned the openfoam for a month so I don’t know how to solve this problem。I did not modify the code and just run it as the code given by the file ‘runcase’.

I hope you can help me and give me some advice about how to use the olaFlow
Thank you very much.
missssy is offline   Reply With Quote

Old   February 2, 2018, 04:55
Default
  #11
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Hi Saeed,

the piston movement function provided is based on linear theory and in view of the results the nonlinearity (not strange results!) is obvious. You are applying the theory outside its range,. Waves should be much smaller for the theory to be valid. These wave conditions would typically need cnoidal theory movement. Are the results somewhat affected by reflections at the outlet? Probably yes, but try with smaller waves or longer flume to determine to what extent.

Hi missssy,

you are running the tutorials for Foam-extend, however, you are running OpenFOAM 4.1. Run the tutorials in the folder: OF_OF+_latest

Best,

Pablo
Phicau is offline   Reply With Quote

Old   February 2, 2018, 05:50
Default thanks
  #12
New Member
 
尹清海
Join Date: Feb 2018
Posts: 2
Rep Power: 0
missssy is on a distinguished road
hi pablo
thanks a lot. i have run it successfully.
missssy is offline   Reply With Quote

Old   February 21, 2018, 06:56
Default
  #13
New Member
 
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 2
cfd_hchen is on a distinguished road
Dear Pablo,

I am trying to generate 3D oblique focused wave groups. However, I got some stability problems. Essentially the time steps become quite small to 1e-5. I am wondering if it is related to the absorption boundary. Usually how many paddles should be used for a wave boundary patch? Have you got similar problems before? Thank you!

Best regards
Hao
cfd_hchen is offline   Reply With Quote

Old   February 22, 2018, 03:30
Default
  #14
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Hi Hao,

are you using the latest version? I have never experienced such issues when running oblique waves.
Please offer more details.

Best,

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

Old   February 23, 2018, 16:50
Default isoAdvector
  #15
New Member
 
Join Date: Aug 2017
Posts: 17
Rep Power: 3
pibil1 is on a distinguished road
Dear Pablo,

Could you implement the wonderful olaFlow with isoAdvector, which seems to be a very nice improvement from interFoam?.


https://github.com/isoAdvector/isoAdvector

https://www.openfoam.com/releases/op...6/numerics.php
pibil1 is offline   Reply With Quote

Old   February 24, 2018, 07:23
Default
  #16
New Member
 
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 2
cfd_hchen is on a distinguished road
Hi Pablo,

I just re-install OlaFlow and set up the case again. Then the problem is solved! I have not figured out the reason, maybe it is due to wrong set up or version issues. Anyway, thanks again for your work on olaFlow.

Best regards
Hao

Quote:
Originally Posted by Phicau View Post
Hi Hao,

are you using the latest version? I have never experienced such issues when running oblique waves.
Please offer more details.

Best,

Pablo
cfd_hchen is offline   Reply With Quote

Old   February 25, 2018, 00:29
Default
  #17
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Hi Hao,

glad to hear that!

Hi Pibil1,

olaFlow should be compatible with isoAdvector. Until I have the time to prepare the solver and a tutorial, remember that you can use the olaFlow wave BCs without recompiling your solvers: https://openfoamwiki.net/index.php/C...ary_Conditions

Best,

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

Old   February 26, 2018, 08:31
Default
  #18
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Singapore
Posts: 462
Rep Power: 12
Phicau is on a distinguished road
Hi again Pibil1,

I have created the olaIsoFlow solver and prepared a tutorial. They can be accessed at:

https://github.com/phicau/olaFlow_supplementary

As I mentioned, olaFlow boundary conditions are fully compatible with isoAdvector scheme.

Best,

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

Old   February 26, 2018, 14:39
Default
  #19
New Member
 
Join Date: Aug 2017
Posts: 17
Rep Power: 3
pibil1 is on a distinguished road
Marvelous, many thanks Pablo for your work.
pibil1 is offline   Reply With Quote

Old   March 13, 2018, 12:32
Default
  #20
New Member
 
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 2
cfd_hchen is on a distinguished road
Hi Pablo,

I just have a question regarding olaFlow. Since I am making a customer boundary condition using olaFlow, I just modify the velocity component and alpha. However, as I can see, it produces complete different velocities on the boundary patch when running in parallel or in serial. Have you met this case before?

Best regards
Hao
cfd_hchen is offline   Reply With Quote

Reply

Tags
olaflow, waves

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Divergence detected in AMG solver: k when udf loaded google9002 Fluent UDF and Scheme Programming 1 April 20, 2015 23:27
Error messages atg enGrid 7 August 30, 2013 12:16
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


All times are GMT -4. The time now is 21:39.