CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Please check ctor implementation of laplaceFilter

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 26, 2008, 10:50
Default Dear Developers Please chec
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 9
jaswi is on a distinguished road
Dear Developers

Please check the constructor implementation of the laplaceFilter in src/turbulenceModels/LES/LESfilters/laplaceFilter/laplaceFilter.C

The ctor implementation reads:
<pre>
Foam::laplaceFilter::laplaceFilter(const fvMesh& mesh, scalar widthCoeff)
:
LESfilter(mesh),
widthCoeff_(widthCoeff),
coeff_
(
IOobject
(
"anisotropicFilterCoeff",
mesh.time().timeName(),
mesh
),
mesh,
dimensionedScalar("zero", dimLength*dimLength, 0),
calculatedFvPatchScalarField::typeName
)
{
coeff_.internalField() = pow(mesh.V(), 2.0/3.0)/widthCoeff_;
</pre>
}
I am not sure whether that can cause error but just to be consistent with the syntax the initialization of coeffs_ in following way

<pre>
coeff_
(
IOobject
(
"laplaceFilterCoeff",
mesh.time().timeName(),
mesh
),
</pre>

might be correct.

Please ignore this post if this will not be source of error

With Best Regards
Jaswi
jaswi is offline   Reply With Quote

Old   November 26, 2008, 12:06
Default This would not be a source of
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
This would not be a source of error but it is inconsistent and I will fix it for the next release.

H
henry 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
K-w implementation ganesh Main CFD Forum 0 April 22, 2006 04:45
K-w implementation ganesh Main CFD Forum 0 April 22, 2006 04:45
ALE implementation? Hao Main CFD Forum 9 May 2, 2005 11:53
Cell check and Boundary check errors AB CD-adapco 4 October 28, 2004 13:04
RSM implementation Biga Main CFD Forum 5 September 29, 2004 19:28


All times are GMT -4. The time now is 09:22.