|
[Sponsors] |
Please check ctor implementation of laplaceFilter |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 26, 2008, 09:50 |
Dear Developers
Please chec
|
#1 |
Senior Member
Join Date: Mar 2009
Posts: 248
Rep Power: 18 |
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 |
|
November 26, 2008, 11:06 |
This would not be a source of
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
This would not be a source of error but it is inconsistent and I will fix it for the next release.
H |
|
|
|
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 |