- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **rhoCentralFoam flat plate boundary layer issues**
(*http://www.cfd-online.com/Forums/openfoam-solving/94218-rhocentralfoam-flat-plate-boundary-layer-issues.html*)

rhoCentralFoam flat plate boundary layer issuesAt the moment I am validating some solvers with the flat plate problem. I got good results for the laminar incompressible case (simplefoam) and the turbulent compressible transient (rhoPimpleFoam) case. Now I want to test rhoCentralFoam since this seems to be the solver that is best suited for the more advanced problem I want to set up. However, using the same mesh and boundary conditions and a very similar fvSchemes and fvSolution dict file (ofcourse with some differences since the terms to be calculated are different) I get a bad result on the last case. My wall shear stress is significantly underpredicted (more than 50%). I tried the k-epsilon wall model (but that wasnt stable if i wanted to keep the same setup as in the previous solvers) and the k-omega SST model. When using rhoCentralFoam in an incompressible domain without turbulence my wall shear stress is relatively close to what is expected.
Does anyone have a clue what is going on here and how I could fix it? It would help me tremendously. Thanks in advance! |

Hi,
I don't know if this will make some difference in your case, but I suggest you to take a look at this tread (especially post #11) http://www.cfd-online.com/Forums/ope...r-restart.html Regards V. PS-Anyway, could you also post your case settings (BC's, schemes, etc.)? |

I fixed the error in rhoCentralFoam as described on that page but the problem still persists. Basically I just have a square domain where the lower region is a wall with compressible k and omega wallfunctions, zero velocity zeroGradient for pressure and temperature. The flow is driven by a prescribed velocity at the inlet and a (wavetransmissive) pressure bc at the outlet. I really fail to see why my wall shear stress is so far away from empirical relations whilst with rhoPimpleFoam it was practically identical. The problem is that I cant use rhoPimpleFoam but have to use rhoCentralFoam. This in order to capture some shocks in a more advanced problem which failed to give good results with rhoPimpleFoam.
My fvSolution is the same as in the rhoCentralFoam tutorials (altough i did try lower tolerances and also some other solvers, but to no avail), and fvSchemes can be summarised as this (altough again i tried a 101 different setups for this as well) : fluxScheme Kurganov; //Tadmor ddtSchemes { default Euler; } gradSchemes { default Gauss linear; //faceLimited Gauss linear 1; //leastSquares 1; Gauss linear limited 0.5; } divSchemes { default Gauss linear; //Gauss limitedLinear 1; div(tauMC) Gauss linear; //Gauss linear limited 0.5; div((muEff*dev2(T(grad(U))))) Gauss linear; //Gauss linear limited 0.5; } laplacianSchemes { default Gauss linear corrected; //Gauss linear limited 0.5; } interpolationSchemes { default linear; reconstruct(rho) vanLeer; reconstruct(U) vanLeerV; reconstruct(T) vanLeer;} snGradSchemes { default corrected; } |

Quote:
1) try this fvSchemes setting (for me it works fine, though my measurements were not about wall shear stress): // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // fluxScheme Tadmor; ddtSchemes { default Euler; } gradSchemes { default cellLimted leastSquares 1; } divSchemes { default none; div(tauMC) Gauss linear; div(phi,k) Gauss Gamma 1; div(phi,omega) Gauss Gamma 1; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; reconstruct(rho) Gamma 1; reconstruct(U) GammaV 1; reconstruct(T) Gamma 1; } snGradSchemes { default corrected; } // ************************************************** *********************** // 2) be sure that the solution has reached a steady state condition: rhoCentralFoam is a purely unsteady solver, which uses a very small time step in order to satisfy the wave speed based Courant condition, so you'll have to run it for quite a long before obtaining a stable solution (if your case actually admits a steady state condition). Good luck V. |

Thanks, Ill try this. Will be a while before I can confirm if it worked though, slow solver indeed :p
I already tried the cell limited gradschemes (since in my more complex problem it gets rid of some unwanted oscillations) but this gave me a very bad boundary layer profile. Maybe in combination with the other settings it works and otherwise Ill try part of your fvschemes. Edit: Even though it has only been running for 45 minutes it is already obvious that you were right. The wall shear stress is approaching gradually the expected value (and is already really close) and the boundary layer profile only slightly underpredicts the log law. Thank you so much for your help! |

Quote:
Regards V. |

A problemHi to all, I'm trying to validate rhoCentralFoam by solving the flat plate problem, but when I try to contrast my results with Blasius' solution (for Minf=0.3, Pinf=100000 and Tinf=288.15) .
I see that although my profile are approaching to the Blasius' profile, as the solution progresses over time the profile shows a tendency to overestimate the boundary layer thickness. Any advice are welcome. Thanks in advance Felipe. Here are the profiles: https://copy.com/i4wct7vmG0Ry |

All times are GMT -4. The time now is 15:17. |