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

[waves2Foam] surfaceElevation sampling utilities

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2016, 11:34
Default surfaceElevation sampling utilities
  #1
Member
 
Join Date: Dec 2009
Posts: 49
Rep Power: 16
katakgoreng is on a distinguished road
Quote:
Originally Posted by ngj View Post
Good morning Hao,

To me, it sounds as if there are problems with the sampling utilities on 2.3 (and perhaps even above?). Could you please perform the following couple of tests:

1. Test whether the problem persists on static meshes, e.g. make a dambreak onto your cylinder with and without the surfaceElevation utility.

2. Perform your test case with line sampling instead of surfaceElevation. surfaceElevation is derived from the sampling utility in version 1.6 (if I remember correctly), so there could be some discrepancies.

If the problem still persists for '2', it suggests that there is a problem with multiple sampling in 2.3+ and that it is not related to surfaceElevation itself.

Good luck,

Niels

P.S. Rafa, thank you for the feed-back.
Hi Niels,

In regards of the sampling utilities, I have issue when sampling the surface elevation for negative times in which the sampling (done as post processing step using surfaceElevationDict) only occur from t=0s and disregard the negative time value.

There is no issue if the sampling is done as run-time post-processing. I have attached the case file & hope you can have a look at them. I'm using Openfoam 2.2.2 on Xubuntu 14.04.
Attached Files
File Type: zip Test_1.zip (10.3 KB, 7 views)
katakgoreng is offline   Reply With Quote

Old   November 17, 2016, 12:02
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
Hallo,

I do not have such an old version available, but have you tried the following?

Code:
surfaceElevation -time -1:
Perhaps, it is simply the time-selection routine that does not consider negative values by default. At least, I do not think that it originated from waves2Foam itself.

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   November 18, 2016, 05:27
Default
  #3
Member
 
Join Date: Dec 2009
Posts: 49
Rep Power: 16
katakgoreng is on a distinguished road
Quote:
Originally Posted by ngj View Post
Hallo,

I do not have such an old version available, but have you tried the following?

Code:
surfaceElevation -time -1:
Perhaps, it is simply the time-selection routine that does not consider negative values by default. At least, I do not think that it originated from waves2Foam itself.

Kind regards,

Niels
Many thanks. I have tried specifying "surfaceElevation -time -1:" but still got the same problem. I've also tried using openfoam 2.3.0, but the problem is still there. I guess it is due to time-selection routine then.
Attached Files
File Type: zip Test_1_of230.zip (9.2 KB, 2 views)
katakgoreng 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
sampling interval and sampling frequency beauty FLUENT 13 November 9, 2022 08:23
problem sampling a plane in parallel syavash OpenFOAM Post-Processing 0 May 7, 2018 10:15
Modeling sampling valve in CONVEARGE williamchina CONVERGE 2 September 13, 2016 01:16
Possible bug or limitation in stl-generated surface for sampling analysis Ali Blues OpenFOAM Post-Processing 3 April 27, 2016 09:30
sampling Data during calculation JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10


All times are GMT -4. The time now is 23:42.