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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 23, 2011, 09:27
Default Solve U==grad(p) ???? Beginner help
  #1
New Member
 
Werner
Join Date: Dec 2009
Location: Austria
Posts: 13
Rep Power: 7
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, 07:45
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 6
stevenvanharen is on a distinguished road
What is the error you get?
stevenvanharen 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
How to solve this kind of continuity equation? shddx1 OpenFOAM Programming & Development 0 July 7, 2011 15: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 21:58
How to solve another continuum and momentum eqn? west_wing FLUENT 0 August 25, 2003 10:00


All times are GMT -4. The time now is 15:25.