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

Laplacian error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 17, 2009, 10:29
Post Laplacian error
  #1
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 8
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, 10:31
Default
  #2
Member
 
Join Date: Mar 2009
Posts: 46
Rep Power: 8
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, 04:14
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
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

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
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 18: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 07:31


All times are GMT -4. The time now is 06:20.