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

Time step and CFL requirments for pimpleFoam case?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 04:07
Default Time step and CFL requirments for pimpleFoam case?
  #1
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Hello Foamers,

I have been trying to run an unsteady simulation using pimpleFoam on a C-D nozzle with an obstacle at the exit of the diffuser to validate with the literature. I have copied on of the cases provided in the solver, specifically pitzDaily. In that case, deltaT is 0.0001 and Courant number (CFL) is equal to 5. I created 2D mesh using gmsh to perform the simulations with air velocity of U=6m/s. The mesh spacing, which is shown below, has 0.02 between cells. I have been trying to adjust the value of CFL as well as deltaT, but I have no clue how to adjust these value since it is my first simulation in pimpleFoam. It seems that the unsteady simulation requires good experience unlike steady simulations. I am hopping if someone could suggest some documents or thoughts that bring up to speed to finish the validation. Also, if the grid below is not sufficient for the simulation, please suggest different strategy.

Thank you all,

mesh.jpg
CFD-Lover is offline   Reply With Quote

Old   June 23, 2016, 16:17
Default
  #2
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Any thoughts.....
CFD-Lover is offline   Reply With Quote

Old   June 23, 2016, 17:23
Default
  #3
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Any helps.....
CFD-Lover is offline   Reply With Quote

Old   June 23, 2016, 23:05
Default
  #4
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,273
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Quote:
Originally Posted by CFD-Lover View Post
Hello Foamers,

I have been trying to run an unsteady simulation using pimpleFoam on a C-D nozzle with an obstacle at the exit of the diffuser to validate with the literature. I have copied on of the cases provided in the solver, specifically pitzDaily. In that case, deltaT is 0.0001 and Courant number (CFL) is equal to 5. I created 2D mesh using gmsh to perform the simulations with air velocity of U=6m/s. The mesh spacing, which is shown below, has 0.02 between cells. I have been trying to adjust the value of CFL as well as deltaT, but I have no clue how to adjust these value since it is my first simulation in pimpleFoam. It seems that the unsteady simulation requires good experience unlike steady simulations. I am hopping if someone could suggest some documents or thoughts that bring up to speed to finish the validation. Also, if the grid below is not sufficient for the simulation, please suggest different strategy.

Thank you all,

Attachment 48516

Guess expected maximum velocity and the mesh size you know. From this you could guess time step and from this info set the courant number.
arjun is offline   Reply With Quote

Old   June 23, 2016, 23:23
Default
  #5
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Thank you for your kind reply. The maximum velocity might reach 12 m/s. What do you mean by mesh size? I mentioned earlier the mesh spacing, which is 0.02.

CFL = U dt/dx.

Could you please clarify? I could you provide you more details.
CFD-Lover is offline   Reply With Quote

Old   June 23, 2016, 23:26
Default
  #6
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
What do you think about the mesh attached?

mesh.jpg
CFD-Lover is offline   Reply With Quote

Old   June 23, 2016, 23:33
Default
  #7
Member
 
OpenFoam
Join Date: Jun 2016
Posts: 82
Rep Power: 9
CFD-Lover is on a distinguished road
Here is some information using checkMesh;

Create time

Create polyMesh for time = 0

Time = 0

Mesh stats
points: 687640
internal points: 0
faces: 1371459
internal faces: 683817
cells: 342546
faces per cell: 6
boundary patches: 7
point zones: 0
face zones: 0
cell zones: 1

Overall number of cells of each type:
hexahedra: 342546
prisms: 0
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0

Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology
front 342546 343820 ok (non-closed singly connected)
top 596 1194 ok (non-closed singly connected)
inlet 591 1184 ok (non-closed singly connected)
back 342546 343820 ok (non-closed singly connected)
Shroud 204 408 ok (non-closed singly connected)
bottom 596 1194 ok (non-closed singly connected)
outlet 563 1128 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (0 -6 0) (12 6 1)
Mesh (non-empty, non-wedge) directions (1 1 0)
Mesh (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (2.47487e-17 4.14214e-16 1.58304e-12) OK.
Max cell openness = 2.21226e-16 OK.
Max aspect ratio = 2.63839 OK.
Minimum face area = 0.000337264. Maximum face area = 0.0309486. Face area magnitudes OK.
Min volume = 0.000337264. Max volume = 0.000747852. Total volume = 143.951. Cell volumes OK.
Mesh non-orthogonality Max: 52.1914 average: 3.28999
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.674821 OK.
Coupled point location match (average 0) OK.

Mesh OK.

End
CFD-Lover is offline   Reply With Quote

Reply


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
How to determine time step size and Max. iterations per time step. pratik c FLUENT 46 January 21, 2024 12:21
courant number in vof reza_gharib1369 FLUENT 49 February 26, 2020 16:55
Dual time step implementation in openfoam Kossivi OpenFOAM Running, Solving & CFD 1 February 11, 2015 12:18
Unexpected deltaT decrease in pimpleFoam simulation robyTKD OpenFOAM Running, Solving & CFD 9 June 27, 2014 06:52
CFL in dual time stepping with implicit scheme dokeun Main CFD Forum 0 May 8, 2013 23:01


All times are GMT -4. The time now is 13:35.