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

Problems with an unsteady problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2012, 09:44
Default Problems with an unsteady problem
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear All,

I am running buoyantPimpleFoam to study an unsteady case, of course. I want to simulate the transient of the temperature inside a room, when I am cooling it down.

I have a complex mesh (I got it from Fluent) and I have both a structured and an unstructured mesh.
The point is that it works only if I choose these solvers:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    "rho.*"
    {
        solver			GAMG;
	preconditioner		GAMG;
	mergeLevels		1;
	smoother		GaussSeidel;
	agglomerator		faceAreaPair;
	nCellsInCoarsestLevel	100;
	tolerance		1e-08;
	relTol			0.01;
    }

    p_rgh
    {
        solver			GAMG;
	preconditioner		GAMG;
	mergeLevels		1;
	smoother		GaussSeidel;
	agglomerator		faceAreaPair;
	nCellsInCoarsestLevel	100;
	tolerance		1e-08;
	relTol			0.01;
    }

    p_rghFinal
    {
        $p_rgh;
        relTol          0;
    }

    "(U|h|k|epsilon|R)"
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance       1e-09;
        relTol          0.01;
	/*solver		smoothSolver;
        smoother	GaussSeidel;
        tolerance	1e-08;
        relTol		0.01;
    	nSweeps		1;*/
        /*solver			GAMG;
	preconditioner		GAMG;
	mergeLevels		6;
	smoother		GaussSeidel;
	agglomerator		faceAreaPair;
	nCellsInCoarsestLevel	100;
	tolerance		1e-08;
	relTol			0.01;*/
    }

    "(U|h|k|epsilon|R)Final"
    {
        $U;
        relTol          0;
    }
}

PIMPLE
{
    momentumPredictor yes;
    nOuterCorrectors 2;
    nCorrectors     3;
    nNonOrthogonalCorrectors 2;
}


// ************************************************************************* //
On the contrary, if I try to use either GAMG or smoothSolver I have a very strange behaviour at the interface (I mean where there is the transition between the structured and the unstructured mesh): the velocity increase (as if there is a source).
Do you know why this happens?
You can und that it is a very problem, since the solution should not depend on the solver I choose.

Any idea?

Thanks,

Samuele
samiam1000 is offline   Reply With Quote

Old   April 5, 2012, 04:49
Default
  #2
Member
 
Sachin Kanetkar
Join Date: Mar 2009
Posts: 57
Rep Power: 17
sachin is on a distinguished road
Hi Samuele..
Did you check changing value for nNonOrthogonalCorrectors...
Perhaps the solvers would be sensitive to this value...Just a passing thought ...

Best Luck
Sachin
sachin is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Using sliding mesh for unsteady turbomachinery problem happyman Main CFD Forum 3 July 8, 2011 15:29
unsteady convergence problem for bluff body Byukuya FLUENT 2 October 28, 2010 11:59
unsteady flow problems Daniel FLUENT 0 January 26, 2009 00:54
SOS: About VOF-Dynamic mesh unsteady problem whpsoft FLUENT 4 May 9, 2006 20:26
Question concerning about unsteady problem.... ghlee Main CFD Forum 6 October 2, 1998 06:36


All times are GMT -4. The time now is 08:27.