|
[Sponsors] |
July 2, 2009, 13:01 |
PISO Question
|
#1 |
Senior Member
|
Hi Foamers,
A small question about the PISO algorithm implemented in icoFoam and other solvers. The fvVectorMatrix UEqn, defined for the momentum predictor is recalculated in each time step of PISO. Why are the coefficients of this matrix not set to zero before the new time step? Are all the values of this matrix recalculated and overwrited in the next time step. My problem is that I am trying to solve a problem where I have extra tensions besides the newtonian stresses, and I noticed that a PISO starts well but then it starts to miss behave, in particular giving a completely wrong velocity profile. Can be problem be attributted to problems in the calculation of the coefficient matrix or not? Can someone help me out? Titio |
|
July 6, 2009, 06:33 |
|
#2 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
Titio,
In C++, variables live only up to the next "}". So, UEqn is created in line 63 and deleted in line 106 of icoFoam.C. Henrik |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PEqnflux in compressible and incompressible PISO loop | dbxmcf | OpenFOAM Running, Solving & CFD | 3 | September 27, 2019 07:13 |
Unanswered question | niklas | OpenFOAM | 2 | July 31, 2013 17:03 |
Question about PISO | kar | OpenFOAM Running, Solving & CFD | 6 | March 10, 2008 10:29 |
PISO vs. SIMPLE | benedikt flurl | Main CFD Forum | 2 | April 14, 2005 07:54 |
question | K.L.Huang | Siemens | 1 | March 29, 2000 05:57 |