|
[Sponsors] |
June 13, 2015, 18:34 |
Projection method and mesh free
|
#1 |
New Member
Rime
Join Date: Jun 2015
Posts: 13
Rep Power: 11 |
I have a problem in my code (diverge)
to solve navier stokes equation, i use mesh free method (uniform) and projection method; in the boundary condition I have Neumann boundary for pressure and for intermediate velocity u^*=2 and u^* =0,I use U^*.\hat{n} = U^{n+1}.\hat{n} but I don't update the velocity in boundary ie i give all time u=2 and 0 is correct??? I don't know what's the problem, help please (sorry for my english) |
|
June 13, 2015, 19:01 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
Are you using an implicit method for diffusion in the momentum? if the physical u at the boundaries is steady you can let the same value but u* = u_n+1 is first order accurate in time (read the paper of Kim and Moin on JCP). However, that should not cause the divergence of the solution therefore check in the code for some bugs. |
||
June 13, 2015, 19:09 |
|
#3 |
New Member
Rime
Join Date: Jun 2015
Posts: 13
Rep Power: 11 |
I use Crank-Nicolson scheme for convective and diffusive terms
|
|
June 14, 2015, 05:15 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
||
June 14, 2015, 06:33 |
|
#5 |
New Member
Rime
Join Date: Jun 2015
Posts: 13
Rep Power: 11 |
thank you for your reply.
I supposed that the term u_n+1 is transported by u_n |
|
June 14, 2015, 06:39 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
so you are linearizing at first order...but the method should be second order accurate in time.. I suggest: 1) Use CN only for the diffusion and the second order Adams-Bashforth for the convective term 2) Check if you satisfy the continuity constraint in each cell at machine accuracy. You can see that also after 1 time step |
||
June 14, 2015, 06:54 |
|
#7 |
New Member
Rime
Join Date: Jun 2015
Posts: 13
Rep Power: 11 |
thank you I'll try that.
can you give me more information on suggestion 2) |
|
June 15, 2015, 15:43 |
|
#8 |
New Member
Rime
Join Date: Jun 2015
Posts: 13
Rep Power: 11 |
Hi Sir
I have a variable density, to solve the pressure equation I use radial basis function,( its the mesh method that I use) What is your advice? Thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problem with using the Delaunay volume mesh method | manahara | ANSYS Meshing & Geometry | 12 | December 25, 2014 22:54 |
Issue with arbitrary Lagrangian-Eulerian method and mesh optimization | mikolchon | Main CFD Forum | 0 | August 16, 2014 16:50 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |