|
[Sponsors] |
March 12, 2018, 19:55 |
simpleFoam crashes
|
#1 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
When I try to run simpleFoam this is what I get. ANY help would be greatly appreciated.
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1712 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : v1712 Arch : "LSB;label=32;scalar=64" Exec : simpleFoam -parallel Date : Mar 12 2018 Time : 23:50:18 Host : "DESKTOP-EGDC4UU" PID : 1309 I/O : uncollated Case : /mnt/c/Users/Seang/Desktop/Microgen_CFD/OpenFOAM/Simple_Foam nProcs : 10 Hosts : ( (DESKTOP-EGDC4UU 10) ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 trapFpe: Floating point exception trapping enabled (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: convergence criteria field p tolerance 1e-06 field U tolerance 1e-06 field "(k|epsilon|omega)" tolerance 1e-06 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 kOmegaSST Selecting patchDistMethod meshWave bounding k, min: 0 max: 0 average: 0 bounding omega, min: 0 max: 0 average: 0 RAS { RASModel kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; decayControl false; kInf 0; omegaInf 0; } No MRF models present Creating finite volume options from "system/fvOptions" Selecting finite volume options type limitVelocity Source: Fluid_Domain - selecting cells using cellZone fluid_domain - selected 1570686 cell(s) with volume 5.18396e-06 ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[10351,1],7] Exit code: 142 |
|
March 13, 2018, 01:12 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
First try it with one processor.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 13, 2018, 09:41 |
|
#3 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
This is what I get with a single processor. I'm new to OpenFOAM and more than likely I have something wrong in one of the files.
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1712 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : v1712 Arch : "LSB;label=32;scalar=64" Exec : simpleFoam Date : Mar 13 2018 Time : 13:39:38 Host : "DESKTOP-EGDC4UU" PID : 1284 I/O : uncollated Case : /mnt/c/Users/Seang/Desktop/Microgen_CFD/OpenFOAM/Simple_Foam nProcs : 1 trapFpe: Floating point exception trapping enabled (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: convergence criteria field p tolerance 1e-06 field U tolerance 1e-06 field "(k|epsilon|omega)" tolerance 1e-06 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 kOmegaSST Selecting patchDistMethod meshWave bounding k, min: 0 max: 0 average: 0 bounding omega, min: 0 max: 0 average: 0 RAS { RASModel kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; decayControl false; kInf 0; omegaInf 0; } No MRF models present Creating finite volume options from "system/fvOptions" Selecting finite volume options type limitVelocity Source: Fluid_Domain - selecting cells using cellZone fluid_domain - selected 1570686 cell(s) with volume 5.18396e-06 |
|
March 13, 2018, 10:49 |
|
#4 |
Member
Join Date: Dec 2017
Location: Germany
Posts: 48
Rep Power: 9 |
Would be great and easier to help if you could provide us more information.
What are you trying to simulate? Which OpenFOAM version are you using? I guess v1712? You could also upload your case so we can look over it and see if we can help you. |
|
March 13, 2018, 11:03 |
|
#5 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
I'm modelling the flow around a fin array. The fluid domain is a section of the overall geometry. I am not taking symmetry into account just yet. Below shows the geometry, I have also attached the case folder. The .msh file which I exported from ANSYS, and the constant folder are not included due to its size. Thanks in advance
|
|
March 13, 2018, 13:33 |
|
#6 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
If you are new to OF (and new to CFD) you should not start with such a complicated model. Try to get some experience with simpler models, but the same physics.
I don't see how the simulation crashes with one processor. Does the los simply ends at the point you showed in your post? The files you submitted look rather normal. A factor we cannot vaule is the quality of the mesh. I am not a friend of meshes form "somehwere", because you don't know what you really get. Does it run in ANSYS?
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 13, 2018, 15:58 |
|
#7 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
Yes it was running in ANSYS, I had to use OpenFOAM due to a limit on the number on cells in ANSYS Academic. I did a checkMesh and everything seemed OK. I'll try what you suggest, same physics but with a simple pipe to see if that runs.
Thanks again for you help. |
|
March 13, 2018, 19:51 |
|
#8 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
Quick update.
I tried running the simpleFoam case with the pipe shown below. The result was the same, the solver initialises, and then stops before any iterations are carried out, the command prompt then appears (with 1 processor). I imported the fin array mesh into icoFoam and it ran. |
|
March 14, 2018, 01:10 |
|
#9 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Is this case simple enough to upload it? If we should support you directly we need the complete case.
If that it not possible I'd try to establish the case with blockmesh. It is far more powerful than thought at the forts moment. Your case (the complicated one) may be set with b.m. with moderate effort.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 14, 2018, 08:52 |
|
#10 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
The folder was too large to attach. It is available at https://ufile.io/71j94
|
|
March 14, 2018, 09:37 |
|
#11 | |
Member
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15 |
Quote:
hope this helps... |
||
March 15, 2018, 06:07 |
|
#12 |
Member
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8 |
I was able to get the simulation working. I worked back from the T3A tutorial, it would seem that the fvsolution and fvSchemes files were the source of the issue. However the simulation is still not running until convergence is achieved. I have also included a plot of residuals.
Time = 54 smoothSolver: Solving for Ux, Initial residual = 0.0645938, Final residual = 0.00539615, No Iterations 5 smoothSolver: Solving for Uy, Initial residual = 0.0865455, Final residual = 0.00641843, No Iterations 5 smoothSolver: Solving for Uz, Initial residual = 0.208413, Final residual = 0.020667, No Iterations 3 GAMG: Solving for p, Initial residual = 0.0358267, Final residual = 0.00224201, No Iterations 2 time step continuity errors : sum local = 36.5835, global = -1.02814, cumulative = -7.63515 ------------------------------------------------------- Primary job terminated normally, but 1 process returned a non-zero exit code.. Per user-direction, the job has been aborted. ------------------------------------------------------- -------------------------------------------------------------------------- mpirun detected that one or more processes exited with non-zero status, thus causing the job to be terminated. The first process to do so was: Process name: [[10353,1],6] Exit code: 145 Last edited by Sean95; March 15, 2018 at 12:50. Reason: Include image |
|
Tags |
crash, help needed, simplefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cyclicAMI + simpleFoam crashes in parallel | jmf | OpenFOAM Running, Solving & CFD | 6 | June 28, 2017 16:30 |
SimpleFoam crashes after restarting simulation | fedez91 | OpenFOAM Running, Solving & CFD | 18 | September 4, 2016 09:59 |
simpleFoam crashes (CFDSupport port of OpenFOAM for Windows) | mqsim | OpenFOAM Running, Solving & CFD | 5 | June 30, 2016 03:31 |
potentialFoam & simpleFoam crashes after snappyhexmesh [parallel execution] | pilot320 | OpenFOAM Running, Solving & CFD | 10 | November 12, 2015 17:56 |
simpleFoam crashes after 200 iterations | Svensen | OpenFOAM Running, Solving & CFD | 5 | November 5, 2015 02:32 |