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

Solve U==grad(p) ???? Beginner help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2011, 10:27
Default Solve U==grad(p) ???? Beginner help
  #1
New Member
 
Werner
Join Date: Dec 2009
Location: Austria
Posts: 13
Rep Power: 16
nep101 is on a distinguished road
Hi,
i don't get it.

I need for a prediction to solve the equation: U-R=grad(p)
U and R are vectorfields and p is a scalarfield.

i try :

volVectorField UEqn("UEqn", U=fvc::grad(p));

and

tmp<fvVectorMatrix> UEqn
(
fvm::U == fvc::grad(p)
);

What do i wrong, its so a simple equation i cant solve it.....
nep101 is offline   Reply With Quote

Old   August 24, 2011, 08:45
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
What is the error you get?
stevenvanharen 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
How to solve this kind of continuity equation? shddx1 OpenFOAM Programming & Development 0 July 7, 2011 16:31
Solve Flow or VOF simultaneously ? Ramsey FLUENT 1 February 16, 2011 14:16
Linearized NS euqations: how to solve them?(problem with Matrix operations..) matteoL OpenFOAM Running, Solving & CFD 0 November 18, 2009 07:58
Solve for two or more "Temperatures" Rui CFX 12 September 9, 2008 22:58
How to solve another continuum and momentum eqn? west_wing FLUENT 0 August 25, 2003 11:00


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