simpleFoam convergence issue
I am new to OpenFoam. I am trying to simulate flow over an aircraft fuselage at Re=36000000. I have created my mesh in ansys meshing using cutcell method with inflation layers and y+ ~ 30 and imported it in Openfoam. I am using k omega SST model and I have specified all boundary conditions to the best of my knowledge. I am using simpleFoam as the solver. The solution does not converge and I am getting completely wrong results. I am pasting my case files below. Can someone please take a look and tell me where the problem is? Any help would be greatly appreciated.
K Code:
dimensions [0 2 -2 0 0 0 0]; Code:
dimensions [0 2 -1 0 0 0 0]; Code:
dimensions [0 0 -1 0 0 0 0]; Code:
dimensions [0 2 -2 0 0 0 0]; Code:
dimensions [0 1 -1 0 0 0 0]; Code:
solvers Code:
ddtSchemes Code:
application simpleFoam; |
did you run checkMesh to check if the quality of your mesh is Ok? Can you post snapshot of you mesh. I had the experience that if there are a lot of thetrahedra in the mesh you use openfoam has convergence problems
|
by the way are you sure you want to use an incompressible solver for an inflow velocity of 70m/s. I would guess that in some parts of your domain you will reach velocities where the Ma number is above the limit where the flow can be regarded as incompressible
|
2 Attachment(s)
Hi
I have attached the snapshot of the mesh and after giving the check mesh I have got Code:
/*---------------------------------------------------------------------------*\ Thank You |
Also after around a 150 iterations the solution used to give a error and i suspect the mesh would be the reason for that error
|
The mesh seems ok. Did you try to write out the solution a few iterations before it converges. This may give you a hint what's going wrong
|
Why do you use so many non orthogonal correctors. The mesh quantity does non require this from my experience
|
Should I set both of the non orthogonal correctors to 0 one in potential flow and SIMPLE and try running the case?
|
Only for simple. For potentialflow it is fine since I assume you use potentialfoam to initialize the flow field
|
Sure thank you I'll run the case and post the updates
|
1 Attachment(s)
I made the non orthogonal correctors 0 and ran the simulation please go through the logs attached.
Attachment 73550 |
If mesh and boundary conditions are fine and initialization with potentialFoam does not help, you might want to consider running a case with more numerical diffusion first. For example, use a coarser mesh, and choose 1st order upwind for the div terms of the momentum equations. If this one converges use mapFields to initialize your simulation with 2nd order schemes and finer mesh.
|
Some ideas from my bed:
- numerical predictions might not be time-invariant. might be there appears considerable extent time-variant patterns. - relaxation factors: increase p to 0.9 and the rest 0.7. - might use simplec instead of simple. if you use simplec, remove relaxation factor for p completely (delete those lines) - find alternative boundary conditions to freestream bpundary conditions, and do the tests. - depending on Ma number might consider to use an equivalent compressible solver |
All times are GMT -4. The time now is 11:55. |