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

[waves2Foam] Some questions about: waveFlume case; use shipFoam or navalFoam; firstStokes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2014, 06:53
Default Some questions about: waveFlume case; use shipFoam or navalFoam; firstStokes
  #1
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
Hi Niels,
I'm going to use your wave generation toolbox for my thesis. I've got some questions,I would be grateful if you answer them.
Can I add turbulence properties to waveFlume case and run it for RASmodel? Does it work well?
I'm going to use developed solvers like shipFoam or navalFoam. Is there a guide that how I can integrate these solvers with your toolbox? I've seen the guide for making waveDyMFoam solver. Should I follow the same steps?
Also, why it's needed to put all the wave properties in the waveProperties file when it's given firstStokes? Isn't Height, time Period, depth enough as inputs?

Best regards
Maryam
mary mor is offline   Reply With Quote

Old   January 20, 2014, 17:00
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Maryam,

The turbulence modelling is already available in waveFoam, but OpenFoam does not provide a useful set of turbulence models for two-phase (incompressible) flows. I would recommend you to read our article cited on the Wiki (Jacobsen et al, 2012).

With respect to a guide on coupling with either shipFoam or NavalPack, then I have not really worked with any of these packages/solvers, but I think it should be straightforward. Especially, if you also look into the guide on interDyMFoam.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   January 23, 2014, 05:00
Default
  #3
Member
 
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 12
mary mor is on a distinguished road
Hi Niel,

I had a look at your paper. You used k-w turbulence model which I think is not provided by openFoam. In tutorioals, I couln't find any case with turbulence model. They were all laminar. So I couldn't understand, how I should add turbulence to the cases.

I followed the instruction at first to make waveDyMFoam. The instruction wasn't compelely working. At last by changing some things, I could make the solver. But after runing it for a case it gives the error below:

Code:
-> FOAM Warning : 
    From function dlLibraryTable::open(const dictionary& dict, const word& libsEntry, const TablePtr tablePtr)
    in file lnInclude/dlLibraryTableTemplates.C at line 68
    library "libwaves2Foam.so" did not introduce any new entries



--> FOAM FATAL ERROR: 
Unknown function type surfaceElevation

Valid functions are : 

3
(
surfaces
sets
probes
)



    From function functionObject::New(const word& name, const Time&, const dictionary&)
    in file db/functionObjects/functionObject/functionObject.C at line 89.

FOAM exiting
Do you know what's it due to?
Thanks so much for your consideration.
Best regards,
Maryam
mary mor is offline   Reply With Quote

Old   January 24, 2014, 11:46
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo all,

@Maryam: I believe you need to link to libwaves2FoamSampling as well.
Furthermore, none of the tutorials are run with a turbulence model, because none of the standard (incompressible) turbulence models in OF can (my personal opinion) be used for free surface flows, because the diffusion across the free surface is too large, when the density is not accounted for. I have never come around to put corrected turbulence model(s) into waves2Foam, so for now, I recommend that you create your own, e.g. according to our article or any other turbulence model of your preference.

[Moderator note: answers to other posts removed, since the original post has been copied to the other as well.]

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; August 24, 2018 at 19:21. Reason: see "Moderator note:"
ngj is offline   Reply With Quote

Old   May 22, 2017, 06:41
Talking
  #5
New Member
 
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 8
Kun_zheng is on a distinguished road
Hi Niels,
I don't have "libwaves2FoamSampling.so" in my wave2foam. The list of my lib is attached below:

/home/kzheng/OpenFOAM/kzheng-4.0/platforms/linux64GccDPInt32Opt/lib
libOceanWave3D.so libOceanWave3DBuild.a libwaves2Foam.so libwaves2FoamPorosity.so libwaves2FoamProcessing.so

Could you tell me how to get the libwaves2FoamSampling.so? BecauseI need to use SurfaceElevation function.


Best regards,
Kun

Last edited by wyldckat; August 24, 2018 at 19:21. Reason: removed quote, since it's now provided directly above.
Kun_zheng is offline   Reply With Quote

Old   May 22, 2017, 07:46
Default
  #6
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Kun,

As you will see in this release note:

Release of a Wave Generation and Absorption Toolbox for OF

The sampling utilities are not supported on more recent versions of OpenFoam due to a restructuring of the functionObject environment. There is currently no time horizon for when the sampling utilities are supported on the most recent versions of OpenFoam and OpenFoam+.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 23, 2017, 05:23
Default
  #7
New Member
 
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 8
Kun_zheng is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hi Kun,

As you will see in this release note:

Release of a Wave Generation and Absorption Toolbox for OF

The sampling utilities are not supported on more recent versions of OpenFoam due to a restructuring of the functionObject environment. There is currently no time horizon for when the sampling utilities are supported on the most recent versions of OpenFoam and OpenFoam+.

Kind regards,

Niels
Hi Niels,

Thank you for your explanation. I think I have to install the previous versions of OpenFoam.

Best regards,
Kun
Kun_zheng is offline   Reply With Quote

Reply


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
Pressure instabilities with interDyMFoam for the floatingObject case nbadano OpenFOAM Running, Solving & CFD 15 October 15, 2021 06:35
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 14:39
Questions about a Turbulent Flat Plate Case tstorm FLUENT 2 August 11, 2009 14:16
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 19:32.