|
[Sponsors] |
Foam::error::printStack after adding New Drag model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 26, 2018, 09:40 |
Foam::error::printStack after adding New Drag model
|
#1 |
New Member
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9 |
I have added one new drag model and compiled it successfully.
After that my new solver also I compiled. Than I run the default case 'Goldschmidt' with the new drag model it run succesfully in MPPICFoam solver. But when I am running my own case it gets stop somewhere between 0.1 to 0.2 sec of simulation.and shows following error. .................................................. ........... #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 ? in "/lib/x86_64-linux-gnu/libm.so.6" #4 pow in "/lib/x86_64-linux-gnu/libm.so.6" #5 Foam::EmmsAtdDragForce<Foam::KinematicCloud<Foam:: Cloud<Foam::MPPICParcel<Foam::KinematicParcel<Foam :article> > > > >::calcCoupled(Foam::MPPICParcel<Foam::KinematicPa rcel<Foam:article> > const&, double, double, double, double) const at ??:? #6 Foam::ParticleForceList<Foam::KinematicCloud<Foam: :Cloud<Foam::MPPICParcel<Foam::KinematicParcel<Foa m:article> > > > >::calcCoupled(Foam::MPPICParcel<Foam::KinematicPa rcel<Foam:article> > const&, double, double, double, double) const at ??:? #7 ? at ??:? #8 ? at ??:? #9 ? at ??:? #10 ? at ??:? #11 ? at ??:? #12 ? at ??:? #13 ? at ??:? #14 ? at ??:? #15 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #16 ? at ??:? Floating point exception (core dumped) .................................................. .................................... Can anybody please help me.I have read few PrintStack problems but unable to find my solution. |
|
February 26, 2018, 10:54 |
|
#2 |
Member
Anurag
Join Date: Aug 2014
Location: Germany
Posts: 57
Rep Power: 12 |
Usually happens when there is division by zero or similar error. I'd suggest recompiling your code using the following flag in your Make/options
Code:
-DFULLDEBUG -g -O0 |
|
March 10, 2018, 13:11 |
|
#3 |
New Member
SURAJ
Join Date: Jun 2017
Location: IIT KANPUR,India
Posts: 15
Rep Power: 9 |
Thanks a lot Anurag for reply,Actually it worked when I changed the mesh.
|
|
Tags |
printstack |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding New phaseCompressible Turbulence Model | scram | OpenFOAM Programming & Development | 34 | March 25, 2020 09:08 |
Adding a custom turbulence model in OpenFOAM 3.0 | Sylvain | OpenFOAM Programming & Development | 3 | July 18, 2016 09:15 |
Airfoil lift and drag using k-kl-omega turbulence model | hylleman | OpenFOAM Running, Solving & CFD | 6 | June 17, 2016 16:10 |
How to compile a new drag force in Lagrangian model | lilinmin | OpenFOAM Programming & Development | 4 | June 9, 2016 05:15 |
multiphase model and drag law | Yasmail AKARIOUH | FLUENT | 0 | April 29, 2008 08:44 |