|
[Sponsors] |
I get "segmentation fault (core dumped)" error running on tutorial. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2020, 13:08 |
I get "segmentation fault (core dumped)" error running on tutorial.
|
#1 |
Member
cal
Join Date: Feb 2020
Location: nowhere
Posts: 65
Rep Power: 6 |
Hi i am newbie in openfoam, i did draw a simple geometry in solidworks, i did mesh it with salome 8.4 NETGEN 1D-2D-3D (Image 1) and i saved it as a UNV file. Then i import openfoam7 with ideasUnvToFoam utility and i reorganize my boundarys like below downside. When i checkMesh there isn't any error but when i run my case with icoFoam i get the error which below downside. At first, code running like 5-10 second. How can i fix this, any suggestion?
(This case based on, incompressible/icoFoam/elbow tutorial.) Code:
//boundary conditions 6 ( wall-8 { type wall; inGroups List<word> 1(wall); nFaces 1424; startFace 210272; } wall-4 { type wall; inGroups List<word> 1(wall); nFaces 892; startFace 231346; } velocity-inlet-5 { type patch; nFaces 708; startFace 229924; } velocity-inlet-6 { type patch; nFaces 894; startFace 232238; } pressure-outlet-7 { type patch; nFaces 714; startFace 230632; } frontAndBackPlanes { type empty; inGroups List<word> 1(empty); nFaces 18228; startFace 211696; } ) Code:
//U file dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { wall-4 { type noSlip; } velocity-inlet-5 { type fixedValue; value uniform (1 0 0); } velocity-inlet-6 { type fixedValue; value uniform (0 3 0); } pressure-outlet-7 { type zeroGradient; } wall-8 { type noSlip; } frontAndBackPlanes { type empty; } } Code:
//p file dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { wall-4 { type zeroGradient; } velocity-inlet-5 { type zeroGradient; } velocity-inlet-6 { type zeroGradient; } pressure-outlet-7 { type fixedValue; value uniform 0; } wall-8 { type zeroGradient; } frontAndBackPlanes { type empty; } } Code:
//HERE MY ERROR. Time = 0.05 Courant Number mean: 0 max: 0 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.00196218, No Iterations 1000 smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.00416482, No Iterations 1000 DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0497356, No Iterations 213 DICPCG: Solving for p, Initial residual = 0.782642, Final residual = 0.0341562, No Iterations 3 DICPCG: Solving for p, Initial residual = 0.070055, Final residual = 0.00346525, No Iterations 5 time step continuity errors : sum local = 1.79148, global = 0.00113881, cumulative = 0.00113881 DICPCG: Solving for p, Initial residual = 0.0682077, Final residual = 0.00264397, No Iterations 6 DICPCG: Solving for p, Initial residual = 0.0310689, Final residual = 0.00152218, No Iterations 121 DICPCG: Solving for p, Initial residual = 0.772304, Final residual = 9.9493e-07, No Iterations 349 time step continuity errors : sum local = 0.000287421, global = 1.15992e-05, cumulative = 0.00115041 ExecutionTime = 52.03 s ClockTime = 53 s Time = 0.1 Courant Number mean: 68.3095 max: 906.024 smoothSolver: Solving for Ux, Initial residual = 0.689452, Final residual = 0.000668878, No Iterations 1000 smoothSolver: Solving for Uy, Initial residual = 0.684486, Final residual = 0.00454059, No Iterations 1000 DICPCG: Solving for p, Initial residual = 0.899822, Final residual = 0.0445746, No Iterations 195 DICPCG: Solving for p, Initial residual = 0.77014, Final residual = 0.0339018, No Iterations 3 DICPCG: Solving for p, Initial residual = 0.069489, Final residual = 0.00337637, No Iterations 5 time step continuity errors : sum local = 87.715, global = -0.219588, cumulative = -0.218437 DICPCG: Solving for p, Initial residual = 0.0654891, Final residual = 0.00323916, No Iterations 34 DICPCG: Solving for p, Initial residual = 0.0920922, Final residual = 0.0039362, No Iterations 3 DICPCG: Solving for p, Initial residual = 0.0141694, Final residual = 9.06831e-07, No Iterations 325 time step continuity errors : sum local = 0.023235, global = 0.000305516, cumulative = -0.218132 ExecutionTime = 104.26 s ClockTime = 105 s Time = 0.15 Courant Number mean: 6069.46 max: 137339 #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::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:? #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:? #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/icoFoam" #7 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/icoFoam" #8 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/icoFoam" #9 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/icoFoam" #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #11 ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/icoFoam" segmentation fault (core dumped) //i translate here in my language to english |
|
February 12, 2020, 18:17 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Setup problem, very likely.
Reduce time-step 100 times, or do use adjustableTimeStep.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 13, 2020, 13:56 |
|
#3 |
Member
cal
Join Date: Feb 2020
Location: nowhere
Posts: 65
Rep Power: 6 |
||
Tags |
error, mesh 2d, openfaom-7, salome mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation Fault (Core dumped) | sihaqqi | OpenFOAM Running, Solving & CFD | 16 | January 20, 2017 16:02 |
createPatch Segmentation Fault (CORE DUMPED) | sam.ho | OpenFOAM Pre-Processing | 2 | April 21, 2014 03:01 |
Segmentation fault (core dumped) in Axial_Rotor_MRF | sam.ho | OpenFOAM Running, Solving & CFD | 0 | March 17, 2014 02:42 |
Segmentation fault (core dumped) when changing pressure BC | jptorol | OpenFOAM Running, Solving & CFD | 0 | September 25, 2013 19:05 |
Segmentation Fault w/ compiled OF 2.2.0 - motorBike example | sudo | OpenFOAM Running, Solving & CFD | 3 | April 2, 2013 18:27 |