CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [waves2Foam] setWaveParameters application, it results in a floating point exception and the core (https://www.cfd-online.com/Forums/openfoam-community-contributions/208033-setwaveparameters-application-results-floating-point-exception-core.html)

psahoo87 February 2, 2015 11:45

setWaveParameters application, it results in a floating point exception and the core
 
1 Attachment(s)
Hi Everyone,

I'm currently trying to run a single hull body interaction case with waves2Foam. I've successfully been able to compile waves2Foam with OF23x and as far as my trials, everything seems to be running smoothly. My issue currently is when my ./Allrun script runs the setWaveParameters application, it results in a floating point exception and the core is dumped. I've included the log.setWaveParameters file alongside the waveProperties.input and waveProperties files. Any help would be greatly appreciated!

ngj February 4, 2015 12:42

Good evening Pragyandeep,

It does not make sense to define the depth as negative. Change the sign and setWaveParameters works.

Kind regards,

Niels


All times are GMT -4. The time now is 13:50.