|
[Sponsors] |
December 19, 2017, 05:24 |
The OLAFLOW Thread
|
#1 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
January 8, 2018, 08:23 |
OLAFLOW for V5.0
|
#2 |
New Member
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 12 |
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 |
|
January 8, 2018, 10:22 |
|
#3 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
January 8, 2018, 10:43 |
|
#4 |
New Member
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 12 |
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. |
|
January 23, 2018, 20:06 |
having an hardtime just on the make
|
#5 |
New Member
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 12 |
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 |
|
January 23, 2018, 20:11 |
|
#6 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
January 24, 2018, 06:18 |
It is working fine
|
#7 |
New Member
Diogo R.C.B. Neves
Join Date: Aug 2014
Posts: 16
Rep Power: 12 |
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 |
|
January 24, 2018, 07:26 |
|
#8 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Glad to hear that, I am looking forward to your results and feedback.
Best, Pablo |
|
January 30, 2018, 20:39 |
Issue with piston type wavemaker tutorial
|
#9 | |
New Member
saeed barzegar
Join Date: Feb 2012
Posts: 19
Rep Power: 14 |
Quote:
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 |
||
February 2, 2018, 04:35 |
About how to run the olaFlow
|
#10 |
New Member
尹清海
Join Date: Feb 2018
Posts: 2
Rep Power: 0 |
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. |
|
February 2, 2018, 04:55 |
|
#11 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
February 2, 2018, 05:50 |
thanks
|
#12 |
New Member
尹清海
Join Date: Feb 2018
Posts: 2
Rep Power: 0 |
hi pablo
thanks a lot. i have run it successfully. |
|
February 21, 2018, 06:56 |
|
#13 |
New Member
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 9 |
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 |
|
February 22, 2018, 03:30 |
|
#14 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi Hao,
are you using the latest version? I have never experienced such issues when running oblique waves. Please offer more details. Best, Pablo |
|
February 23, 2018, 16:50 |
isoAdvector
|
#15 |
New Member
Join Date: Aug 2017
Posts: 28
Rep Power: 9 |
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 |
|
February 24, 2018, 07:23 |
|
#16 |
New Member
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 9 |
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 |
|
February 25, 2018, 00:29 |
|
#17 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
February 26, 2018, 08:31 |
|
#18 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
February 26, 2018, 14:39 |
|
#19 |
New Member
Join Date: Aug 2017
Posts: 28
Rep Power: 9 |
Marvelous, many thanks Pablo for your work.
|
|
March 13, 2018, 12:32 |
|
#20 |
New Member
Hao Chen
Join Date: Nov 2017
Location: Manchester, UK
Posts: 10
Rep Power: 9 |
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 |
|
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 |