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

Please check ctor implementation of laplaceFilter

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2008, 09:50
Default Dear Developers Please chec
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
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, 11:06
Default This would not be a source of
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 Siemens 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 14:59.