|
[Sponsors] |
[waves2Foam] working of waveDyMFoam and postProcessWaves2Foam: modified solver affected reloading |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2014, 04:18 |
working of waveDyMFoam and postProcessWaves2Foam: modified solver affected reloading
|
#1 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi,
I used waves2Foam solver successfully and got the surfaceElevations right for waveflume case. Then I tried to compile waveDyMFoam which worked successfully. In order to do this I recompiled waves2Foam and other softwares. Then I tried to compile the waveFlume case again. But the error below is shown in log.postProcessWaves2Foam file: Code:
Create time Reading g Processing: regularSpectrum Processing sub-action: interpolateSurfaceElevation - Interpolation range: [10; 0.969063] --> FOAM FATAL ERROR: bad size -903 From function List<T>::List(const label size, const T&) in file lnInclude/List.C at line 69. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Foam::List<double>::List(int, double const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #3 Foam::postProcessingWaves::equidistantTime(Foam::List<std::pair<double, int> > const&, Foam::dictionary const&) in "/home/maryam/OpenFOAM/maryam-2.1.0/platforms/linuxGccDPOpt/lib/libwaves2FoamProcessing.so" #4 Foam::interpolateSurfaceElevation::evaluate() in "/home/maryam/OpenFOAM/maryam-2.1.0/platforms/linuxGccDPOpt/lib/libwaves2FoamProcessing.so" #5 in "/home/maryam/OpenFOAM/maryam-2.1.0/platforms/linuxGccDPOpt/bin/postProcessWaves2Foam" #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #7 in "/home/maryam/OpenFOAM/maryam-2.1.0/platforms/linuxGccDPOpt/bin/postProcessWaves2Foam" How can I fix this? I think there were some problems with the recomplition of the solver. Besides is there any problem with the working of waveDyMFoam and postProcessWaves2Foam? Thanks in advanced |
|
June 16, 2014, 13:53 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Mary,
All I can see is that you are interpolating in a list, which begins at larger time that it ends, so the interpolation routine does not know what to do. Either you have a simulation with waveDyMFoam, which crashed, or you are suffering from the issue with wave probes on moving meshes, which for some reason does not work in certain cases (or on more recent platforms?). This has been discussed several times above, but I am unaware of a solution. 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. |
|
July 9, 2014, 03:50 |
|
#3 | |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Quote:
Regarding to my previous post, I found out the problem was that endTime in controlDict was less than the tMin in postProcessing file. Now I've got another question. The distribution of gauges in probeDefinition is as lineDistribution with a constant distance between them. How can I add gauges in the specified points in the tank. I've got a floating object in the domain, so I can not specify them as lineDistribution, because some of them will be in the field of floating object. I saw there was a pointDistributions.C file in the source folder. Is it possible to use this kind of distribution. I would be thankful Niel if you answer me soon because I'm in a hurry Thanks so much for your attention |
||
July 9, 2014, 17:53 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Good evening,
@Maryam: If you make a spelling error in lineDistribution you are given all the possible options when the pre-processing program fails - otherwise it should be straight forward for you to code your own stuff. 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; October 8, 2018 at 11:16. Reason: removed answer to another post that was on the main thread |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solver "command not found" error | kilroy | OpenFOAM | 10 | August 30, 2018 05:56 |
[waves2Foam] compiling a new solver with wmake: waveDyMFoam | Anna.Mozhgani | OpenFOAM Community Contributions | 12 | October 18, 2016 17:29 |
[waves2Foam] Problems in Operating waveDyMFoam in openfoam 2.3.1 | zhxter | OpenFOAM Community Contributions | 2 | May 18, 2015 21:57 |
Segmentation fault running waveDyMFoam solver (mod. interDyMFoam solver - waves2Foam) | Ed R | OpenFOAM Running, Solving & CFD | 5 | July 2, 2013 12:36 |
New solver compile error | kilroy | OpenFOAM Programming & Development | 11 | April 29, 2013 11:52 |