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

Laplacian error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2009, 09:29
Post Laplacian error
  #1
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 17
mmahdinia is on a distinguished road
Hi,

I want to calculate d2U_i/(dx_j.dx_j) (j=1,2,3, i.e. summation convention). When I use:

volTensorField lapU=fvc::laplacian(U);

The code gives me an error. Does Anyone has an idea about its implementation?

Thanks in advance
Mani
mmahdinia is offline   Reply With Quote

Old   December 17, 2009, 09:31
Default
  #2
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 17
mmahdinia is on a distinguished road
Sorrr I meant this:

volVectorField lapU=fvc::laplacian(U);
mmahdinia is offline   Reply With Quote

Old   December 18, 2009, 03:14
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Mani,

What is the error message you got? Do you use the right field type and/or should you use fvm instead of fvc?
__________________
Regards, Gijs
gwierink 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


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