CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Diverging runs with 3d double cone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2017, 22:48
Default Diverging runs with 3d double cone
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Hi,

I'm simulating a 3d double cone in high speed flow using rhoCentralFoam. Initially I used a coarse grid (0.4M cells) and although the speed is slow, it runs fine with 4 procs. Using more procs doesn't seem to help much.

I then changed to a finer grid with 4M cells. It diverges after a very short while - about 1 min. I tried to reduce the initial time step to as low as 1e-12, with a low CFL of 0.1 but it still diverges.

So I'm wondering what should I change now?

For BC, most faces are more or less standard (fixed value inlet, symmetry).

For the outlet, I'm using inletOutlet and waveTransmissive for U and p. I wonder if I need to change.

For the fvSolution, I'm using:

solvers
{
"(rho|rhoU|rhoE)"
{
solver diagonal;
}

U
{
/*solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-9;
relTol 0.01;*/
solver PCG;
preconditioner FDIC;
tolerance 1e-09;
relTol 0.01;
}


while for the fvSchemes, I'm using:

fluxScheme Kurganov;

ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default none;
div(tauMC) Gauss linear;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;//limitedLinear 1.0; //
reconstruct(rho) upwind;//vanLeer; MUSCL; Gamma
reconstruct(U) upwind;//vanLeerV; MUSCL; GammaV
reconstruct(T) upwind;//vanLeer; MUSCL; Gamma
}

snGradSchemes
{
default corrected;
}


Being a new user to OpenFOAM, I hope someone can give some advice.

Thanks!
quarkz 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 04:34
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 07:09
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


All times are GMT -4. The time now is 00:07.