|
[Sponsors] |
Unrealistic values in cells at edge (high pressure & velocity) - fvSchemes?! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 19, 2015, 16:03 |
Unrealistic values in cells at edge (high pressure & velocity) - fvSchemes?!
|
#1 |
Guest
Posts: n/a
|
Dear Foamers,
I'm trying to simulate a gas flow through an injector at high pressure levels up to p=400-500 bar and pressure ratios around pi=3-4. Attached you can find a picture of the involving mesh with the inlet on the left side and the three outlets on the right side which was created with cfMesh, cartesianMesh. The problem I'm dealing with is the edge at the nozzle. Some cells have very high values (U,p,ptot,rho), others that are very close have very low values. These skips are leading to the divergence after a few hundred iterations depending on the operating point and the initialization. Are there any smoothing operations for my fvSchemes? Or would you suggest another meshing-strategy? It's not a problem of the boundary conditions, I already figured that out... Here are my current fvSchemes: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default localEuler rDeltaT; } gradSchemes { default Gauss linear; grad(p) faceLimited Gauss linear 1.0; } divSchemes { default none; div(phi,U) Gauss upwind; div(phid,p) Gauss upwind; div(phi,h) Gauss upwind; div(phi,K) Gauss upwind; div(phi,k) Gauss upwind; div(phi,omega) Gauss upwind; div((muEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss upwind phi corrected; } interpolationSchemes { default skewCorrected linear; reconstruct(U) GammaV 1.0; reconstruct(p) Gamma 1.0; } snGradSchemes { default corrected; } fluxRequired { default no; p ; } // ************************************************************************* // |
|
August 20, 2015, 03:41 |
|
#2 |
Member
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18 |
Hi Matzbanni,
please can you specify used solvers and folder with initial conditions VB |
|
August 20, 2015, 03:47 |
|
#3 | |
Guest
Posts: n/a
|
Quote:
Regards! |
||
August 20, 2015, 17:00 |
|
#4 |
Senior Member
|
Hello,
By looking into provided information, I suggest the following: 1. Set the mut and alphat to slightly larger values that you expect in the final solution. Increased diffusion in the first couple of iterations could help stabilise the solution. 2. What is the maximum Co number in your case? It may beneficial to reduce it in the first couple of iteration while the solution changes rapidly. 3. What is the maximum non-orthogonality in the mesh, and where is it located? You could also improve convergence by switching on a few non-orthogonal corrector during the first couple of time steps. I hope this helps you a bit. Regards, Franjo
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
|
August 24, 2015, 08:36 |
|
#5 | |
Guest
Posts: n/a
|
Quote:
The maximal Courant number for my simulation is fixed at 0.4 (with local time stepping), the non-orthogonality is not an issue. Any ideas? |
||
August 24, 2015, 11:57 |
|
#6 | |
Senior Member
|
Quote:
Do you use optimiseLayer option for boundary layers? It is implemented to improve the smoothness and orthogonality of cells in the boundary layers, and out tests have shown beneficial impact on convergence and accuracy.
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||
August 24, 2015, 17:32 |
|
#7 | |
Guest
Posts: n/a
|
Quote:
due to the really high gradients in my setup that could have a major influence, you're right. I'll try to reduce the size ratio and will report tomorrow... There's no such option that I can define the (fixed) size of the first layer? Regards! |
||
August 24, 2015, 17:43 |
|
#8 | |
Senior Member
|
Quote:
You can specify the upper bound on the thickness of the first layer by setting the maxFirstLayerThickness where appropriate. Regards, Franjo
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||
August 24, 2015, 17:46 |
|
#9 |
Guest
Posts: n/a
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
limit high velocity values | riesotto | OpenFOAM | 7 | July 25, 2016 15:28 |
Unrealistic pressure values | dhaya400 | FLUENT | 1 | March 30, 2015 03:46 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |