|
[Sponsors] |
September 4, 2013, 04:37 |
gradient of pressure
|
#1 |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
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: Beijing, China
Posts: 838
Rep Power: 17 |
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: 13 |
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: Beijing, China
Posts: 838
Rep Power: 17 |
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 ( ( fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1) - ghf*fvc::snGrad(rho) - fvc::snGrad(p_rgh) ) * mesh.magSf() ) ); } but why? |
|
September 16, 2013, 04:32 |
|
#5 |
New Member
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 13 |
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: 21 |
||
September 16, 2013, 04:43 |
|
#7 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 838
Rep Power: 17 |
Quote:
Thank you both. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure Outlet Guage pressure | Mohsin | FLUENT | 36 | April 29, 2016 17:16 |
how to get pressure and pressure gradient using UDF | Honglin | Fluent UDF and Scheme Programming | 0 | May 24, 2012 06:47 |
lid-driven cavity in matlab using BiCGStab | Don456 | Main CFD Forum | 1 | January 19, 2012 15:00 |
Pressure BC for combustion chamber | Giuki | FLUENT | 1 | July 19, 2011 11:35 |
Inputting pressure gradient in Fluent | Josyula | FLUENT | 2 | December 23, 2009 07:26 |