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

OpenFOAM simulation crash

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2019, 07:29
Default OpenFOAM simulation crash
  #1
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 79
Rep Power: 6
Rasmusiwersen is on a distinguished road
Hi all,

I am trying to run an oscillatingPimpleFoam simulation on a simple geometry.
Depending on the mesh refinement, the simulation crashes (I have tried with different Co numbers ranging between 150 and 3).

Is there a way to control the Co number (changing deltaT does not change a thing)? I assume the crash is caused by the too high Co number, as a more coarse mesh runs just fine.

Thank you for your help!
Rasmusiwersen is offline   Reply With Quote

Old   March 13, 2019, 10:12
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 12
simrego is on a distinguished road
hi!


Add these to your controlDict or modify if present:


adjustTimeStep yes;
maxCo 0.9;


150 Co is HUGE!
With PIMPLE you can go up to like 5-10, or if your case is hell stable maybe more, but if you can try to keep Co under 1 for stability and accuracy purposes.
simrego is offline   Reply With Quote

Old   March 13, 2019, 10:24
Default
  #3
Member
 
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 79
Rep Power: 6
Rasmusiwersen is on a distinguished road
Thank you so much for your reply! I have admitted defeat, and tried my luck with SnappehexMesh instead. For some reason the gmsh mesh caused extreme instability. I don't know if it was because my model had very sharply defined edges (which is where i assume the cells with large Co is located), or what the reason was.

Nevertheless, with SnappyHexMesh i succeeded in getting the model to act a lot more stable.
Rasmusiwersen is offline   Reply With Quote

Reply

Tags
crash, mesh, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OpenFoam crash with dynamicMesh, cyclicAMI and MPI DAPL UD aendres OpenFOAM 5 February 25, 2019 05:18
UNIGE February 13th-17th - 2107. OpenFOAM advaced training days joegi.geo OpenFOAM Announcements from Other Sources 0 October 1, 2016 19:20
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
diesel Engine simulation in OpenFOAM karam OpenFOAM Running, Solving & CFD 1 March 1, 2011 09:46
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25


All times are GMT -4. The time now is 16:50.