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

simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2012, 04:34
Exclamation simpleFoam Dictionary problem
  #1
Member
 
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 14
batta31 is on a distinguished road
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

Simone

Last edited by batta31; October 11, 2012 at 07:08.
batta31 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
Laminar simpleFoam and inviscid simpleFoam herenger OpenFOAM Running, Solving & CFD 7 July 11, 2013 07:27
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 17: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 04:08
Error running simpleFoam in parallel skabilan OpenFOAM Running, Solving & CFD 2 August 29, 2008 10:42


All times are GMT -4. The time now is 00:03.