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

Simulation in interFoam crashes before reaching the end time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2023, 13:50
Default Simulation in interFoam crashes before reaching the end time
  #1
New Member
 
Join Date: Apr 2023
Posts: 1
Rep Power: 0
chotea is on a distinguished road
Hello, everyone!

I am quite new to OpenFoam and have been having a really hard time with a simulation of a 3D tank with 3 impellers when using interFoam. More precisely, the problem is that the Courant number increases suddenly and the simulation stops.

Initially I thought that my mesh is the problem, but when I perform the "checkMesh -allGeometry -allTopology -writeAllFields" command it looks quite fine:
"Checking geometry...
Overall domain bounding box (-1.76084 -9.59407 -1.75941) (1.76027 0.0338586 1.75886)
Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
Mesh has 3 solution (non-empty) directions (1 1 1)
Boundary openness (-2.30972e-15 -3.47421e-17 1.02735e-15) OK.
Max cell openness = 3.75366e-16 OK.
Max aspect ratio = 20.488 OK.
Minimum face area = 0.000160125. Maximum face area = 0.0480543. Face area magnitudes OK.
Min volume = 2.70491e-05. Max volume = 0.00213372. Total volume = 91.8957. Cell volumes OK.
Mesh non-orthogonality Max: 68.7956 average: 11.4968
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 2.99374 OK.
Coupled point location match (average 0) OK.
Face tets OK.
Min/max edge length = 0.00124611 0.339891 OK.
<<Writing 8 near (closer than 1.08385e-05 apart) points to set nearPoints
*There are 777 faces with concave angles between consecutive edges. Max concave angle = 62.9378 degrees.
<<Writing 777 faces with concave angles to set concaveFaces
Face flatness (1 = flat, 0 = butterfly) : min = 0.754877 average = 0.999371
*There are 10 faces with ratio between projected and actual area < 0.8
Minimum ratio (minimum flatness, maximum warpage) = 0.754877
<<Writing 10 warped faces to set warpedFaces
Cell determinant (wellposedness) : minimum: 0.00185793 average: 0.183088
Cell determinant check OK.
***Concave cells (using face planes) found, number of cells: 3060
<<Writing 3060 concave cells to set concaveCells
Face interpolation weight : minimum: 0.1792 average: 0.478164
Face interpolation weight check OK.
Face volume ratio : minimum: 0.0522973 average: 0.895213
Face volume ratio check OK.

Failed 1 mesh checks.
".

Should I go on with work on the mesh or should I look somewhere else?

PS: I am using snappyHexMesh to get the mesh.

Thanks in advance!
chotea is offline   Reply With Quote

Old   June 21, 2023, 14:43
Default
  #2
New Member
 
Nikos
Join Date: Aug 2012
Location: Greece
Posts: 13
Rep Power: 13
nikoscham is on a distinguished road
Hi,

You should put a limit in the Courant number by adjusting the time step in cotrolDict:

Code:
maxCo    1.0;
 adjustTimeStep  yes;
I hope it helps!
Nikos
nikoscham is offline   Reply With Quote

Reply

Tags
interfoam, meshing, snappyhexmesh


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
What are the best settings for a channel flow simulation? Ashkan Kashani CFX 3 October 13, 2022 21:36
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


All times are GMT -4. The time now is 07:01.