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

icofoam doubt

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2012, 18:32
Default icofoam doubt
  #1
New Member
 
Mandeep
Join Date: Aug 2012
Location: Canada
Posts: 8
Rep Power: 4
Rocky4 is on a distinguished road
Hello all,
I am new to openfoam and was just trying to understand icofoam code.
in the follwing portion of the code
set up the pressure equation
fvScalarMatrix pEqn
(
fvm::laplacian(rUA, p) == fvc::div(phi)
);
for setting pr eqn divergence of phi is used. if phi is scalar field(inner product of face velocity and surface area normal) then how can its divergence be defined ?
thanks in advance.
Rocky4 is offline   Reply With Quote

Old   September 26, 2012, 09:00
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 530
Rep Power: 18
chegdan will become famous soon enough
Quote:
Originally Posted by Rocky4 View Post
if phi is scalar field(inner product of face velocity and surface area normal) then how can its divergence be defined ?
thanks in advance.
phi is actually a surfaceScalarField, which is a scalar (as you have noted) defined at each face of the particular cell. The divergence of this is then the summation of this surfaceScalar over the owner and neighbor faces. If you want to learn more about this, have a look at Dr. Jasak's Thesis here .
__________________
Dan

Developer, Trainer, and Support Engineer at www.engys.com
Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   October 5, 2012, 22:22
Default
  #3
New Member
 
Mandeep
Join Date: Aug 2012
Location: Canada
Posts: 8
Rep Power: 4
Rocky4 is on a distinguished road
Thanks for ur kind response.
Rocky4 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
icoFoam VS pisoFoam-Laminar M3hdi OpenFOAM Running, Solving & CFD 16 May 17, 2013 12:34
Density in icoFoam Densidad en icoFoam manuel OpenFOAM Running, Solving & CFD 8 September 22, 2010 04:10
IcoFoam Not Installed and blockMesh command not found cesarbz OpenFOAM Installation 6 July 4, 2008 04:44
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 06:32.