|October 11, 2012, 03:34||
simpleFoam Dictionary problem
Join Date: Sep 2012
Posts: 95Rep Power: 4
Good morning to everyone! I'm studying adjointShapeOptimizationFoam solver, but now I have some questions which are about the first part of the code, the one which involves, basically, the simpleFoam code. So my questions are:
1) The equation which is solved by the momentum predictor involves the flux phi, which is the product within the interpolation of the velocity on the cell faces and the Sf function. This quantity, as an approximation, is taken as an explicit term, i.e. it derives from the previous iteration or from the BC right?
2) How the algorithm can match the fact that phi is calculated over the cell faces, while U is calculated at the cell center? I can't understand how openFoam can match this, since, I think (and this must be my error), we have the multiplication between one value of velocity and more values of the flux. Is phi perhaps evaluated at the cell center in some ways?
3) Why it is used the p.boundaryField().updateCoeffs() function? In which way boundary conditions, which are prescribed, need to be "updated"? It affects only patches in which only some kinds of BCs (NOT fixedValue or zeroGradient) are applied?
4) The same question is about the function U.correctBoundaryConditions() applied at the end, in the momentum corrector "section". Also in this case the BCs of ONLY some patches are "corrected"? And in which way)? (I guess that a (0,0,0) fixedValue BC over a wall patch will remain always the same, right? )
That's all folks
Thanks for your answer in advance
Last edited by batta31; October 11, 2012 at 06:08.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Laminar simpleFoam and inviscid simpleFoam||herenger||OpenFOAM Running, Solving & CFD||7||July 11, 2013 06:27|
|MPI Error - simpleFoam - Floating Point Exception||scott||OpenFOAM Running, Solving & CFD||3||April 13, 2012 16:34|
|Trying to run a benchmark case with simpleFoam||spsb||OpenFOAM||3||February 24, 2012 10:07|
|Naca0012 k-e mpirun gives fpe whereas simpleFoam not||Pierpaolo||OpenFOAM||1||May 8, 2010 03:08|
|Error running simpleFoam in parallel||skabilan||OpenFOAM Running, Solving & CFD||2||August 29, 2008 09:42|