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

[waves2Foam] postProcessingWaves2Foam with OpenFOAM v1712

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By blaise

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2018, 14:43
Default postProcessingWaves2Foam with OpenFOAM v1712
  #1
New Member
 
Kayhan
Join Date: Jun 2014
Posts: 8
Rep Power: 11
ulgenk is on a distinguished road
I have an issue with postProcessingWaves2Foam, in fact. I am using version 17.12. However, postProcessing fuction is not working, now. Can anyone help me in this matter?

Create time


Reading g
Processing: regularSpectrum
Processing sub-action: interpolateSurfaceElevation
- Interpolation range: [0; 7]
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam:ostProcessingWaves::interpolationWeights(Fo am::List<std:air<double, int> > const&, Foam::Field<double> const&, Foam::Field<double>&, Foam::List<int>&, Foam::List<int>&) at ??:?
#4 Foam::interpolateSurfaceElevation::evaluate() at ??:?
#5 main in "/home/kulgen2018/OpenFOAM/kulgen2018-v1712/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 ? in "/home/kulgen2018/OpenFOAM/kulgen2018-v1712/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam"
Segmentation fault (core dumped)



and postProcessingProperties file is:

deleteParentOutputDirectory false;

regularSpectrum
{
callName surfaceElevation;

removeDuplicate true;
inputDir surfaceElevation1;

deltaT 0.01;
tMin 0; // Default: minimum time
tMax 7; // Default: maximum time

// The action list is a set of processes on the data
actionList ( interpolateSurfaceElevation trapz write2Ascii removeData );

nFreq 100;
period 1.35;
allDataSets true;
}
ulgenk is offline   Reply With Quote

Old   May 14, 2018, 17:28
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
See release note for compatibility with 1712:

Release of a Wave Generation and Absorption Toolbox for OF

Soft links may resolve the issue.

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   June 20, 2018, 09:04
Default
  #3
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Quote:
Originally Posted by ulgenk View Post
I have an issue with postProcessingWaves2Foam, in fact. I am using version 17.12. However, postProcessing fuction is not working, now. Can anyone help me in this matter?

Create time


Reading g
Processing: regularSpectrum
Processing sub-action: interpolateSurfaceElevation
- Interpolation range: [0; 7]
#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam:ostProcessingWaves::interpolationWeights(Fo am::List<std:air<double, int> > const&, Foam::Field<double> const&, Foam::Field<double>&, Foam::List<int>&, Foam::List<int>&) at ??:?
#4 Foam::interpolateSurfaceElevation::evaluate() at ??:?
#5 main in "/home/kulgen2018/OpenFOAM/kulgen2018-v1712/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 ? in "/home/kulgen2018/OpenFOAM/kulgen2018-v1712/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam"
Segmentation fault (core dumped)



and postProcessingProperties file is:

deleteParentOutputDirectory false;

regularSpectrum
{
callName surfaceElevation;

removeDuplicate true;
inputDir surfaceElevation1;

deltaT 0.01;
tMin 0; // Default: minimum time
tMax 7; // Default: maximum time

// The action list is a set of processes on the data
actionList ( interpolateSurfaceElevation trapz write2Ascii removeData );

nFreq 100;
period 1.35;
allDataSets true;
}
Hello Ulgenk,

I am facing the same trouble. Did you solve the problem? If so, please be so kind as to post your solution.

Cheers,

Pascal.
blaise is offline   Reply With Quote

Old   June 23, 2018, 07:17
Default
  #4
New Member
 
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7
oceanFoam is on a distinguished road
Quote:
Originally Posted by blaise View Post
Hello Ulgenk,

I am facing the same trouble. Did you solve the problem? If so, please be so kind as to post your solution.

Cheers,

Pascal.

Hello Pascal, hello Ulgenk,


I am seeing the exact same error now when running tutorial cases. Did you already find a solution? I downloaded and compiled waves2Foam completely "clean" now without any changes, but when compiling still get the error messages for OceanWaves. That is not a problem for now but later I am planing to work with the JONSWAP spectrum, so if anyone has a solution for this I would be very keen to hear it.


Thanks a lot.


Kind regards,


Simon
oceanFoam is offline   Reply With Quote

Old   June 25, 2018, 10:28
Default
  #5
New Member
 
Simon J S
Join Date: May 2018
Location: Edinburgh
Posts: 11
Rep Power: 7
oceanFoam is on a distinguished road
Quote:
Originally Posted by blaise View Post
Hello Ulgenk,

I am facing the same trouble. Did you solve the problem? If so, please be so kind as to post your solution.

Cheers,

Pascal.

Hello Niels,


is it possible that this error appears due to what is mentioned in the manual warning 1.1? Are the waves gauges used for the posProcessing and actually not functional in OpenFoam1712?


Thanks a lot!
Cheers,
Simon
oceanFoam is offline   Reply With Quote

Old   June 26, 2018, 07:27
Default
  #6
Member
 
P.A.
Join Date: Mar 2009
Location: Germany
Posts: 83
Rep Power: 17
blaise is on a distinguished road
Quote:
Originally Posted by oceanFoam View Post
Hello Pascal, hello Ulgenk,


I am seeing the exact same error now when running tutorial cases. Did you already find a solution? I downloaded and compiled waves2Foam completely "clean" now without any changes, but when compiling still get the error messages for OceanWaves. That is not a problem for now but later I am planing to work with the JONSWAP spectrum, so if anyone has a solution for this I would be very keen to hear it.


Thanks a lot.


Kind regards,


Simon
Hi Simon,
in the waveflume tutorial I found a minor typo in the Allrun script which causes this behaviour too. In the second to last line it reads
ln -s postsProcessing/surfaceElevationAnyName surfaceElevationAnyName

There is an "s" after post, so this would create a non functional softlink. At least when I tested it, the error in question can be generated with this wrong link. But it is the only appearance of this typo...

Does that help?

Best regards,

Pascal.
--
larry k and josephchou like this.
blaise 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
[OpenFOAM.com] v1712 on Ubuntu 18.04: "no completion added" arslanadeel OpenFOAM Installation 1 June 18, 2018 10:49
Time boundary condition OpenFOAM v1712 Ricardo1992 OpenFOAM 0 May 15, 2018 06:33
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 06:03.