CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Laplacian error (https://www.cfd-online.com/Forums/openfoam-solving/71161-laplacian-error.html)

mmahdinia December 17, 2009 09:29

Laplacian error
 
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 December 17, 2009 09:31

Sorrr I meant this:

volVectorField lapU=fvc::laplacian(U);

gwierink December 18, 2009 03:14

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?


All times are GMT -4. The time now is 23:37.