|
[Sponsors] |
March 27, 2013, 01:38 |
Segmentation Fault (Core dumped)
|
#1 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
Hi
In my case, flow enters a pipe in +Y direction and turns at 90 degrees in +X direction. Flow is turbulent and Reynold's number is 3x10e5. Medium is air. When I type simpleFoam, after 50 iterations, terminal gives message "segmentation fault (core dump)". I have also tried to change value of inlet and outlet in nut from 0 to 0.0001 but to no avail. Please advise how to rectify this error. Regards |
|
March 27, 2013, 12:24 |
|
#2 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
Did you check to see if there may be any meshing errors?
|
|
March 27, 2013, 18:26 |
|
#3 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
it is not giving me the type of error. i made my geometry and meshing in ansys. in fluent it was working fine, but this is my MS project and according to my supervisor, i have to work in openfoam. how can i determine the type of error. does ubuntu use any particular software for this or are there any special commands to track the source.
this is my first time with openfoam so i am a bit struggling. thanks for response. |
|
March 27, 2013, 18:28 |
|
#4 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
Thanks for the response.
It is not giving me the source of error. I made my geometry and meshing in ansys. In fluent it was working fine, but this is my MS project and according to my supervisor, I have to work in openfoam. How can i determine the type of error. does ubuntu use any particular software for this or are there any special commands to track the source. This is my first time with openfoam so i am a bit struggling. error image is attached. complete case is at this address http://www.4shared.com/archive/U267rBPa/90mitretar.html Regards Last edited by sihaqqi; March 28, 2013 at 01:27. |
|
March 28, 2013, 09:23 |
|
#5 |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15 |
Maybe the problem is due to the bounding of epsilon. What BC did you use for the epsilon equation?
Did you already make a checkmesh run? Do you have non-orthogonal or higly skewed cells in your mesh. Fluent has much more "dark magic" in its solvers so they are more robust to bad meshes. have you already tried to start the simulation from a potentialFoam run? Greetz, Jim Maybe you should reproduce your mesh with BlockMesh, this ensures a better mesh quality Last edited by JimKnopf; March 28, 2013 at 09:24. Reason: Got another Idea |
|
March 28, 2013, 10:04 |
|
#6 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
Hello Jim
checkMesh results are attached. blockMesh is valid only if there is a blockMesh dict. I used Ansys DesignModeler for geometry and Meshing. Anyways, checkMesh results are good as in the image. My complete case is at http://rapidshare.com/files/83104833/90mitre.tar.gz should you want to check it. I have only used simpleFoam epsilon value is 862.132 as mean free stream velocity is 75.5m/s What do you mean by bounding of epsilon. For BC, please refer to my calculation sheet. I am a beginner level openFoam user so I am still learning basic stuff. Thanks for your response. I appreciate it. Regards |
|
March 29, 2013, 19:32 |
|
#7 |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15 |
Hi Sihaqqi
The checkMesh looks OK. But in the screenshot of the log (first post), there is a line, Bounding of epsilon. This might be the cause of the segmentation fault. If your case is a pipe, then you should give potentialFoam a try for a starting solution. Just run potentialFoam and afterwards simpleFoam. This might reduce Gradients and there make it more easy for the solver to iterate a steady and stable solution. I tried download your case but you have denied download permission, so I couldn't. If you grant download access i can have a look at your case. Greetz Jim |
|
March 30, 2013, 01:21 |
|
#8 |
Member
Eric Robertson
Join Date: Jul 2012
Posts: 95
Rep Power: 15 |
sihaqqi,
I wonder if using linearUpwind for epsilon will help this, or any other bounded scheme. I have had a similar issue before and a scheme change always helped in this situation. |
|
March 30, 2013, 01:54 |
|
#9 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
msuaeronautics
thanks, i am trying to find where and how to change schemes as I am only a beginner with OpenFoam. I shall go through some documentation in OpenFoam and if I can find a tutorial, I shall run and advise you on the result Jim, I am also trying to implement your advise from motorbike tutorial and as a result I have made a new omega file and made some modifications in fvsolution file but still I cannot run first potentialFoam and then simpleFoam. In fact it is giving strange errors which means I have not implemented conditions properly. The files I have uploaded on links I have given above does not contain omega and fvschemes changed file. It still contain the same files. Perhaps you may want to have a look at them as I have discovered how to give public access on both links. If you have any tutorial in pdf which advise the whole thing, I can try at my end. Many thanks to you both for your precious time. Regards |
|
March 30, 2013, 08:35 |
|
#10 |
Member
Jim Knopf
Join Date: Dec 2010
Posts: 60
Rep Power: 15 |
Hi there,
i got your case running, although bounding of epsilon is still active. Anyways, what I did was to initialize with potentialFoam - if you like to call it this way. You need to add a potentialFoamdict to your fvSolutions Code:
potentialFlow { nNonOrthogonalCorrectors 10; } Code:
laplacian(1,p) Gauss linear corrected; then it was running on my computer, or is still running I have another hint on your case, I think you should definitly refine the mesh around the bend. This is a sharp corner and you definitly get separation behind it. Maybe you can think of a scaled Version of your case, then it wouldn't need so much computational power. HTH, greetz, Jim p.s.: I didn't use the powerlaw BC, just a fixedValue, but I think it should work anyway |
|
March 30, 2013, 20:45 |
|
#11 |
Senior Member
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16 |
thanks Jim but it is the powerLawVelocity profile which is creating trouble. I intend to refine mesh considerably once I see that this profile which is 1/7th power Law is working alright as the next step is LES. I shall give you a background of the project.
My project is tee junction and turbulence around it. The reason why my supervisor has advised me to do the elbow is because it is half and has symmetry. Once I will do tee junction, another 4m leg shall be added on the other side and geometry will not be symmetry but full circular pipe which means cells will be 4x what they will be in a refined mesh. You are correct and I shall have to go for very refined mesh but at this stage I need to get this velocity profile working in smaller time as compared to what it would be in a refined mesh. Right now I have 125000 cells. My other refined mesh which I made for same geometry has 850,000 cells but it requires more time to get these errors or results. Once I make a tee with circular pipe it shall be more than 2 million. This is the first phase of my MS by research project. I must get velocity profile working. I shall reduce vertical upstream leg to reduce computations as I can have developed flow in smaller dimensions. Second phase of the project include frequency measurement of forces and vibrations those forces are creating. Excessive vibrations at tee junctions are a constant issue and sometimes hairline cracks happen. I have again tried with what you have said and result is still same except for the fact that bounding of epsilon has removed but segmentation failure is there. Thanks for all your support. |
|
June 30, 2016, 04:04 |
segmentation core dumped
|
#12 |
New Member
Kumar Gaurav
Join Date: Jun 2016
Location: Mandi, Himachal Pradesh
Posts: 1
Rep Power: 0 |
Hello dear all,
I am beginner in OpenFOAM and facing a very trivial problem of segmentation core dumped issue, even after 2-3 days i am not able to resolve this. If any one of you can help me, i will highly thankful. I am posting my pic of terminal.. sudhir@sudhir:~$ cd OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike/ sudhir@sudhir:~/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike$ ls 0.org 500 Allclean Allrun constant postProcessing processor0 system sudhir@sudhir:~/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike$ ./Allrun Running surfaceFeatureExtract on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike Running blockMesh on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike Running decomposePar on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike Running snappyHexMesh in parallel on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike using 6 processes Running patchSummary in parallel on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike using 6 processes Running potentialFoam in parallel on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike using 6 processes Running simpleFoam in parallel on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike using 6 processes Running reconstructParMesh on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike Running reconstructPar on /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike sudhir@sudhir:~/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike$ paraFoam created temporary 'motorBike.OpenFOAM' --> FOAM FATAL IO ERROR: cannot find file file: /home/sudhir/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike/system/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Segmentation fault (core dumped) sudhir@sudhir:~/OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/simpleFoam/motorBike$ Thanks in advance |
|
June 30, 2016, 06:12 |
|
#13 |
Member
Bruno
Join Date: Jun 2016
Location: Siegen, Germany
Posts: 59
Rep Power: 10 |
What is your folder structure? It seems to look for controlDict in motorBike/system/system, while this should just be motorBike/system.
|
|
December 6, 2016, 07:17 |
|
#14 |
New Member
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 10 |
Hii
My problem is am using a laminar flow inside a rectangular duct in simplefoam. after 15 iteration am getting a error message as floating point error core dumped how can i rectify it.... somebody help me with it. Thank you |
|
December 6, 2016, 11:51 |
|
#15 | |
Member
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 10 |
Quote:
Could be almost anything. What's your max courant number? Any checkMesh errors? Have you tried running in a debug build of OpenFOAM and looking up what the program is doing when it crashes? |
||
December 9, 2016, 08:27 |
|
#16 |
New Member
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 10 |
hai karenRei thank you for replying there is no checkmesh and the error message is
error printstack error solve sergregation |
|
January 20, 2017, 16:02 |
|
#17 |
New Member
Join Date: Jan 2017
Posts: 5
Rep Power: 9 |
Hi guys,
I think this problem can be rise even regardless of your case. I am running OF on a virtual machine and even when I type "foamList -list" in terminal, after showing the list, this "Segmentation fault (core dumped)" error pops up. I have no clue about the reason. |
|
Tags |
core dumped, segmentation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Segmentation Fault w/ compiled OF 2.2.0 - motorBike example | sudo | OpenFOAM Running, Solving & CFD | 3 | April 2, 2013 18:27 |
segmentation fault when installing OF-2.1.1 on a cluster | Rebecca513 | OpenFOAM Installation | 9 | July 31, 2012 16:06 |
KIVA and Segmentation Fault | Felix | Main CFD Forum | 2 | January 18, 2006 02:24 |