|
[Sponsors] |
Error during iterations. Modifications on shallowWaterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2018, 12:12 |
Error during iterations. Modifications on shallowWaterFoam
|
#1 |
New Member
Daniel Camilo Roman Quintero
Join Date: May 2018
Posts: 1
Rep Power: 0 |
Hello everybody. I have modified the shallowWaterFoam solver in order to add some restrictive stresses and address a land slide flow model which momentum equation is quite similar to these from the shallow water problem. I compiled the solver and run simple a case (the same squareBump), it begins calculating but then after some iterations I got this error:
Code:
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #4 ? at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? Code:
if (pimple.momentumPredictor()) { solve(hUEqn == (-1.0/rho)*(h*kap*rho*gTz*soli*fvc::div(Tsd) +sign(graUyx)*h*rho*gTz*soli*fvc::div(Tss) +sign(graUxy)*h*rho*gTz*soli*fvc::div(Tsi) +h*rho*gTz*soli*tan(phib)*(GUx+GUy) -nuf*mu*h*divgUT -rho*gTrans*h) ); // Constrain the momentum to be in the geometry if 3D geometry if (mesh.nGeometricD() == 3) { hU -= (gHat & hU)*gHat; hU.correctBoundaryConditions(); } } Regards, Daniel. PS: I attached couple files. One is the "log" file and the other is the solver landSlideFoam.C |
|
Tags |
land slide, shallowwaterfoam, sigfpe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |