|August 27, 2012, 10:34||
Join Date: Jul 2012
Posts: 13Rep Power: 6
I'm trying to solve the equation ∇⋅n∇V- ∇⋅n∇E_0=0 where n is a density V is the electric Potential and E_0 = (v x B)⋅x. Both E_0 and V are defined as volScalarFields but when I try to input it as laplacian(n, V - E_0) is gives me
error: no matching function for call to 'laplacian(Foam::volScalarField&, Foam::tmp<Foam::GeometricField<double Foam::fvPatchField, Foam::volMesh> >)'
|August 28, 2012, 01:45||
Join Date: May 2009
Posts: 1,199Rep Power: 21
The code is complaining about you passing a tmp<> object. This results from 'V-E0'. You need to precompute V-E and then solve.
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
|Thread||Thread Starter||Forum||Replies||Last Post|
|How to calculate laplacian of a scalar in cfx?||Jun||CFX||16||October 24, 2013 17:21|
|Modifying the laplacian operator||mlawson||OpenFOAM Running, Solving & CFD||11||September 7, 2011 12:30|
|Laplacian and 1D flow||AlmostSurelyRob||OpenFOAM||0||March 2, 2011 10:04|
|why laplacian() failed||OFCrash||OpenFOAM Running, Solving & CFD||1||February 1, 2010 08:32|
|Dimensions of laplacian in PISO loop||kumar2||OpenFOAM Running, Solving & CFD||2||July 3, 2006 14:34|