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

A fundamental problem about the UcorrectBoundaryConditions in icoFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2007, 23:16
Default Hi, all: I am now digging t
  #1
Member
 
roy fokker
Join Date: Mar 2009
Posts: 44
Rep Power: 17
dbxmcf is on a distinguished road
Hi, all:

I am now digging throughly into the icoFoam.C solver with gdb and also have read Henrik Rusche and Hrvoje Jasak's thesis and also with the highly annotated version of the code from OpenFOAM wiki, I am now quite confused at the line

//add pressure gradient to interior velocity and BC's

U-=rUA*fvc::grad(p); //This line is ok
U.correctBoundaryConditions;

I am confused at this line, what does this U.correctBoundaryConditions; intend to do? Using gdb and "step" I can go into the correctBoundaryConditions() function in GeometryField.C, and there is line boundaryField_.evaluate(); further "step" will lead to GeometryBoundaryField.C, however the evaluate() function made me even more confused. Is there any background information or reference that I can see?

Thanks a lot!!
dbxmcf 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
Two fundamental questions about icoFoam while updating the velocities and pressure dbxmcf OpenFOAM Running, Solving & CFD 6 April 12, 2016 17:05
Fundamental problem with Gamma scheme dominik_christ OpenFOAM Running, Solving & CFD 3 August 29, 2008 09:24
Problem with icoFoam nadine OpenFOAM Running, Solving & CFD 1 August 28, 2008 05:49
Fundamental Problem Naghman Khan FLUENT 8 August 1, 2007 12:01
A fundamental problem about Pressure equation of the potentialFoam solver dbxmcf OpenFOAM Running, Solving & CFD 0 October 6, 2006 12:32


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