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

Equation syntax

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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


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
Syntax Error Virag CFX 4 February 3, 2019 07:59
Syntax Error Mechstud CFX 3 June 29, 2007 07:22
Syntax r2d2 OpenFOAM 1 December 13, 2005 13:19
Syntax What does mean evgenii OpenFOAM Pre-Processing 2 November 23, 2005 08:42
UDF syntax error Duc FLUENT 2 June 11, 2002 09:27


All times are GMT -4. The time now is 08:55.