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

GradP in channeloodles

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 11, 2007, 04:28
Default Hi, I have some questions a
  #1
New Member
 
Nikolaos Spyrou
Join Date: Mar 2009
Posts: 22
Rep Power: 7
nikos_fb16 is on a distinguished road
Hi,

I have some questions about adding a source to the momentum eqn:

1. Is there a difference between the two following formulations a) and b)?

a) fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)
);

solve(UEqn == -fvc::grad(p))

b) fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
- fvm::laplacian(nu, U)==-fvc::grad(p)
);

UEqn.solve();

2: ChannelOodles:

fvVectorMatrix UEqn
(
fvm::ddt(U)
+ fvm::div(phi, U)
+ sgsModel->divB(U)
==
flowDirection*gradP
);

The RHS is treated explicitly, can somebody tell me where in the code I see that the RHS-term is multiplied with the cell-Volume?


Sorry for that basic questions, but I havent found answers in other threads yet.

Thanks in advance
nikos_fb16 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
ChannelOodles maka OpenFOAM Bugs 12 February 5, 2009 18:17
ChannelOodles with gmsh lofty Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 April 16, 2008 16:44
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 0 September 10, 2007 09:46
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 1 September 4, 2007 10:52
ChannelOodles in parallel maka OpenFOAM Bugs 3 August 21, 2007 17:30


All times are GMT -4. The time now is 23:57.