CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Checker-board pressure in 1d? (https://www.cfd-online.com/Forums/main/140966-checker-board-pressure-1d.html)

Simbelmynė August 27, 2014 05:14

Checker-board pressure in 1d?
 
Hey,

Do we have the checker-board problem in 1d. Looking at the problem it seems we would have it, but I am unsure and I have no possibility to write a small test code to check it. All my text books on CFD only describe a 2d case, so if a 1d case is described in a text please point me to it.

Best Regards

tas38 August 27, 2014 08:42

Yes, the checkerboard pressure pattern can occur in 1d given the same storage location of pressures and velocities and central-differencing of the pressure gradient.

FMDenaro August 27, 2014 10:35

yes, it occurs if you discretize d/dx(dp/dx) as

((dp/dx)|i+1 -(dp/dx)|i-1)/2dx = (p(i-2)-2p(i)+p(i+2))4dx^2


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