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

simpleFoam crashes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2018, 18:55
Unhappy simpleFoam crashes
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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
Sean95 is offline   Reply With Quote

Old   March 13, 2018, 00:12
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   March 13, 2018, 08:41
Default
  #3
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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
Sean95 is offline   Reply With Quote

Old   March 13, 2018, 09:49
Default
  #4
Eko
Member
 
Join Date: Dec 2017
Location: Germany
Posts: 48
Rep Power: 8
Eko is on a distinguished road
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.
Eko is offline   Reply With Quote

Old   March 13, 2018, 10:03
Default
  #5
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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

Attached Files
File Type: zip 0, system.zip (5.3 KB, 8 views)
Sean95 is offline   Reply With Quote

Old   March 13, 2018, 12:33
Default
  #6
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   March 13, 2018, 14:58
Default
  #7
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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.
Sean95 is offline   Reply With Quote

Old   March 13, 2018, 18:51
Default
  #8
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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.

Sean95 is offline   Reply With Quote

Old   March 14, 2018, 00:10
Default
  #9
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   March 14, 2018, 07:52
Default
  #10
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
The folder was too large to attach. It is available at https://ufile.io/71j94
Sean95 is offline   Reply With Quote

Old   March 14, 2018, 08:37
Default
  #11
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 93
Rep Power: 14
einstein_zee is on a distinguished road
Quote:
Originally Posted by Sean95 View Post
The folder was too large to attach. It is available at https://ufile.io/71j94
Dictionaries inside constant folder are light which you can upload them here easiliy. But in your case it is large because it contains the mesh data also. You may just send the original .stl files which are very light in size. In case if you don't have it you can use foamToSurface to convert your current mesh to an .stl file. Of course if you are importing it from a third party CAD program you can also export it directly from there with .stl extension.

hope this helps...
einstein_zee is offline   Reply With Quote

Old   March 15, 2018, 05:07
Default
  #12
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
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 11:50. Reason: Include image
Sean95 is offline   Reply With Quote

Reply

Tags
crash, help needed, simplefoam


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
cyclicAMI + simpleFoam crashes in parallel jmf OpenFOAM Running, Solving & CFD 6 June 28, 2017 15:30
SimpleFoam crashes after restarting simulation fedez91 OpenFOAM Running, Solving & CFD 18 September 4, 2016 08:59
simpleFoam crashes (CFDSupport port of OpenFOAM for Windows) mqsim OpenFOAM Running, Solving & CFD 5 June 30, 2016 02:31
potentialFoam & simpleFoam crashes after snappyhexmesh [parallel execution] pilot320 OpenFOAM Running, Solving & CFD 10 November 12, 2015 16:56
simpleFoam crashes after 200 iterations Svensen OpenFOAM Running, Solving & CFD 5 November 5, 2015 01:32


All times are GMT -4. The time now is 02:59.