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

[waves2Foam] Encountering Spectrum

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2014, 05:40
Default Encountering Spectrum
  #1
New Member
 
Jan Löhrmann
Join Date: Sep 2010
Posts: 21
Rep Power: 16
JanL is on a distinguished road
Hi All,

I'm currently working on implementing an encountering spectrum (where the velocity of e.g. a ship is not zero).
Therefore, I introduced the following steps:
1. In a previous step, I generated (copied from the original files, renamed and modified) stokesFirstwCurrent and stokesFirstwCurrentProperties where I introduced the vector "current" and changed eta and U accordingly. This works very well!
2. Afterwards, I generated (copied from the original files, renamed and modified) JONSWAPwCurrent, where the standard spectrum is modified to take account of encountering phenomena (by considering "current" again). Hence the frequencies and the respective amplitudes are modified. This modification works as well, as the spectrum shifts to higher frequencies and is being flattened. The area remains constant.
3. I generated (copied from the original files, renamed and modified) irregularwCurrent, where I modified the argument to take account of "current".
4. I generated (copied from the original files, renamed and modified) irregularwCurrentProperties, where I included stokesFirstwCurrentProperties.H in irregularwCurrentProperties.H.

Compilation is going well, but when setting the wave field, the current is not being considered (the velocity in the domain remains zero). I assume, that irregularwCurrentProperties isn't modified accordingly to consider the introduced vector "current". I attached all files, as well as the generated waveProperties. Does anybody have an idea how I need to change irregularwCurrentProperties to get it run?

I'd highly appreciate any comments!

Best regards
Jan
Attached Files
File Type: gz encounteringSpectrum.tar.gz (10.7 KB, 15 views)
JanL 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
Anomaly in energy spectrum arunsmec Main CFD Forum 17 June 3, 2017 08:38
Amplitude spectrum of temperature fluctuations selvam2487 CFX 0 March 16, 2014 14:59
spectrum: LES of a turbulent channel flow finally goes to turbulent liu OpenFOAM Running, Solving & CFD 6 November 1, 2011 02:00
Method to determine spectrum of turbulence? Walid Main CFD Forum 2 December 2, 2005 09:29
LES correlation and turbulent energy spectrum Fabian Main CFD Forum 4 October 18, 2005 03:04


All times are GMT -4. The time now is 00:51.