View Issue Details

IDProjectCategoryView StatusLast Update
0000803OpenFOAMBugpublic2013-04-02 10:14
Reporteruser632Assigned Touser4 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000803: Segmentation Fault (Core Dump)
DescriptionIn 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)". Please advise. I have also tried to change value of inlet and outlet in nut from 0 to 0.0001 but to no avail.
TagsNo tags attached.

Activities

user4

2013-03-27 09:08

  ~0002075

What is happening at 50 iterations? E.g. is it trying to write and run in a write-protected directory? Or are functionObjects being run. Can you attach a case?

user632

2013-03-27 09:34

  ~0002076

Many thanks for the swift response. Case is 8MB and could not be attached here. I have uploaded it at the following web-link

http://www.4shared.com/archive/U267rBPa/90mitretar.html

It contains all files. Image is also attached of the terminal showing the message.

Regards

user632

2013-03-27 09:35

 

error.png (301,247 bytes)

user4

2013-03-28 09:22

  ~0002077

I cannot download your file. Can you use another site?

user632

2013-03-28 10:38

  ~0002078

Thanks,please download at this link.

http://rapidshare.com/files/83104833/90mitre.tar.gz

Should work now but if it still does not, perhaps you can contact me at sihaqqi@gmail.com from some email address and I can send it to you on that.

Regards

user632

2013-04-01 11:55

  ~0002082

Last edited: 2013-04-01 11:56

Hi Mattijs,

To avoid wasting your time identifying same solutions, I intend to advise that posted this question at
http://www.cfd-online.com/Forums/openfoam-solving/115251-segmentation-fault-core-dumped.html
and I have tried all things but still errors remain. I need to get powerLawVelocity profile working and not use fixed velocity.

Regards

user4

2013-04-02 10:14

  ~0002083

The first line in your write routine goes

powerLawVelocityFvPatchVectorField::write(os);

so it recurses until it runs out of stack. I guess you want to do

fixedValueFvPatchVectorField::write(os);

To find these problems recompile with -DFULLDEBUG -g -O0 in EXE_INC in Make/options and use gdb or ddd on the resulting core file.

Issue History

Date Modified Username Field Change
2013-03-27 04:52 user632 New Issue
2013-03-27 09:08 user4 Note Added: 0002075
2013-03-27 09:34 user632 Note Added: 0002076
2013-03-27 09:35 user632 File Added: error.png
2013-03-28 09:22 user4 Note Added: 0002077
2013-03-28 10:38 user632 Note Added: 0002078
2013-04-01 11:55 user632 Note Added: 0002082
2013-04-01 11:56 user632 Note Edited: 0002082
2013-04-02 10:14 user4 Note Added: 0002083
2013-04-02 10:14 user4 Status new => closed
2013-04-02 10:14 user4 Assigned To => user4
2013-04-02 10:14 user4 Resolution open => no change required