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

September 4, 2013, 04:37
#1
Senior Member

Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 750
Rep Power: 9
Hi All,

In VOF, we have this equation:

Well,Shouldn't it be

?
Attached Images
 1.jpg (20.3 KB, 13 views)

Last edited by sharonyue; September 4, 2013 at 09:21.

 September 8, 2013, 21:22 #2 Senior Member   Dongyue Li Join Date: Jun 2012 Location: Torino, Italy Posts: 750 Rep Power: 9 hello? no one is here

 September 11, 2013, 10:09 #3 New Member   Marcel Vonlanthen Join Date: Nov 2012 Location: Zurich, Switzerland Posts: 28 Rep Power: 6 And in the source code, how it looks? Do you have a piece of code?

September 11, 2013, 19:58
#4
Senior Member

Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 750
Rep Power: 9
Quote:
 Originally Posted by Sylv And in the source code, how it looks? Do you have a piece of code?
In interFoam's UEqn's code:

Code:
fvVectorMatrix UEqn
(
fvm::ddt(rho, U)
+ fvm::div(rhoPhi, U)
+ turbulence->divDevRhoReff(rho, U)
);

UEqn.relax();

if (pimple.momentumPredictor())
{
solve
(
UEqn
==
fvc::reconstruct
(
(
) * mesh.magSf()
)
);
}
Its:

but why?

 September 16, 2013, 04:32 #5 New Member   Marcel Vonlanthen Join Date: Nov 2012 Location: Zurich, Switzerland Posts: 28 Rep Power: 6 mmmh, I'm not familiar with interFoam, so I don't know the hypothesis involved in the design of this solver, and by extend, in the selection of the equations. Regarding your first post, I agree with you, the following equation seems the right one: . BUT, as I said, it might have a dozen of hypothesis which explain the selection of the first equation. What about validation and/or papers on interFoam? If the equations were really wrong, somebody should have noticed it. Look at this page, it might help you: http://openfoamwiki.net/index.php/InterFoam

 September 16, 2013, 04:39 #6 Senior Member   Bernhard Join Date: Sep 2009 Location: Delft Posts: 790 Rep Power: 14 There is no difference between the two, nor any underlying assumption, because , only assuming that g is a constant. sharonyue likes this.

September 16, 2013, 04:43
#7
Senior Member

Dongyue Li
Join Date: Jun 2012
Location: Torino, Italy
Posts: 750
Rep Power: 9
Quote:
 Originally Posted by Sylv mmmh, I'm not familiar with interFoam, so I don't know the hypothesis involved in the design of this solver, and by extend, in the selection of the equations. Regarding your first post, I agree with you, the following equation seems the right one: . BUT, as I said, it might have a dozen of hypothesis which explain the selection of the first equation. What about validation and/or papers on interFoam? If the equations were really wrong, somebody should have noticed it. Look at this page, it might help you: http://openfoamwiki.net/index.php/InterFoam
Thank you man, I think Bernhard is rite, its only math...
Thank you both.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Mohsin FLUENT 36 April 29, 2016 17:16 Honglin Fluent UDF and Scheme Programming 0 May 24, 2012 06:47 Don456 Main CFD Forum 1 January 19, 2012 16:00 Giuki FLUENT 1 July 19, 2011 11:35 Josyula FLUENT 2 December 23, 2009 08:26

All times are GMT -4. The time now is 18:17.