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

Pressure convergence problems with directMapped

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2012, 08:02
Default Pressure convergence problems with directMapped
  #1
New Member
 
Arve
Join Date: Sep 2011
Location: Norway
Posts: 8
Rep Power: 15
Taltan is on a distinguished road
I am trying to simulate an infinite corrugated pipe using a single corrugation and a wedge. The solver is rhoPimpleFoam with LES Smagorinsky. The mesh is attached. checkMesh reports no errors with
Code:
Mesh non-orthogonality Max: 39.808437694 average: 4.9037417816
Max skewness = 0.5954216663 OK.
I used the pitzDailyDirectMapped setup but changed the sampleMode to nearestPatchFace. My entry in the boundary file is
Code:
    inlet
    {
        type            directMappedPatch;
        nFaces          37;
        startFace       8051;
	sampleMode	nearestPatchFace;
	samplePatch	outlet;
	offset		(0.0029 0 0);
	//sampleMode      nearestCell;
        //sampleRegion    region0;
        //samplePatch     none;
        //offsetMode      uniform;
    }
Boundary conditions:
U:
Code:
    inlet
    {
        type            directMapped;
        value           uniform (10 0 0);
	interpolationScheme cell;
	setAverage	true;
	average		(10 0 0);
    }
    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value           uniform (0 0 0);
}
p:
Code:
    inlet
    {
        type            zeroGradient;
    }
    outlet
    {
        type            waveTransmissive;
        field           p;
        phi             phi;
        rho             rho;
        psi             psi;
        gamma           1.3;
        fieldInf        1e5;
        lInf            1;
        value           uniform 1e5;
    }
I found that waveTransmissive performs better than fixedValue. The problem is that the pressure never converges properly. When running the outer correctors of the PIMPLE algorithm the pressure converges either at 10 loops or never (50 max). Mostly it does not converge. I think that the pressure and the flow field across the mapped patch is the problem, but I do not know how to fix this.

Any help would be greatly appreciated.
Attached Images
File Type: jpg mesh.jpg (58.2 KB, 25 views)
Taltan is offline   Reply With Quote

Old   March 15, 2012, 05:44
Default
  #2
New Member
 
Arve
Join Date: Sep 2011
Location: Norway
Posts: 8
Rep Power: 15
Taltan is on a distinguished road
If anyone is interested in running my case for themselves, I have uploaded my whole case with mesh.

http://dl.dropbox.com/u/39254711/case.zip
Taltan is offline   Reply With Quote

Old   March 16, 2012, 05:56
Default
  #3
New Member
 
Arve
Join Date: Sep 2011
Location: Norway
Posts: 8
Rep Power: 15
Taltan is on a distinguished road
Did you get that error with my case setup? I am running OF 2.0. The solver I am using for the pressure is GAMG, so that should not give an error.

EDIT: responded to a post here which has since been removed.

Last edited by Taltan; March 16, 2012 at 09:21.
Taltan is offline   Reply With Quote

Old   April 27, 2012, 04:59
Default
  #4
Member
 
Klio
Join Date: Mar 2012
Location: Austria
Posts: 45
Rep Power: 14
klio is on a distinguished road
Hello!

Im trying to do a multi Region sim and now I have to set Bc. It is not very clear for me what compressible::turbulentHeatFluxTemperature does and how I can change my BC so that OF don't want so cast my bc and how i can define an energy heatsource on my solid patch.

Can you help me with my problem?
klio is offline   Reply With Quote

Reply

Tags
cyclic, directmapped, infinite, pipe, pressure


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
"Pressure Inlet" Boundary Setup Wijaya FLUENT 15 May 18, 2016 11:08
convergence in unstedy problems hedge FLUENT 0 November 27, 2007 10:24
Please guide for pressure convergence Nav Main CFD Forum 2 May 26, 2003 04:34
Convergence problems Emilien FLUENT 3 May 3, 2002 09:43
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 14:19


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