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

[waves2Foam] Stream Function wave theory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2018, 01:26
Default Stream Function wave theory
  #1
New Member
 
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 9
Kun_zheng is on a distinguished road
Hi Niels,

I find the code fragment of the wave theory: Stream Function theory is somewhat different from what described in manualWavesFoam_v090. I am not sure if I download the latest version of manual. But I think the code fragment of Stream Function theory you described in manual is much more convenient to use. Because I can not get the exact value of uBar, A(), and B(), which is necessary for using SF in waves2Foam, even if I have the streamfunction (CW263) code. I am really appreciated if you could give more guidance to have these value for a certain regular wave. Thank you !

Best regards,

Kun
Kun_zheng is offline   Reply With Quote

Old   March 14, 2018, 02:06
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Kun,

I do not understand your question. Stream function wave theory is part of setWaveParameters and it works as detailed in the manual. Maybe you use a too old version of waves2Foam? Check the appendix for corrections to the code and associated svn revision.

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   March 14, 2018, 21:41
Smile
  #3
New Member
 
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 9
Kun_zheng is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hi Kun,

I do not understand your question. Stream function wave theory is part of setWaveParameters and it works as detailed in the manual. Maybe you use a too old version of waves2Foam? Check the appendix for corrections to the code and associated svn revision.

Kind regards

Niels
Thank you for your reminder. I have understood where my problem is. I think I used to set the wave Properties in a wrong way.

Best regards,
Kun
Kun_zheng is offline   Reply With Quote

Old   March 15, 2018, 02:20
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Kun,

Please describe the wrong usage, so other users can learn.

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   March 16, 2018, 03:08
Smile
  #5
New Member
 
Kun Zheng
Join Date: May 2017
Location: Harbin, China
Posts: 20
Rep Power: 9
Kun_zheng is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hi Kun,

Please describe the wrong usage, so other users can learn.

Kind regards

Niels
Sure. I just modify the waveProperties file as like the code fragment of streamFunction.C. And then modified the executable file Allrun to avoid setWaveParameters. It works but not friendly. I did that because I did not read your manual when I begin to learn waves2Foam.

So I highly suggest the new waves2Foamer to read your manual firstly.

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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 11:05
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 11:20
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


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