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

pressureGradientExplicitSource fvOptions - Problems on different meshes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 3, 2015, 10:50
Default pressureGradientExplicitSource fvOptions - Problems on different meshes
  #1
Member
 
Join Date: May 2015
Posts: 68
Rep Power: 3
hcl734 is on a distinguished road
Hi all,
I am simulating a 2D-rib with periodic boundary conditions where OUTLET data is mirrored to INLET.
To keep the mass flow constant I am using pressureGradientExplicitSource in the fvOptions dictionary.

Quote:
momentumSource
{
type pressureGradientExplicitSource;
active on; //on/off switch
selectionMode all; //cellSet // points //cellZone

pressureGradientExplicitSourceCoeffs
{
fieldNames (U);
Ubar ( 1 0 0 );
gradPini gradPini [0 2 -2 0 0] 0; // initial pressure gradient
flowDir (1 0 0); // flow direction
}
}

So obviously I want to keep speed constant at 1m/s.
To look at avg(U) I select all cells of my geometry and use plotSelectionOverTime with only statistics chosen,
It works fine on a coarse mesh, consisting only of quadratic blocks (AR=1).



The velocity oscillates a little but becomes constant quickly at the desired value of 1.


But when I try to use a wall refined mesh





Velocity drops to 0.8 and remains there giving bad results for my simulation since I have to adjust a sink term for temperature according to mass flow (~velocity).

Does anybody has an idea what could cause this strange behaviour?

You can download my example calculation here:

https://owncloud.tu-berlin.de/public...f8946fcc142237


Every help is appreciated!
hcl734 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use fvOptions to couple a solid region and a fluid region? titanchao OpenFOAM Running, Solving & CFD 0 July 24, 2014 13:36
Problems in my first attempt with chtMultiRegionSimpleFoam zfaraday OpenFOAM Running, Solving & CFD 1 April 8, 2014 18:20
Several problems with the mesh conversion utility when converting the meshes from Gridgen su_junwei OpenFOAM Meshing & Mesh Conversion 2 July 26, 2008 23:58
Some problems with Star CD Micha CD-adapco 0 August 6, 2003 13:55
Restarting for problems with moving meshes Maya CD-adapco 2 October 4, 2002 03:51


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