CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

zig-zag results - reasons and how to get rid?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2013, 04:21
Default zig-zag results - reasons and how to get rid?
  #1
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
Hi,

Can anyone please tell me way and reasons why results of a simulation could have a zig-zag behaviour and possible ways to remove them?


Thanks!
Hooman is offline   Reply With Quote

Old   February 27, 2013, 05:33
Default
  #2
New Member
 
Luis
Join Date: Jul 2011
Posts: 8
Rep Power: 14
Lurapa is on a distinguished road
Are you using incompressible or compressible Navier Stokes?
Lurapa is offline   Reply With Quote

Old   February 27, 2013, 05:35
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Hooman View Post
Hi,

Can anyone please tell me way and reasons why results of a simulation could have a zig-zag behaviour and possible ways to remove them?


Thanks!
depends on the kind of model you are using, compressible or incompressible flows, viscous or not, then check for the stability contraints of your numerical method, chech for the grid regularity...
search for "odd-even decoupling", "numerical instability", "wiggles"
FMDenaro is offline   Reply With Quote

Old   February 27, 2013, 05:44
Default
  #4
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
Thanks,
Can you please suggest a book for checking the stability of a numerical scheme.
Hooman is offline   Reply With Quote

Old   February 27, 2013, 05:44
Default
  #5
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
My flow is compressible at low speeds of sound.
Hooman is offline   Reply With Quote

Old   February 27, 2013, 10:33
Default
  #6
New Member
 
Azita
Join Date: Jan 2013
Location: Canada
Posts: 4
Rep Power: 13
Azita is on a distinguished road
Quote:
Originally Posted by Hooman View Post
Hi,

Can anyone please tell me way and reasons why results of a simulation could have a zig-zag behaviour and possible ways to remove them?


Thanks!
Increasing the resolution of your grids, may also help to get rid of un-physical zig-zag behaviour.
Azita is offline   Reply With Quote

Old   February 27, 2013, 11:02
Default
  #7
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
tanx, what do you mean by increasing the resolution? do u mean refining the mesh?
I refined the mesh and the zig-zag become very small, I don't zoom in, the results almost seem smooth, but they still exist.
reducing the time step size does not have any effect.
Hooman is offline   Reply With Quote

Old   February 27, 2013, 12:18
Default
  #8
New Member
 
Azita
Join Date: Jan 2013
Location: Canada
Posts: 4
Rep Power: 13
Azita is on a distinguished road
Quote:
Originally Posted by Hooman View Post
tanx, what do you mean by increasing the resolution? do u mean refining the mesh?
I refined the mesh and the zig-zag become very small, I don't zoom in, the results almost seem smooth, but they still exist.
reducing the time step size does not have any effect.
I mainly meant mesh-resolution, but depending on the problem, there might be other ways to increase the resolution. For example if you are solving the Radiation equation, resolution can be increased by increasing the "Angular Discretization".

First off, try to increase your mesh resolution and if you are having high computational expense issue, there are various techniques to overcome like

i. Decrease the dimension from 3D to 2D if possible
ii. Start with high mesh sizes and then refine the mesh based on the initial solution as required

Later after you generated the results using the best mesh possible, simply take the average of the variable of interest over the area where physically it should remain constant. This way you can come up with more realistic values for variables of interest.
Azita is offline   Reply With Quote

Old   February 27, 2013, 12:27
Default
  #9
Senior Member
 
Join Date: Jun 2010
Posts: 111
Rep Power: 15
Hooman is on a distinguished road
Quote:
Originally Posted by Azita View Post
I mainly meant mesh-resolution, but depending on the problem, there might be other ways to increase the resolution. For example if you are solving the Radiation equation, resolution can be increased by increasing the "Angular Discretization".

First off, try to increase your mesh resolution and if you are having high computational expense issue, there are various techniques to overcome like

i. Decrease the dimension from 3D to 2D if possible
ii. Start with high mesh sizes and then refine the mesh based on the initial solution as required

Later after you generated the results using the best mesh possible, simply take the average of the variable of interest over the area where physically it should remain constant. This way you can come up with more realistic values for variables of interest.
Hi,
Thanks again. my problem is actually just 1D.
The results are realistic when the mesh is very fine, but it still has the zig-zag behaviour, not sure if that would be acceptable.
About taking the average of the area, is this something that is acceptable to do?
Hooman is offline   Reply With Quote

Old   February 28, 2013, 10:21
Default
  #10
Senior Member
 
Lefteris
Join Date: Oct 2011
Location: UK
Posts: 337
Rep Power: 15
Aeronautics El. K. is on a distinguished road
Which equation are you solving and what methods are you using?
__________________
Lefteris

Aeronautics El. K. 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



All times are GMT -4. The time now is 18:47.