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

decomposePar change the result?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2011, 05:06
Default decomposePar change the result?
  #1
New Member
 
Mikael Fuglsang
Join Date: Nov 2010
Posts: 2
Rep Power: 0
MrFuglsang is on a distinguished road
Hi

I'm thying to solve the turbulent flow for a open channel using the LESModel oneEqEddy. I created a rectangular box with wallFunctions at the three fixed walls, rigid lid at the open surface and cyclic conditions at the ends, to simulate a infinitely long channel.
The flow is driven by a pressure gradient anded in pimpleFoam UEqn.C

tmp<fvVectorMatrix> UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
+ GradPz
+ turbulence->divDevReff(U)
);

dimensionedVector GradPz
(
"GradPz", p.dimensions()/dimLength,vector(0.0,0.0,0.0)
);

scalar SlopeGradPz
(
readScalar(transportProperties.lookup("SlopeGradPz "))
);

The strange thing is that the result changes when I change the the number of processors in the decomposeDict, and that the result of a 100 long channel calculated by 4 processors, gives the same average flow as a 25 long of one processor. The strange thing is that a 100 long channel on 5 processors is the same as a 20 long, but not the same 100 long of 4 processors. The SlopeGradPz is the same for all four cases.

My ddtSheme type is steadyState and the end time in both cases are 350 with deltaT of 0.1.

How can I make sure that the result is not influenced by the decomposition of the problem?
MrFuglsang is offline   Reply With Quote

Old   May 30, 2011, 05:58
Default Solved
  #2
New Member
 
Mikael Fuglsang
Join Date: Nov 2010
Posts: 2
Rep Power: 0
MrFuglsang is on a distinguished road
The endTime was not enough... the stability was fin each processor and the average the result just created a picture of 4 x 25 meter or 5 x 20 meter, but extending the time to 1000, the two 100 meter channels turned out the same result.
MrFuglsang 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
Sudden pressure change in overset Ben Main CFD Forum 6 July 21, 2007 19:46
how to change the material properties Marco CFX 7 September 22, 2005 18:53
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
help needed about phase change Yanhu Guo Main CFD Forum 4 January 23, 2001 23:16
Result is not correct Li FLUENT 1 December 30, 2000 00:21


All times are GMT -4. The time now is 02:21.