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

Simplefoam computation crashing during first step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2023, 06:39
Default Simplefoam computation crashing during first step
  #1
New Member
 
William Ord
Join Date: Jan 2023
Posts: 1
Rep Power: 0
word is on a distinguished road
Hello,
For my work, i have to emulate the flow of air around a bicycling helmet. For this purpose, we are using SALOME to mesh the helmet, with a mesh loking as follow. Capture d’écran 2023-01-20 113019.pngWe are then using simpleFoam to simulate the flow, with a $k-\omega$ SST model for the turbulences. The initial and boundary conditions are as follow :
- U = (1 0 0) m/s constant velocity at the inlet
- p = 0 (because it is incompressible it should'nt matter), constant at 0 at the outlet

turbulentKE0.0000375;
turbulentOmega5.103103630798289;




I'm trying to reach for 5 times y+ on the first cell height when meshing the boundary limit of the hemlet.


The mesh is still very coarse,and the quality is not ideal. See the log of checkmesh attached here mesh.txt.


Finally coming to my question : when i run simpleFoam with my params, it stops abruptly with no log and no warning after computing Uz during step 1:
Time = 1

smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0931717124567556, No Iterations 18
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0911694495182643, No Iterations 18
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0955307794068746, No Iterations 22


Does anyone have a clue about this ? Is this just a mesh issue ?
word is offline   Reply With Quote

Old   January 20, 2023, 13:20
Default
  #2
Member
 
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 52
Rep Power: 11
alexvaleije is on a distinguished road
Hi,
Reading your checkMesh file, it appears that the mesh has quite some issues in the (i think) most important fields, which are aspect ratio, where you have a maximum of 1e96, and some negative volume cells.

Usually, if some elements are incorrect, the solver tries to calculate but after the velocity iterations, crashes with a floating point exception in the pressure loop. It is weird that in your report doesn't appear the error and instaead of that just collapses.

My advice would be try to run the case again with a simpler mesh near the helmet on your first try to make sure that the other aspects of your setup are correct, and then add layers of complexity. I've never meshed with SALOME so I cannot help you with that.

Let me now if your problem is solved with a simpler mesh.

Regards,
Alex


Quote:
Originally Posted by word View Post
Hello,
For my work, i have to emulate the flow of air around a bicycling helmet. For this purpose, we are using SALOME to mesh the helmet, with a mesh loking as follow. Attachment 93065We are then using simpleFoam to simulate the flow, with a $k-\omega$ SST model for the turbulences. The initial and boundary conditions are as follow :
- U = (1 0 0) m/s constant velocity at the inlet
- p = 0 (because it is incompressible it should'nt matter), constant at 0 at the outlet

turbulentKE0.0000375;
turbulentOmega5.103103630798289;




I'm trying to reach for 5 times y+ on the first cell height when meshing the boundary limit of the hemlet.


The mesh is still very coarse,and the quality is not ideal. See the log of checkmesh attached here Attachment 93066.


Finally coming to my question : when i run simpleFoam with my params, it stops abruptly with no log and no warning after computing Uz during step 1:
Time = 1

smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0931717124567556, No Iterations 18
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0911694495182643, No Iterations 18
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0955307794068746, No Iterations 22


Does anyone have a clue about this ? Is this just a mesh issue ?
alexvaleije is offline   Reply With Quote

Reply

Tags
pressure, 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
lastestTime step does not start the computation from latest time step vava10 OpenFOAM Pre-Processing 1 April 13, 2021 16:44
LES, Courant Number, Crash, Sudden Alhasan OpenFOAM Running, Solving & CFD 5 November 22, 2019 03:05
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 14:20.