|
[Sponsors] |
IcoUncoupledKinematicParcelFoam: getting sigsegv after adding particle |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 11, 2015, 17:03 |
IcoUncoupledKinematicParcelFoam: getting sigsegv after adding particle
|
#1 |
New Member
Subhasree
Join Date: Mar 2014
Location: IIT Bombay, India
Posts: 25
Rep Power: 12 |
Hi EveryOne,
I am working on a simple 3-D model to simulate particle flow through a rectangular domain. I have initially simulated it using laminar pisoFoam and no using its velocity field to simulate the particle flow. But on running icoUncoupledKinematicParcelFoam, I am getting the following error. I have attached a snap-shot of the error. I am new for this solver and am unable to understand. Please help! |
|
October 12, 2015, 15:55 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: "sigsegv" https://en.wikipedia.org/wiki/Segmentation_fault - is a segmentation fault due to a bad access to memory.
Can you please provide a test case?
__________________
|
|
November 17, 2015, 02:34 |
icoLagrangianFoam solver
|
#3 |
New Member
Subhasree
Join Date: Mar 2014
Location: IIT Bombay, India
Posts: 25
Rep Power: 12 |
Thanks! I have solved that problem. Presently I am working on using a modified icoLagrangianFoam Solver. Actly I am using adjustable time step. After making all the required modifications as I am using wmake I am getting the following error:
/home/subhasree/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:8:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] bool momentumPredictor = ^ /home/subhasree/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:11:10: warning: unused variable ‘transonic’ [-Wunused-variable] bool transonic = ^ /home/subhasree/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:14:9: warning: unused variable ‘nOuterCorr’ [-Wunused-variable] int nOuterCorr = ^ icoLagrangianFoam_new.dep:721: recipe for target 'Make/linux64GccDPOpt/icoLagrangianFoam_new.o' failed make: *** [Make/linux64GccDPOpt/icoLagrangianFoam_new.o] Error 1 Can anybody please suggest how may I solve this problem? |
|
November 17, 2015, 02:52 |
|
#4 |
Member
santhosh
Join Date: Apr 2009
Location: India
Posts: 70
Rep Power: 17 |
Can you post full error message. Your post only shows warnings and there is nothing to worry about above warnings about unused variables in my opinion.
|
|
November 17, 2015, 03:54 |
|
#5 |
New Member
Subhasree
Join Date: Mar 2014
Location: IIT Bombay, India
Posts: 25
Rep Power: 12 |
Please check the last 2 lines in the previous post:
icoLagrangianFoam_new.dep:721: recipe for target 'Make/linux64GccDPOpt/icoLagrangianFoam_new.o' failed make: *** [Make/linux64GccDPOpt/icoLagrangianFoam_new.o] Error 1 after this the compilation stops in between. I am also attaching the files if required. |
|
December 6, 2015, 15:10 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: I've finally managed to take a quick look into this. The complete output from wmake was this:
Code:
Making dependency list for source file icoLagrangianFoam_new.C SOURCE=icoLagrangianFoam_new.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/ofuser/foam/foam-extend-3.1/src/lagrangian/basic/lnInclude -I/home/ofuser/foam/foam-extend-3.1/src/lagrangian/intermediate/lnInclude -I/home/ofuser/foam/foam-extend-3.1/src/finiteVolume/lnInclude -I/home/ofuser/foam/foam-extend-3.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/ofuser/foam/foam-extend-3.1/src/foam/lnInclude -I/home/ofuser/foam/foam-extend-3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/icoLagrangianFoam_new.o icoLagrangianFoam_new.C: In function ‘int main(int, char**)’: icoLagrangianFoam_new.C:53:20: error: no match for call to ‘(Foam::Time) ()’ /home/ofuser/foam/foam-extend-3.1/src/foam/lnInclude/Time.H:64:7: note: candidate is: /home/ofuser/foam/foam-extend-3.1/src/foam/lnInclude/HashTableI.H:145:11: note: T& Foam::HashTable<T, Key, Hash>::operator()(const Key&) [with T = Foam::regIOobject*, Key = Foam::word, Hash = Foam::string::hash] /home/ofuser/foam/foam-extend-3.1/src/foam/lnInclude/HashTableI.H:145:11: note: candidate expects 1 argument, 0 provided /home/ofuser/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:8:10: warning: unused variable ‘momentumPredictor’ [-Wunused-variable] /home/ofuser/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:11:10: warning: unused variable ‘transonic’ [-Wunused-variable] /home/ofuser/foam/foam-extend-3.1/src/finiteVolume/lnInclude/readPISOControls.H:14:9: warning: unused variable ‘nOuterCorr’ [-Wunused-variable] make: *** [Make/linux64GccDPOpt/icoLagrangianFoam_new.o] Error 1 Code:
icoLagrangianFoam_new.C:53:20: error: no match for call to ‘(Foam::Time) ()’ Code:
while (runTime()) Code:
while (runTime.loop()) |
|
December 8, 2015, 05:46 |
|
#7 |
New Member
Subhasree
Join Date: Mar 2014
Location: IIT Bombay, India
Posts: 25
Rep Power: 12 |
Thanks a lot!!! It worked.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for particle interception with pt_termination fortran routine | abcdefgh | CFX | 6 | October 6, 2019 13:30 |
Particle Interaction is CFX; Adding Interparticle Attraction such as Van Der Waals | FrankS | CFX | 11 | November 12, 2013 19:53 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |
Adding extra compound to coal particle. | anthony05 | FLUENT | 0 | July 4, 2013 22:33 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 01:29 |