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

Equation syntax

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2006, 13:03
Default Hi all, is the following synt
  #1
New Member
 
Miriam
Join Date: Mar 2009
Posts: 15
Rep Power: 8
shrina is on a distinguished road
Hi all,
is the following syntax correct?

fvMatrix pEqn
(
G1*fvm::div(phi,p)
- G2*fvm::laplacian(p)
- fvm::Sp(F(p))
);

solve(pEqn);

where p is a field that has to be calculated
G1 is a funcion of x,y,z (mesh coordinates)
G2 is a geometricField already calculated
F(p) is a function of the field that has to be calculated


Besides
if U is a volVectorField which is Known
and c is a volScalarField that has to be determined

can I write

fvm::div(U,c)?

Thanks in advance
Bye

Miriam
shrina 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
Syntax Error Virag CFX 2 March 15, 2011 12:53
Syntax Error Mechstud CFX 3 June 29, 2007 07:22
Syntax r2d2 OpenFOAM 1 December 13, 2005 14:19
Syntax What does mean evgenii OpenFOAM Pre-Processing 2 November 23, 2005 09:42
UDF syntax error Duc FLUENT 2 June 11, 2002 09:27


All times are GMT -4. The time now is 16:41.