|
[Sponsors] | |||||
Please check ctor implementation of laplaceFilter |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Join Date: Mar 2009
Posts: 248
Rep Power: 19 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 23 ![]() |
This would not be a source of error but it is inconsistent and I will fix it for the next release.
H |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| K-w implementation | ganesh | Main CFD Forum | 0 | April 22, 2006 05:45 |
| K-w implementation | ganesh | Main CFD Forum | 0 | April 22, 2006 05:45 |
| ALE implementation? | Hao | Main CFD Forum | 9 | May 2, 2005 12:53 |
| Cell check and Boundary check errors | AB | Siemens | 4 | October 28, 2004 14:04 |
| RSM implementation | Biga | Main CFD Forum | 5 | September 29, 2004 20:28 |