CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Running first iteration issue

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By cnsidero

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2020, 09:13
Angry Running first iteration issue
  #1
New Member
 
Julien
Join Date: Jan 2020
Posts: 5
Rep Power: 6
Elboy is on a distinguished road
Hi, I have noticed somthing wrong with my export to OpenFOAM from the mesh software Pointwise. When I create a mesh, even the simplest one (a rectangle with inlet outlet and walls), the simulation crashes giving me the following :

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/simplefoam.exe
Date   : May 06 2020
Time   : 14:24:30
Host   : "LAPTOP-BBJV64ED"
PID    : 4452
I/O    : uncollated
Case   : C:/Users/juhus/OneDrive/Bureau/t
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


SIMPLE: no convergence criteria found. Calculations will run for 1000 steps.

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model SpalartAllmaras
Selecting patchDistMethod meshWave
RAS
{
    RASModel        SpalartAllmaras;
    turbulence      on;
    printCoeffs     on;
    sigmaNut        0.66666;
    kappa           0.41;
    Cb1             0.1355;
    Cb2             0.622;
    Cw2             0.3;
    Cw3             2;
    Cv1             7.1;
    Cs              0.3;
}

No MRF models present

No finite volume options present


Starting time loop

Time = 1

smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 1.01808483039e-005, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.999187340076, Final residual = 0.477171144829, No Iterations 1000
Generating stack trace...


Backtrace:
        ZN10StackTraceC1Ev [0x705c1465+0x25]
                 module: C:\PROGRA~1\BLUECF~1\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        ZN4Foam5error10printStackERNS_7OstreamE [0xa51c88+0x218]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam6sigFpe13sigFpeHandlerEi [0xa52af3+0x33]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        (No symbol) [0x403cad]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        _C_specific_handler [0x7ff82cc48048+0x98]
                 module: C:\WINDOWS\System32\msvcrt.dll
        0_chkstk [0x7ff82e0611cf+0x11f]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        RtlRaiseException [0x7ff82e02a209+0x399]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ff82e05fe3e+0x2e]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
        ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h [0x907a70+0xc0]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h [0x90b0f0+0xe80]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h [0x90c92f+0x36f]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE [0x65ef1c17+0x127]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfiniteVolume.dll
        (No symbol) [0x42d551]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        (No symbol) [0x42d84c]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        (No symbol) [0x44e342]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        (No symbol) [0x4013f7]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        (No symbol) [0x40152b]
                 module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simplefoam.exe
        BaseThreadInitThunk [0x7ff82de57bd4+0x14]
                 module: C:\WINDOWS\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ff82e02ce51+0x21]
                 module: C:\WINDOWS\SYSTEM32\ntdll.dll
I don't understand why the simulation crashes, while if i do the same mesh with snappyhexmesh (nothing else changes), the calculation runs. I've linked the files so may someone could tell me what is going on ...
Attached Files
File Type: zip test.zip (189.2 KB, 4 views)

Last edited by Elboy; May 6, 2020 at 09:35. Reason: Evolution of the issue
Elboy is offline   Reply With Quote

Old   May 6, 2020, 09:30
Default
  #2
Member
 
SimonStar's Avatar
 
Simon
Join Date: Sep 2019
Location: Germany
Posts: 51
Rep Power: 7
SimonStar is on a distinguished road
Do you have the boundarys right?
You need two empty Boundarys in a 2D-Mesh.
SimonStar is offline   Reply With Quote

Old   May 6, 2020, 09:37
Default
  #3
New Member
 
Julien
Join Date: Jan 2020
Posts: 5
Rep Power: 6
Elboy is on a distinguished road
Can you explain me why I need two ? I based my simulation on the ones from the tutorials, I let the files in attached so you might be sure if that's the mistake I made (I'm quite new to OpenFOAM)
Elboy is offline   Reply With Quote

Old   May 6, 2020, 17:28
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
imho, not enough info to reproduce or understand the issue.
HPE is offline   Reply With Quote

Old   May 7, 2020, 10:05
Default
  #5
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Renumber the mesh and it will run:

Code:
renumberMesh -constant -overwrite
HPE likes this.
cnsidero is offline   Reply With Quote

Reply

Tags
issues


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel for new CPUs Simbelmynė Hardware 22 January 5, 2018 17:41
Issue running simulation on CAD model Jagjourdan STAR-CCM+ 1 February 22, 2017 19:43
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
UDF running three times each iteration marauder Fluent UDF and Scheme Programming 1 August 4, 2014 10:37
Doubt - while running iteration, plz help sak FLUENT 0 September 7, 2005 00:16


All times are GMT -4. The time now is 03:46.