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

Enclose equation in simplefoamget another result

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2009, 06:08
Default Hi OpenFoam experts, is it
  #1
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 17
booz is on a distinguished road
Hi OpenFoam experts,

is it a difference for openFoam or get another results, if for example I write in simpleFoam-case solver
...
tmp<fvvectormatrix> UEqn
(
fvm::div(phi, U)
+ turbulence->divR(U)
+ fvc::grad(p)
);

UEqn().relax();
solve(UEqn() == 0);// change
...

instead of
...
tmp<fvvectormatrix> UEqn
(
fvm::div(phi, U)
+ turbulence->divR(U)
);

UEqn().relax();

solve(UEqn() == -fvc::grad(p));
...

I suppose i get another result, if i view the flows in paraFoam.

Regards,
Khaled
booz is offline   Reply With Quote

Old   March 9, 2009, 06:15
Default Actually what you have done he
  #2
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
grtabor is on a distinguished road
Actually what you have done here is to change the SIMPLE algorithm very fundamentally. SIMPLE (and PISO) split the discretisation of the momentum equation into pressure and everything else; what you have done is to lump them all in together.

Gavin
grtabor is offline   Reply With Quote

Old   March 9, 2009, 06:26
Default Hi Gavin, that is it is a d
  #3
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 17
booz is on a distinguished road
Hi Gavin,

that is it is a disadvantage with regards to the convergence?

Regards,
Khaled
booz 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
coupling KE equation with navier stokes equation prashant FLUENT 0 March 7, 2008 08:05
Poisson equation combined with transport equation Se-Hee CFX 0 December 27, 2007 02:00
Has anyone tried a delta form of pressure equation pressurecorrection equation with OpenFOAM sek OpenFOAM Running, Solving & CFD 2 July 24, 2007 08:53
Cannot get the right result Eric Main CFD Forum 1 September 30, 2005 15:08
Poisson equation vs continuity equation DJ Main CFD Forum 1 August 5, 2004 21:01


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